Class AbstractConnectionListener

java.lang.Object
me.lucko.luckperms.common.plugin.util.AbstractConnectionListener

public abstract class AbstractConnectionListener extends Object
Abstract listener utility for handling new player connections
  • Constructor Details

    • AbstractConnectionListener

      protected AbstractConnectionListener(LuckPermsPlugin plugin)
  • Method Details

    • getUniqueConnections

      public Set<UUID> getUniqueConnections()
      Gets the unique players which have connected to the server since it started.
      Returns:
      the unique connections
    • recordConnection

      protected void recordConnection(UUID uniqueId)
    • loadUser

      public User loadUser(UUID uniqueId, String username)
    • handleDisconnect

      public void handleDisconnect(UUID uniqueId)