I am proposing a new JSON component for the rawtext array called "tag". This would allow a command to check if a player has a specific tag and, if they do, display that tag’s name as text.
Example Syntax: /titleraw @a actionbar {"rawtext":[{"text":"Rank: "},{"tag":"Owner"}]}
How it would work:
• If the player has the tag "Owner", the action bar displays: Rank: Owner
• If the player does not have the tag, the component returns nothing (empty string).
Why this is needed?
Multiplayer Efficiency: Currently, if a server has 10 different ranks (Owner, Admin, Mod, etc.), a creator has to run 10 separate /titleraw commands every tick. With this update, one single command could handle every rank for every player simultaneously.
Conclusion: This is a small addition to the JSON parser that would revolutionize how Bedrock Edition servers handle Ranks, Prefixes, and HUDs. It removes the "wall of command blocks" and makes the game much more accessible for technical creators.
Please sign in to leave a comment.
0 Comments