EngineHub / EngineHub/WorldGuard
Hide region flags that users don't have access to
- Dominant language
- Java
- Stars
- 938
- Forks
- 671
- PR merge metrics
- No merged PRs in 30d
Description
### The Problem
The region flags pages are quite extensive, and especially with custom flags or other plugins adding flags, users can get lost in the sauce trying to find a flag they can set in the sea of total flags.
### A Solution
I have a few solutions to this problem; one would be to add a hide permission node such as worldguard.region.flag.hidden. to remove the flag from the /rg flags list if they have the hidden permission. Alternatively, and the more clean option, if a user has any of the following:
worldguard.region.flag.flags...own.
worldguard.region.flag.flags...member.
worldguard.region.flag.flags...
Then the user should see that flag and its options in /rg flags, else they can't see the flag in the list.
This would clean up the list significantly and help reduce clutter for the user, making it easier for players to access the flags that they actually have access to change.
### Alternatives
_No response_
### Anything Else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.