Luanti Mod: Privs Per World for Mineclonia 🔗
Description 🔗
This mod is designed for Mineclonia and automatically grants privileges to users when changing worlds. The default settings grant fast, fly, noclip
to players entering the Nether, and revokes those upon leaving.
Using 🔗
The server admin can configure settings in minetest.conf. See settingtypes.txt, but it is easier to use settings.lua.
Settings 🔗
The server admin can configure settings in the mod's settings.lua, or alternatively with various values in minetest.conf. See the included settingtypes.txt.
Future improvements 🔗
- Might need to use mod storage to store privileges of user before entering/leaving the world, so we can restore them. But this would lose any privileges that change while the user is in the world. So register_on_grant_priv might be useful, if this mod's own set_privileges does not trigger those.