Added reloadConfig() plugin method
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
@@ -58,6 +58,11 @@ public interface Plugin extends CommandExecutor {
|
||||
* Saves the {@link FileConfiguration} retrievable by {@link #getConfig()}.
|
||||
*/
|
||||
public void saveConfig();
|
||||
|
||||
/**
|
||||
* Discards any data in {@link #getConfig()} and reloads from disk.
|
||||
*/
|
||||
public void reloadConfig();
|
||||
|
||||
/**
|
||||
* Gets the associated PluginLoader responsible for this plugin
|
||||
|
||||
Reference in New Issue
Block a user