docs: clarify Nametag limitations

This commit is contained in:
William278 2024-04-24 10:32:10 +01:00
parent cf9175297f
commit 4d98b24c02
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View File

@ -76,4 +76,4 @@ Velocitab is licensed under the Apache 2.0 license.
* **[Discord](https://discord.com/invite/tVYhJfyDWG)** — Get support, ask questions!
---
© [William278](https://william278.net/), 2023. Licensed under the Apache-2.0 License.
© [William278](https://william278.net/), 2024. Licensed under the Apache-2.0 License.

View File

@ -32,5 +32,7 @@ In order to remove nametags, you must set `prefix` and `suffix` to empty. After
## Formatting limitations
Nametags must adhere to the following restrictions:
* Only legacy colors can be used in username formats. If RGB colors are specified, they will automatically be downsampled to the nearest legacy color. This is a limitation of the scoreboard team system.
* Nametag prefixes and suffixes can contain full RGB formatting, but the color used in the player's name between the two (effectively, their "Scoreboard Team" color) is limited to the set of legacy color codes.
* Velocitab determines which color to use here based on the last color format used in the configured prefix (displayed before their name), downsampled from RGB if necessary.
* To control this, simply set the prefix format to end with a valid [team color](https://wiki.vg/Text_formatting#Colors) you want to use (e.g. `&4` for dark_red in Minedown formatting).
* Nametags cannot contain newlines (must be on a single line).