Add per-player border color command#161
Merged
tastybento merged 1 commit intodevelopfrom Feb 20, 2026
Merged
Conversation
Adds /is border color <red|green|blue> (and standalone /is bordercolor) so players can set their own vanilla border color without changing the global config. Each color is gated by a dedicated permission node ([gamemode].border.color.<color>, e.g. bskyblock.border.color.red). - BorderColorCommand: new command with tab-complete filtered by permission - PerPlayerBorderProxy: adds BORDER_COLOR_META_DATA constant - ShowWorldBorder: reads per-player color metadata, falls back to config - IslandBorderCommand: registers color as a subcommand - Border: registers standalone bordercolor command - en-US.yml: adds set-color locale strings - BorderColorCommandTest: 15 tests covering all command paths - IslandBorderCommandTest: updated subcommand count (2 → 3) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
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.


Summary
/is border color <red|green|blue>(and standalone/is bordercolor) so players can set their own vanilla border color independently of the global config[gamemode].border.color.<color>(e.g.bskyblock.border.color.red)[gamemode].border.color.*to get all of themShowWorldBordernow reads the per-player color from metadata, falling back to the global config setting if none is setChanges
BorderColorCommandPerPlayerBorderProxyBORDER_COLOR_META_DATAconstantShowWorldBorderIslandBorderCommandcoloras a subcommandBorderbordercolorcommanden-US.ymlset-colorlocale stringsBorderColorCommandTestIslandBorderCommandTestTest plan
mvn test)/is border color redsets red border for the executing player only (others unaffected)bskyblock.border.color.redpermission🤖 Generated with Claude Code