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 Summary

      Constructors 
      Constructor Description
      UserInfo​(java.util.UUID playerUUID, java.util.UUID serverUUID, long registered, boolean opped, java.lang.String hostname, boolean banned)  
    • Constructor Detail

      • UserInfo

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

      • getPlayerUuid

        public java.util.UUID getPlayerUuid()
      • getServerUUID

        public java.util.UUID 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