Method Global:Ban [-] [+]
Ban's a Player's account, character or IP
enum BanMode
{
BAN_ACCOUNT,
BAN_CHARACTER,
BAN_IP
};
Synopsis
Ban( banMode, nameOrIP, duration, reason, whoBanned )
Arguments
BanMode banMode
Method of ban, refer to BanMode above.
number duration
Duration (in seconds) of the ban.
Valid numbers: integers from 0 to 4,294,967,295.
string reason
- See method description.
string whoBanned
- See method description.
Returns
Nothing.