disallow

public void disallow(AsyncPlayerPreLoginEvent.Result result, String message)

Disallows the player from logging in, with the given reason

Parameters

result

New result for disallowing the player

message

Kick message to display to the user