public class ConfigManager
extends net.risingworld.api.Plugin
Modifier and Type | Class and Description |
---|---|
class |
ConfigManager.ConfigCreator |
Constructor and Description |
---|
ConfigManager() |
Modifier and Type | Method and Description |
---|---|
ConfigManager.ConfigCreator |
newConfig(java.lang.String path)
Create a new ConfigManager (Default) (Output: Settings.properties)
|
ConfigManager.ConfigCreator |
newConfig(java.lang.String path,
java.lang.String name)
Create new ConfigManager with own name (Example: Config.properties)
|
ConfigManager.ConfigCreator |
newConfig(java.lang.String path,
java.lang.String name,
java.lang.String extention)
Create new ConfigManager with own name and extention (Example:
Config.config)
|
void |
onDisable() |
void |
onEnable() |
enqueue, executeDelayed, getAllPlugins, getDescription, getGameVersion, getID, getInternals, getMySQLConnection, getName, getPath, getPluginByID, getPluginByName, getServer, getSQLiteConnection, getWorld, getWorldDatabase, onLoad, registerEventListener, sendHttpRequest, sendHttpRequest, triggerEvent, unregisterEventListener
public void onEnable()
onEnable
in class net.risingworld.api.Plugin
public void onDisable()
onDisable
in class net.risingworld.api.Plugin
public ConfigManager.ConfigCreator newConfig(java.lang.String path) throws java.io.IOException
path
- The path of the pluginjava.io.IOException
- See Javadoc from Javapublic ConfigManager.ConfigCreator newConfig(java.lang.String path, java.lang.String name) throws java.io.IOException
path
- The path of the plugin.name
- The name of the propertie file.java.io.IOException
public ConfigManager.ConfigCreator newConfig(java.lang.String path, java.lang.String name, java.lang.String extention) throws java.io.IOException
path
- The path of the plugin.name
- The name of the properties file.extention
- The extention of the properties file.java.io.IOException