Class UserInfo

java.lang.Object
com.djrapitops.plan.gathering.domain.UserInfo

public class UserInfo extends Object
Represents user information stored in plan_user_info.

Unlike BaseUser one instance is stored per server for a single player. Proxy servers are an exception, and UserInfo is not stored for them.

  • Constructor Details

    • UserInfo

      public UserInfo(UUID playerUUID, ServerUUID serverUUID, long registered, boolean opped, String joinAddress, boolean banned)
  • Method Details

    • getPlayerUuid

      public UUID getPlayerUuid()
    • getServerUUID

      public ServerUUID getServerUUID()
    • getJoinAddress

      @Deprecated(since="5.4 build 1722") public String getJoinAddress()
      Deprecated.
      Join address is now stored in FinishedSession.getExtraData(), this method may become unreliable in the future.
    • getRegistered

      public long getRegistered()
    • isBanned

      public boolean isBanned()
    • isOperator

      public boolean isOperator()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object