summaryrefslogblamecommitdiffstats
path: root/MCServer/Plugins/Core/stop.lua
blob: 0a06fc7d3d2c186e838fe92f88fd20696ffe7fbe (plain) (tree)
1
2
3
4
5
6


                                                                           
                                          

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