public static class Utils.Config
extends java.lang.Object
| Constructor and Description |
|---|
Config() |
| Modifier and Type | Method and Description |
|---|---|
static int |
getInt(java.lang.String path,
FileConfiguration getConfig,
java.lang.String pluginName)
Get an Int from getConfig() (plugin config file) using path and storing pluginName for logging to the console
|
static java.lang.String |
getString(java.lang.String path,
FileConfiguration getConfig,
java.lang.String pluginName)
Get a String from getConfig() (plugin config file) using path and storing pluginName for logging to the console
|
public static java.lang.String getString(java.lang.String path,
FileConfiguration getConfig,
java.lang.String pluginName)
path - String path in config to valuegetConfig - getConfig() instancepluginName - Name of plugin for loggingpublic static int getInt(java.lang.String path,
FileConfiguration getConfig,
java.lang.String pluginName)
path - Int path in config to valuegetConfig - getConfig() instancepluginName - Name of plugin for logging