1
0
minetest-mod-essentials/priveleges.lua
BlackImpostor 0fdafa3587
0.0.1
2023-10-03 18:18:40 +03:00

17 lines
412 B
Lua

-- god mode
if enable_damage then
core.register_privilege("god", {
description = "Can use /god command",
give_to_singleplayer = false,
})
end
core.register_privilege("vip", {
description = "Can use vip commands",
give_to_singleplayer = false,
})
core.register_privilege("mute", {
description = "Can mute/unmute players.",
give_to_singleplayer = false,
})