summaryrefslogtreecommitdiffstats
path: root/Core/save-reload-stop.lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Core/save-reload-stop.lua19
1 files changed, 0 insertions, 19 deletions
diff --git a/Core/save-reload-stop.lua b/Core/save-reload-stop.lua
deleted file mode 100644
index 57744b088..000000000
--- a/Core/save-reload-stop.lua
+++ /dev/null
@@ -1,19 +0,0 @@
-function HandleSaveAllCommand( Split, Player )
- cRoot:Get():SaveAllChunks();
- Player:SendMessage(cChatColor.Green .. "All the worlds are saved")
- return true;
-end
-
-function HandleStopCommand( Split, Player )
- Server = cRoot:Get():GetServer()
- Server:SendMessage( cChatColor.Green .. "Stopping the server..." )
- cRoot:Get():QueueExecuteConsoleCommand("stop")
- return true
-end
-
-function HandleReloadCommand( Split, Player )
- Server = cRoot:Get():GetServer()
- Server:SendMessage( cChatColor.Green .. "Reloading all plugins." )
- cRoot:Get():GetPluginManager():ReloadPlugins()
- return true
-end \ No newline at end of file