nanos world API Reference Unofficial documentation
Static function Server Moderate

Server.KickByAccountID

Kicks the player from the server by its Account ID, ideal for kicking from inside PlayerConnect event

Syntax

Lua
Server.KickByAccountID(player_account_id, reason)

Parameters

Name Type Default Description
player_account_id string
reason string