1
0
cuberite-2a/MCServer/Plugins/Core/stop.lua
2013-07-01 11:42:59 +00:00

6 lines
215 B
Lua

function HandleStopCommand( Split, Player )
Server = cRoot:Get():GetServer()
Server:SendMessage( cChatColor.Green .. "Stopping the server..." )
cRoot:Get():QueueExecuteConsoleCommand("stop")
return true
end