From 4d98b24c02fe73e9a1dc1fa936714fb1998f7990 Mon Sep 17 00:00:00 2001 From: William278 Date: Wed, 24 Apr 2024 10:32:10 +0100 Subject: [PATCH] docs: clarify Nametag limitations --- README.md | 2 +- docs/Nametags.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d401eea..15b0dbc 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/docs/Nametags.md b/docs/Nametags.md index 1316140..b33ac59 100644 --- a/docs/Nametags.md +++ b/docs/Nametags.md @@ -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). \ No newline at end of file