HuskTowns provides additional Permission Contexts for LuckPerms, letting you restrict permission access based on contextual factors determined by HuskTowns.
If you wish to, for instance, restrict certain commands behind a player being in a town, this is how you can do so.
- LuckPerms v5.3+ installed on your server
- HuskTowns installed on your server
- In HuskTowns' config.yml, ensure
luckperms_contexts_hook is enabled under
✅ See the LuckPerms Wiki for how to make use of contexts.
|Name of the town claiming the player is standing in|
false; if a player is in a claim or not
false; if a player can place and break blocks
false; if a player can use containers
false; if a player can interact (right click) with blocks and entities
false; if a player is standing in a claim owned by the town they are in
false; if a player is a member of a town
|Name of the town the player is in|
|The player's role in their town; mayor, resident or trusted|
|The level of the town the player is in|