Interface PlayerPreLoginProcessor


public interface PlayerPreLoginProcessor
Runs the checks that decide whether a connecting player is let in, namely the whitelist, bans and maintenance.
  • Method Details

    • processLogin

      void processLogin(UUID uuid, String name, Consumer<PlayerPreLoginEvent> kickConsumer)
      Checks a connecting player and reports the outcome.
      Parameters:
      uuid - the account id
      name - the player name
      kickConsumer - receives the event, and is only called when the player should be refused