1
0
cuberite-2a/MCServer/Plugins/Core/stop.lua
2012-08-20 12:20:20 +00:00

6 lines
202 B
Lua

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