From b610781d0f8419ebab3da3548610788b2994d66d Mon Sep 17 00:00:00 2001 From: Evert Prants Date: Sun, 13 Jan 2019 01:29:17 +0200 Subject: [PATCH] plot command --- chat.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/chat.lua b/chat.lua index 5fac2f2..02eb0d9 100644 --- a/chat.lua +++ b/chat.lua @@ -233,3 +233,11 @@ minetest.register_chatcommand("town", { privs = {towny = true}, func = town_command }) + +minetest.register_chatcommand("plot", { + description = "Manage your town plot", + privs = {towny = true}, + func = function (name, param) + return town_command(name, "plot " .. param) + end +})