1
0
cuberite-2a/MCServer/Plugins/Core/stop.lua
nielsbreu@gmail.com aae46468c7 Added a /toggledownfall command that toggles the weather.
changed back the stop.lua

git-svn-id: http://mc-server.googlecode.com/svn/trunk@1312 0a769ca7-a7f5-676a-18bf-c427514a06d6
2013-03-24 18:41:19 +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