Skip to main content

CanClientLogin

Usage​

  • Called when the player is attempting to login
  • Returning a string will use the string as the error message
  • Returning true allows the connection, returning nothing will by default allow the connection, returning anything else will reject it with an error message

Examples​

""
bool? CanClientLogin(Network.Connection connection)
{
Puts("CanClientLogin works!");
return null;
}