1
0

Missed a file

Patched the server to allow shutdown from other threads

git-svn-id: http://mc-server.googlecode.com/svn/trunk@657 0a769ca7-a7f5-676a-18bf-c427514a06d6
This commit is contained in:
lapayo94@gmail.com
2012-07-12 18:11:28 +00:00
parent ff2225dee0
commit 2f3dc03005
2 changed files with 7 additions and 1 deletions

6
Plugins/Core/stop.lua Normal file
View File

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