fediauth/privs.lua

18 lines
565 B
Lua

minetest.register_privilege("fediauth_enabled", {
description = "fediauth enabled player",
give_to_singleplayer = false,
fediauth_keep = true
})
minetest.register_privilege("fediauth_bypass", {
description = "fediauth bypass for players who not want type code on each log in (when enabled fediauth.fedi_required)",
give_to_singleplayer = false,
fediauth_keep = true
})
minetest.register_privilege("fediauth_autorized", {
description = "For workaround strongest protection, include server admins",
give_to_singleplayer = false,
})