Skip to content

38 add support for rolerank prefixes#43

Merged
ez-plugins merged 4 commits into
mainfrom
38-add-support-for-rolerank-prefixes
May 28, 2026
Merged

38 add support for rolerank prefixes#43
ez-plugins merged 4 commits into
mainfrom
38-add-support-for-rolerank-prefixes

Conversation

@ez-plugins

Copy link
Copy Markdown
Owner

No description provided.

…, custom role registry

- TeamRole: add getDefaultPrefix(), setPrefixOverride(String), updated getPrefix()
- TeamRole: add static applyPrefixes(Map) and resetAllPrefixes()
- Add TeamRoleDefinition class (key, priority, prefix, outranks/canManage, of(TeamRole))
- TeamsAPI: add custom role registry (registerCustomRole, unregisterCustomRole,
  getCustomRole, getCustomRoles, isCustomRoleRegistered) backed by ConcurrentHashMap
- TeamMember: add default getRoleDefinition() method
- Tests: TeamRoleTest (12 new), TeamRoleDefinitionTest (19), TeamsAPICustomRoleTest (12)
- Docs: rewrite CHANGELOG 2.4.0, update api.md, new consumer-roles.md, listings
- Replace em-dashes with ' - ' throughout prose docs
@ez-plugins ez-plugins linked an issue May 28, 2026 that may be closed by this pull request
@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 95.38462% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
...in/java/com/skyblockexp/teamsapi/api/TeamsAPI.java 93.75% 0 Missing and 1 partial ⚠️
...ava/com/skyblockexp/teamsapi/model/TeamMember.java 0.00% 1 Missing ⚠️
.../java/com/skyblockexp/teamsapi/model/TeamRole.java 95.00% 0 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@ez-plugins ez-plugins merged commit 10efcb9 into main May 28, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Support for Role/Rank Prefixes

2 participants