mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 18:09:41 -05:00
Added reloadConfig() plugin method
By: Nathan Adams <dinnerbone@dinnerbone.com>
This commit is contained in:
1 parent
71d1bb3e2d
commit
b94e100930
2 files changed
+17
-8
No files matched your search
@@ -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