From 98d574f05ea46763fc9e762b0719ab3ef2271230 Mon Sep 17 00:00:00 2001 From: madmaxoft Date: Fri, 16 Aug 2013 09:20:05 +0200 Subject: No more Core in the MCServer repo --- MCServer/Plugins/Core/web_manageserver.lua | 35 ------------------------------ 1 file changed, 35 deletions(-) delete mode 100644 MCServer/Plugins/Core/web_manageserver.lua (limited to 'MCServer/Plugins/Core/web_manageserver.lua') diff --git a/MCServer/Plugins/Core/web_manageserver.lua b/MCServer/Plugins/Core/web_manageserver.lua deleted file mode 100644 index a2936c1a8..000000000 --- a/MCServer/Plugins/Core/web_manageserver.lua +++ /dev/null @@ -1,35 +0,0 @@ -function HandleRequest_ManageServer( Request ) - local Content = "" - if (Request.PostParams["RestartServer"] ~= nil) then - cRoot:Get():QueueExecuteConsoleCommand("restart"); - elseif (Request.PostParams["ReloadServer"] ~= nil) then - cRoot:Get():GetPluginManager():ReloadPlugins(); - elseif (Request.PostParams["StopServer"] ~= nil) then - cRoot:Get():QueueExecuteConsoleCommand("stop"); - elseif (Request.PostParams["WorldSaveAllChunks"] ~= nil) then - cRoot:Get():GetWorld(Request.PostParams["WorldSaveAllChunks"]):SaveAllChunks(); - end - Content = Content .. [[ -
- - -
-
-
- -
Manage Server
restart the server
reload the server
stop the server
- - - ]] - local LoopWorlds = function( World ) - Content = Content .. [[ -
- - ]] - end - cRoot:Get():ForEachWorld( LoopWorlds ) - Content = Content .. "
Manage Worlds
Save all the chunks of world ]] .. World:GetName() .. [[
" - - return Content -end - -- cgit v1.2.3