plot command

This commit is contained in:
Evert Prants 2019-01-13 01:29:17 +02:00
parent 34fa2fc7fa
commit b610781d0f
Signed by: evert
GPG Key ID: 1688DA83D222D0B5
1 changed files with 8 additions and 0 deletions

View File

@ -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
})