diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-07-27 17:22:27 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-07-27 17:22:27 +0200 |
commit | 66e837ecbc08ece3150a364976db87f56813d30b (patch) | |
tree | 1593ac9b849f3416aafa70c440694200c62e6b2c /Core/save-reload-stop.lua | |
parent | Added the new core as a subtree. (diff) | |
download | cuberite-66e837ecbc08ece3150a364976db87f56813d30b.tar cuberite-66e837ecbc08ece3150a364976db87f56813d30b.tar.gz cuberite-66e837ecbc08ece3150a364976db87f56813d30b.tar.bz2 cuberite-66e837ecbc08ece3150a364976db87f56813d30b.tar.lz cuberite-66e837ecbc08ece3150a364976db87f56813d30b.tar.xz cuberite-66e837ecbc08ece3150a364976db87f56813d30b.tar.zst cuberite-66e837ecbc08ece3150a364976db87f56813d30b.zip |
Diffstat (limited to 'Core/save-reload-stop.lua')
-rw-r--r-- | Core/save-reload-stop.lua | 19 |
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 |