Add permissions for new MiniMessage tags (#680)

* - Add new tags (and permissions for them):
    - Pride
    - Selector
    - Shadow
    - Transition
- Bump Adventure to support Pride tag

* Remove selector tag and add in missing permissions

* Rename shadow to shadow_color
This commit is contained in:
Kre0lidge authored and GitHub committed 2025-07-22 13:09:45 -07:00
1 parent 3e57abe8c5
commit 5d4103fe92
2 files changed
+13 -1

No files matched your search

@@ -47,7 +47,10 @@ public final class TagPermissions {
Map.entry("gradient", StandardTags.gradient()),
Map.entry("rainbow", StandardTags.rainbow()),
Map.entry("reset", StandardTags.reset()),
Map.entry("newline", StandardTags.newline())
Map.entry("newline", StandardTags.newline()),
Map.entry("pride", StandardTags.pride()),
Map.entry("shadow_color", StandardTags.shadowColor()),
Map.entry("transition", StandardTags.transition())
);
private TagPermissions() {
@@ -46,6 +46,9 @@ carbon.nickname.tags.insertion: "Allows the use of insertions in nicknames."
carbon.nickname.tags.font: "Allows the use of fonts in nicknames."
carbon.nickname.tags.reset: "Allows the use of the reset tag in nicknames."
carbon.nickname.tags.newline: "Allows the use of the newline tag in nicknames."
carbon.nickname.tags.pride: "Allows the use of the pride tag in nicknames."
carbon.nickname.tags.shadow_color: "Allows the use of the shadow tag in nicknames."
carbon.nickname.tags.transition: "Allows the use of the transition tag in nicknames."
# Party name tag permissions
carbon.parties.name.tags.color: "Allows the use of colors in party names."
@@ -65,6 +68,9 @@ carbon.parties.name.tags.insertion: "Allows the use of insertions in party names
carbon.parties.name.tags.font: "Allows the use of fonts in party names."
carbon.parties.name.tags.reset: "Allows the use of the reset tag in party names."
carbon.parties.name.tags.newline: "Allows the use of the newline tag in party names."
carbon.parties.name.tags.pride: "Allows the use of the pride tag in party names."
carbon.parties.name.tags.shadow_color: "Allows the use of the shadow tag in party names."
carbon.parties.name.tags.transition: "Allows the use of the transition tag in party names."
# Message tag permissions
carbon.messagetags.color: "Allows the use of colors in messages."
@@ -84,3 +90,6 @@ carbon.messagetags.insertion: "Allows the use of insertions in messages."
carbon.messagetags.font: "Allows the use of fonts in messages."
carbon.messagetags.reset: "Allows the use of the reset tag in messages."
carbon.messagetags.newline: "Allows the use of the newline tag in messages."
carbon.messagetags.pride: "Allows the use of the pride tag in messages."
carbon.messagetags.shadow_color: "Allows the use of the shadow tag in messages."
carbon.messagetags.transition: "Allows the use of the transition tag in messages."