Brackets
brackets.yml controls the wrapper around the rendered level value. A bracket can be plain, colored, or MiniMessage-formatted.
Format
brackets: # Root section for all bracket styles.
crystal_square: # Unique bracket id used by permissions and placeholders.
brackets: "<aqua>[</aqua><lvlcolor>%value%</lvlcolor><aqua>]</aqua>" # Format shown around the level value.
permission: "fiolevels.brackets.crystal_square" # Permission required to select this bracket. Use "" for no permission.
default: false # Optional. Set true on one entry if it should be the fallback default.
Placeholders
| Placeholder | Description |
|---|---|
%value% | The level value after font formatting. |
<lvlcolor>...</lvlcolor> | Applies the selected level color format around the value. |
How to add a new bracket
- Open
brackets.yml. - Add a new id under
brackets. - Set
bracketsto the MiniMessage format you want. - Set
permissionto""for public use or a permission node for locked use. - Reload FioLevels.
Example: public bracket
brackets: # All bracket designs.
soft_round: # New bracket id.
brackets: "<gray>(</gray><lvlcolor>%value%</lvlcolor><gray>)</gray>" # Round bracket format.
permission: "" # Everyone can select this bracket.
Example: permission bracket
brackets: # All bracket designs.
premium_angle: # New premium bracket id.
brackets: "<gold><bold><</bold></gold><lvlcolor>%value%</lvlcolor><gold><bold>></bold></gold>" # Angle-style level wrapper.
permission: "fiolevels.brackets.premium_angle" # Player needs this permission to select it.
Menu note
The selector menu layout is controlled separately in Menu / Brackets.