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.

string nameOrIP

Name of the Player or IP of the Player.

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.

Generated on 11/04/2018
©2016 - Eluna Lua Engine