Uses of Enum Class
net.glowstone.util.config.ServerConfig.Key
-
Uses of ServerConfig.Key in net.glowstone.util.config
Modifier and TypeMethodDescriptionstatic ServerConfig.Key
Returns the enum constant of this class with the specified name.static ServerConfig.Key[]
ServerConfig.Key.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionboolean
ServerConfig.getBoolean(ServerConfig.Key key)
org.bukkit.configuration.ConfigurationSection
ServerConfig.getConfigFile(ServerConfig.Key key)
Returns the file that contains a given setting.int
ServerConfig.getInt(ServerConfig.Key key)
ServerConfig.getMapList(ServerConfig.Key key)
Retrieves a section as a list of maps.ServerConfig.getString(ServerConfig.Key key)
void
ServerConfig.set(ServerConfig.Key key, Object value)
Change a configuration value at runtime.ModifierConstructorDescriptionServerConfig(File directory, File configFile, Map<ServerConfig.Key,Object> parameters)
Initialize a new ServerConfig and associated settings.