1
0
cuberite-2a/MCServer/Plugins/Core/stop.lua

6 lines
202 B
Lua
Raw Normal View History

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