Jail commands

Commands Module - Jail - Adds a commands that allow admins to jail, unjail, and temp ban players

Dependencies

expcore.commands
modules.control.jail
expcore.common

Commands

jail Puts a player into jail and removes all other roles.
unjail Removes a player from jail.
temp-ban Temp bans a player until the next reset; this requires a reason; this will clear the players inventory.
clear-temp-ban Removes temp ban from a player; this will not restore their items.

Dependencies

# expcore.commands
# modules.control.jail
# expcore.common

Commands

# jail

Puts a player into jail and removes all other roles.

Command Parameters:
  • player : (LuaPlayer) the player that will be jailed
  • reason : (string) the reason why the player is being jailed (optional)
# unjail

Removes a player from jail.

Command Parameters:
  • the : (LuaPlayer) player that will be unjailed
# temp-ban

Temp bans a player until the next reset; this requires a reason; this will clear the players inventory.

Command Parameters:
  • player : (LuaPlayer) the player that will be temp banned
  • reason : (string) the reason that the player is being temp banned
# clear-temp-ban

Removes temp ban from a player; this will not restore their items.

Command Parameters:
  • player : (LuaPlayer) the player to revoke the temp ban from