summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Core/stop.lua
blob: 4b4cca3b62a2f664ea41ab96b4d3c5ff19079d77 (plain) (blame)
1
2
3
4
5
6
7
8
function HandleStopCommand( Split, Player )
	Server = cRoot:Get():GetServer()
	PluginManager = cRoot:Get():GetPluginManager()
	Server:SendMessage( cChatColor.Green .. "Stopping the server..." )
	PluginManager:ExecuteConsoleCommand("stop")
	--cRoot:Get():ServerCommand("stop")
	return true
end