adventure_core/chat_commands.lua

20 lines
344 B
Lua
Raw Normal View History

-- CHAT COMMANDS
if adv_core.setting("enable_chat_commands",true) then
minetest.register_chatcommand("make_shop", {
params = "<name> <privilege>",
description = "Generate an Adventure Shop Node",
privs = {interact = true},
func = function(name)
return true, "You said"
end,
})
--Priv Specific API commands
end