mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-29 20:16:38 +09:00
Dependenices
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
|
||||
@usage
|
||||
-- import the module from the control modules
|
||||
local Jail = require 'modules.control.jail'
|
||||
local Jail = require 'modules.control.jail' --- @dep modules.control.jail
|
||||
|
||||
-- This will move 'MrBiter' to the jail role and remove all other roles from them
|
||||
-- the player name and reason are only so they can be included in the event for user feedback
|
||||
@@ -20,18 +20,10 @@
|
||||
Jail.temp_ban_player('MrBiter','Cooldude2606','Likes biters too much')
|
||||
]]
|
||||
|
||||
--- Allows moving players into the jail role
|
||||
-- @dep expcore.roles
|
||||
local Roles = require 'expcore.roles'
|
||||
--- Allows accessing a player from any value
|
||||
-- @dep utils.game
|
||||
local Game = require 'utils.game'
|
||||
--- Allows storing data in the global table
|
||||
-- @dep utils.global
|
||||
local Global = require 'utils.global'
|
||||
--- Use of move_items to clear inventroies
|
||||
-- @dep expcore.common
|
||||
local move_items = ext_require('expcore.common','move_items')
|
||||
local Roles = require 'expcore.roles' --- @dep expcore.roles
|
||||
local Game = require 'utils.game' --- @dep utils.game
|
||||
local Global = require 'utils.global' --- @dep utils.global
|
||||
local move_items = ext_require('expcore.common','move_items') --- @dep expcore.common
|
||||
|
||||
local valid_player = Game.get_player_from_any
|
||||
local assign_roles = Roles.assign_player
|
||||
|
||||
Reference in New Issue
Block a user