Class UserInfo


  • public class UserInfo
    extends java.lang.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 Detail

      • UserInfo

        public UserInfo​(java.util.UUID playerUUID,
                        ServerUUID serverUUID,
                        long registered,
                        boolean opped,
                        java.lang.String hostname,
                        boolean banned)
    • Method Detail

      • getPlayerUuid

        public java.util.UUID getPlayerUuid()
      • getServerUUID

        public ServerUUID getServerUUID()
      • getHostname

        public java.lang.String getHostname()
      • getRegistered

        public long getRegistered()
      • isBanned

        public boolean isBanned()
      • isOperator

        public boolean isOperator()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object