Interface PlayerPreLoginProcessor
public interface PlayerPreLoginProcessor
Runs the checks that decide whether a connecting player is let in, namely the whitelist, bans and maintenance.
-
Method Summary
Modifier and TypeMethodDescriptionvoidprocessLogin(UUID uuid, String name, Consumer<PlayerPreLoginEvent> kickConsumer) Checks a connecting player and reports the outcome.
-
Method Details
-
processLogin
Checks a connecting player and reports the outcome.- Parameters:
uuid- the account idname- the player namekickConsumer- receives the event, and is only called when the player should be refused
-