Skip to main content

KickPlayer

Kicks a player from the server with a reason.

C#​

void NAPI.Player.KickPlayer(Player player, string reason);

Parameters​

  • player: Parameter input should be in Player type.
  • reason: Parameter input should be in string type.

Example​

NAPI.Player.KickPlayer(player, "Get out of my beast server!!!");