summaryrefslogtreecommitdiffstats
path: root/Plugins
diff options
context:
space:
mode:
authorlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-12 19:26:00 +0200
committerlapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-07-12 19:26:00 +0200
commitff2225dee05bf62e25ce52a6d9b50198d8d31e6b (patch)
treeebb8931b565f196f984ed7e485e016023c862171 /Plugins
parentFixed some bugs within the squirrel plugin system. (diff)
downloadcuberite-ff2225dee05bf62e25ce52a6d9b50198d8d31e6b.tar
cuberite-ff2225dee05bf62e25ce52a6d9b50198d8d31e6b.tar.gz
cuberite-ff2225dee05bf62e25ce52a6d9b50198d8d31e6b.tar.bz2
cuberite-ff2225dee05bf62e25ce52a6d9b50198d8d31e6b.tar.lz
cuberite-ff2225dee05bf62e25ce52a6d9b50198d8d31e6b.tar.xz
cuberite-ff2225dee05bf62e25ce52a6d9b50198d8d31e6b.tar.zst
cuberite-ff2225dee05bf62e25ce52a6d9b50198d8d31e6b.zip
Diffstat (limited to 'Plugins')
-rw-r--r--Plugins/Core/main.lua2
1 files changed, 2 insertions, 0 deletions
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 )