Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Hide region flags that users don't have access to

Open
#2,260 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
authorization, cli

Research direction

Start at the /rg flags command and trace how its flag and option list is assembled. Resolve whether the hidden-permission approach or filtering by region-flag permissions is intended; done means users see only flags and values they can change, while permitted entries remain available.

Written by the indexing model from the issue text.

Description

status:pending type:feature-request
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.<flag name>.<flag value>.own.<region name>
    worldguard.region.flag.flags.<flag name>.<flag value>.member.<region name>
    worldguard.region.flag.flags.<flag name>.<flag value>.<region name>

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

Dominant language
Java
Stars
938
Forks
674
Avg merge
22h 57m
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from EngineHub/WorldGuard

All issues in EngineHub/WorldGuard

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.