From 203c3da2af8e17e8b530f21830cb905ad71cecc3 Mon Sep 17 00:00:00 2001 From: Uberi Date: Wed, 28 Aug 2013 20:28:49 -0400 Subject: Add //about. --- worldedit_commands/init.lua | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'worldedit_commands/init.lua') diff --git a/worldedit_commands/init.lua b/worldedit_commands/init.lua index b6c1e79..9977674 100644 --- a/worldedit_commands/init.lua +++ b/worldedit_commands/init.lua @@ -50,6 +50,14 @@ worldedit.player_axis = function(name) return "z", dir.z > 0 and 1 or -1 end +minetest.register_chatcommand("/about", { + params = "", + description = "Get information about the mod", + func = function(name, param) + worldedit.player_notify(name, "WorldEdit 1.0 is available on this server. Type /help to get a list of commands, or get more information at https://github.com/Uberi/MineTest-WorldEdit/") + end, +}) + minetest.register_chatcommand("/inspect", { params = "on/off/1/0/true/false/yes/no/enable/disable", description = "Enable or disable node inspection", -- cgit v1.2.3