Show max team/coop/trusted sizes in admin info command and add size placeholders#2854
Merged
Merged
Conversation
Co-authored-by: tastybento <4407265+tastybento@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add team size display to admin command info
Show max team/coop/trusted sizes in admin info command and add size placeholders
Mar 14, 2026
Member
|
@copilot Add translations for the new locale text you create to all the locale files. |
…o all locale files Co-authored-by: tastybento <4407265+tastybento@users.noreply.github.com>
Contributor
Author
Done in commit |
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Admins had no way to see per-island member size limits (team, coop, trusted) from the info command. These limits can differ from world defaults when set via permissions or island-specific overrides.
Changes
IslandInfo#showAdminInfo()— appends max team, coop, and trusted size after the members list usingIslandsManager#getMaxMembers()per rankcommands.admin.info.max-team-size,max-coop-size,max-trusted-sizeto all 23 supported language files (cs, de, en-US, es, fr, hr, hu, id, it, ja, ko, lv, nl, pl, pt-BR, pt, ro, ru, tr, uk, vi, zh-CN, zh-HK)GameModePlaceholder— adds four new placeholders alongside the existingisland_members_max:island_coop_max,island_trust_maxvisited_island_coop_max,visited_island_trust_maxAdminInfoCommandTest— updated success assertions to verify the new messages are sentExample admin info output (new lines)
Original prompt
[admin_cmd] info#2408🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.