summaryrefslogtreecommitdiffstats
path: root/Plugins/Core/main.lua
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-04-11 14:16:13 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-04-11 14:16:13 +0200
commitae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5 (patch)
tree2b0994ab5e9709562f4dec862456c51762986ae9 /Plugins/Core/main.lua
parentAdded error messages to socket closing error conditions for *nix (diff)
downloadcuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.tar
cuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.tar.gz
cuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.tar.bz2
cuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.tar.lz
cuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.tar.xz
cuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.tar.zst
cuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.zip
Diffstat (limited to 'Plugins/Core/main.lua')
-rw-r--r--Plugins/Core/main.lua8
1 files changed, 7 insertions, 1 deletions
diff --git a/Plugins/Core/main.lua b/Plugins/Core/main.lua
index 2706a6846..4ef67e424 100644
--- a/Plugins/Core/main.lua
+++ b/Plugins/Core/main.lua
@@ -37,7 +37,10 @@ function Initialize( Plugin )
Plugin:AddCommand("/top", " - Teleport yourself to the top most block", "core.top")
Plugin:AddCommand("/gm", " - [Gamemode (0|1)] - Change your gamemode", "core.changegm")
Plugin:AddCommand("/gotoworld", " - Move to a different world!", "core.gotoworld")
-
+ Plugin:AddCommand("/coords", " - Show your current server coordinates", "core.coords")
+ Plugin:AddCommand("/viewdistance", " - [".. cClientHandle.MIN_VIEW_DISTANCE .."-".. cClientHandle.MAX_VIEW_DISTANCE .."] - Change your view distance", "core.viewdistance")
+ Plugin:AddCommand("/regeneratechunk", " - <X [Z]> - Regenerates a chunk", "core.regeneratechunk")
+
Plugin:BindCommand( "/help", "core.help", HandleHelpCommand )
Plugin:BindCommand( "/pluginlist", "core.pluginlist", HandlePluginListCommand )
Plugin:BindCommand( "/tp", "core.teleport", HandleTPCommand )
@@ -57,6 +60,9 @@ function Initialize( Plugin )
Plugin:BindCommand( "/top", "core.top", HandleTopCommand )
Plugin:BindCommand( "/gm", "core.changegm", HandleChangeGMCommand )
Plugin:BindCommand( "/gotoworld", "core.gotoworld", HandleGotoWorldCommand )
+ Plugin:BindCommand( "/coords", "core.coords", HandleCoordsCommand )
+ Plugin:BindCommand( "/viewdistance","core.viewdistance", HandleViewDistanceCommand )
+ Plugin:BindCommand( "/regeneratechunk","core.regeneratechunk", HandleRegenerateChunkCommand )
local IniFile = cIniFile("settings.ini")