summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Core/stop.lua
blob: 1240c49d85411aae0140a8fa0d48057164c1218c (plain) (blame)
1
2
3
4
5
6
function HandleStopCommand( Split, Player )
	Server = cRoot:Get():GetServer()
	Server:SendMessage( cChatColor.Green .. "Stopping the server..." )
	cRoot:Get():QueueExecuteConsoleCommand("stop")
	return true
end