You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One problem I have is that when I added many new flags and I also have other external plugins that have their own flags, it is kinda hard to check which flags belong to which plugin since I believe these flags are ordered by their name, not by the time they got registered,
A Solution
Maybe you can make these flags have their own section, it will still be the same but instead of naming it as general Thirdy Flags, you can name it like === Flags === per plugin.
Example: I have 3 plugins that register their own flags, when I do /rg flags this will show at the last page
That's currently not possible, we don't track which plugin added flags to WorldGuard.
To add this information to the FlagRegistry we would have to make some breaking changes. the flag registry is currently in the core package without any Bukkit reference so there is no easy way to pass your plugin too.
i've seen a bunch of plugins just prefix their flags with an abbreviation so they get grouped. ultimately though
a) plugins aren't going to get attached to flags (not just because there's no bukkit dep, but because plugins can share flags), but we might at some point in the future use namespaced ids (though as mentioned breaking change, so not any time soon) and
b) i am rather against adding more headers to the list since they are kinda visually cluttery, especially if you have a lot of plugins that add few flags
The Problem
One problem I have is that when I added many new flags and I also have other external plugins that have their own flags, it is kinda hard to check which flags belong to which plugin since I believe these flags are ordered by their name, not by the time they got registered,
A Solution
Maybe you can make these flags have their own section, it will still be the same but instead of naming it as general Thirdy Flags, you can name it like === Flags === per plugin.
Example: I have 3 plugins that register their own flags, when I do /rg flags this will show at the last page
===== Virus Flags =====
allow-virus ---------- allow deny
virus-damage ------- unset custom
.....
===== Custom Mobs Flags ======
damage -------------- unset custom
health ---------------- unset custom
.....
===== Villager Market Flags ======
....
Alternatives
No response
Anything Else?
No response
The text was updated successfully, but these errors were encountered: