diff options
Diffstat (limited to 'src/main/java/org')
-rw-r--r-- | src/main/java/org/bukkit/Server.java | 5 | ||||
-rw-r--r-- | src/main/java/org/bukkit/World.java | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java index 6b187af4..8e11635e 100644 --- a/src/main/java/org/bukkit/Server.java +++ b/src/main/java/org/bukkit/Server.java @@ -130,4 +130,9 @@ public interface Server { * @return PluginCommand if found, otherwise null */ public PluginCommand getPluginCommand(String name); + + /** + * Writes loaded players to disk + */ + public void savePlayers(); } diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java index 04810f3d..1e967b8c 100644 --- a/src/main/java/org/bukkit/World.java +++ b/src/main/java/org/bukkit/World.java @@ -405,4 +405,9 @@ public interface World { */ NETHER } + + /** + * Saves world to disk + */ + public void save(); } |