Class ServerInfo

java.lang.Object
com.djrapitops.plan.identification.ServerInfo
All Implemented Interfaces:
SubSystem
Direct Known Subclasses:
BungeeServerInfo, ServerServerInfo, VelocityServerInfo

public abstract class ServerInfo extends Object implements SubSystem
SubSystem for managing Server information.

Most information is accessible via static methods.

  • Field Details

  • Constructor Details

  • Method Details

    • getServer

      public Server getServer()
    • getServerUUID

      public ServerUUID getServerUUID()
    • getServerIdentifier

      public ServerIdentifier getServerIdentifier()
    • getServerUUIDSafe

      public Optional<ServerUUID> getServerUUIDSafe()
    • getServerProperties

      public ServerProperties getServerProperties()
    • enable

      public void enable()
      Description copied from interface: SubSystem
      Performs enable actions for the subsystem.
      Specified by:
      enable in interface SubSystem
    • loadServerInfo

      protected abstract void loadServerInfo()
    • disable

      public void disable()
      Description copied from interface: SubSystem
      Performs disable actions for the subsystem
      Specified by:
      disable in interface SubSystem
    • generateNewUUID

      protected ServerUUID generateNewUUID()