From ff2225dee05bf62e25ce52a6d9b50198d8d31e6b Mon Sep 17 00:00:00 2001 From: "lapayo94@gmail.com" Date: Thu, 12 Jul 2012 17:26:00 +0000 Subject: http://www.mc-server.org/support/index.php?do=details&task_id=153 + simple code improvements git-svn-id: http://mc-server.googlecode.com/svn/trunk@656 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- Plugins/Core/main.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Plugins') diff --git a/Plugins/Core/main.lua b/Plugins/Core/main.lua index ed2692349..220dd940e 100644 --- a/Plugins/Core/main.lua +++ b/Plugins/Core/main.lua @@ -30,6 +30,7 @@ function Initialize( Plugin ) Plugin:AddCommand("/list", " - Shows list of connected players", "core.playerlist") Plugin:AddCommand("/motd", " - Show message of the day", "core.motd") Plugin:AddCommand("/reload", " - Reload all plugins", "core.reload") + Plugin:AddCommand("/stop", " - Stops the server", "core.stop") Plugin:AddCommand("/time", " - [Day/Night] - Sets the time of day", "core.time") Plugin:AddCommand("/spawn", " - Return to the spawn", "core.spawn") Plugin:AddCommand("/kick", " - [Player] - Kick a player", "core.kick") @@ -52,6 +53,7 @@ function Initialize( Plugin ) Plugin:BindCommand( "/playerlist", "core.playerlist", HandlePlayerListCommand ) Plugin:BindCommand( "/motd", "core.motd", HandleMOTDCommand ) Plugin:BindCommand( "/reload", "core.reload", HandleReloadCommand ) + Plugin:BindCommand( "/stop", "core.stop", HandleStopCommand ) Plugin:BindCommand( "/time", "core.time", HandleTimeCommand ) Plugin:BindCommand( "/spawn", "core.spawn", HandleSpawnCommand ) Plugin:BindCommand( "/home", "core.spawn", HandleSpawnCommand ) -- cgit v1.2.3