ADMIN

Administrative functions (kick, ban).

Availability: Server-only

Methods


ADMIN.ban

server

Ban a player from the game (server-side only)

Signature: action(num)

Parameters:

NameTypeDescription
playerIDnumThe player ID to ban
GAME.ADMIN.ban(0);

ADMIN.kick

server

Kick a player from the game (server-side only)

Signature: action(num)

Parameters:

NameTypeDescription
playerIDnumThe player ID to kick
GAME.ADMIN.kick(0);