Class ServerProperties

java.lang.Object
dev.demeng.pluginbase.ServerProperties

public final class ServerProperties extends Object
Utility for getting information from server.properties.
  • Constructor Details

    • ServerProperties

      public ServerProperties()
  • Method Details

    • getProperty

      public static String getProperty(String key)
      Gets a property from server.properties.
      Parameters:
      key - The property key
      Returns:
      The property value, or null if failed to retrieve
    • clearCache

      public static void clearCache()
      Clears the properties cache.