From beb36ee1496fa54ae9a0abcef4251d71512d48c5 Mon Sep 17 00:00:00 2001 From: "nielsbreu@gmail.com" Date: Fri, 28 Jun 2013 10:18:55 +0000 Subject: Added /listworlds command and fixed bug in /listgroups where you have an extra comma at the end. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1629 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- MCServer/Plugins/Core/main.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'MCServer/Plugins/Core/main.lua') diff --git a/MCServer/Plugins/Core/main.lua b/MCServer/Plugins/Core/main.lua index 8f83a2989..1f24e0715 100644 --- a/MCServer/Plugins/Core/main.lua +++ b/MCServer/Plugins/Core/main.lua @@ -32,6 +32,7 @@ function Initialize(Plugin) PluginManager:AddHook(Plugin, cPluginManager.HOOK_CHUNK_GENERATING) PluginManager:AddHook(Plugin, cPluginManager.HOOK_PLAYER_MOVING) + PluginManager:BindCommand("/listworlds", "core.listworlds", HandleListWorldsCommand, " - Shows a list of all the worlds"); PluginManager:BindCommand("/listgroups", "core.listgroups", HandleListGroupsCommand, " - Shows a list of all the groups"); PluginManager:BindCommand("/toggledownfall", "core.toggledownfall", HandleToggleDownfallCommand, " - Toggles the weather"); PluginManager:BindCommand("/back", "core.back", HandleBackCommand, " - Return to your last position"); -- cgit v1.2.3