summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Core/saveall.lua
diff options
context:
space:
mode:
Diffstat (limited to 'MCServer/Plugins/Core/saveall.lua')
-rw-r--r--MCServer/Plugins/Core/saveall.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/MCServer/Plugins/Core/saveall.lua b/MCServer/Plugins/Core/saveall.lua
new file mode 100644
index 000000000..1dd12335b
--- /dev/null
+++ b/MCServer/Plugins/Core/saveall.lua
@@ -0,0 +1,5 @@
+function HandleSaveAllCommand( Split, Player )
+ cRoot:Get():SaveAllChunks();
+ Player:SendMessage(cChatColor.Green .. "All the worlds are saved")
+ return true;
+end \ No newline at end of file