Skip to main content

OnPlayerBanned

Usage​

  • Called when the player is banned (Facepunch, EAC, server ban, etc.)
  • No return behavior

Examples​

""
void OnPlayerBanned(string playerName, ulong playerId, string playerIp, string reason, long expiry)
{
Puts("OnPlayerBanned works!");
}
""
void OnPlayerBanned(Network.Connection connection, string reason)
{
Puts("OnPlayerBanned works!");
}