function ban (server-side)
Available since version: 0.0.4
Note
The reason string can't be longer than 255 characters.
This function will ban the player on the server.
Declaration
void ban(int id, int minutes = 0, string reason)
Parameters
intid: the player id.intminutes: the time how long ban will take in minutes. Passing0will cause the player to have permanent ban.stringreason: ="" the reason why player was banned.