zio fork 1.8.2b-zio6: restyle staff all-chat and player staff-chat lines
Some checks are pending
Build and Publish / build (push) Waiting to run
Build and Publish / publish (push) Blocked by required conditions

@ in all chat and a player's css_say now read "[RANK] name: message" (no ">"; "name: message"
without a rank group) with a dark red name and red message. A non-staff player's @ team chat
reads ">[STAFF] name: message" in purple.
This commit is contained in:
Astra 2026-09-28 18:08:55 +01:00
parent 3c9f65e121
commit e2b6670c5a
3 changed files with 6 additions and 6 deletions

View file

@ -16,9 +16,9 @@ from the `build-1.8.2b` tag). Changes, all marked `zio:` in the code:
has it, as it has every `@css` flag.
- Staff chat shows the sender's rank, from their highest `#rank/...` group (O, SA, A, TA, M, TM,
H for helper): `@message` in team chat and `css_asay` read `>[STAFF][RANK] name: message`, and
`@message` in all chat and `css_say` from a player read `>[RANK] name: message` (`> name: message`
`@message` in all chat and `css_say` from a player read `[RANK] name: message` (`name: message`
if they have no rank group). A non-staff player's `@message` in team chat reads
`>[PLAYER] name: message`. Console's `css_say`/`css_asay` are unchanged. New lang keys
`>[STAFF] name: message`, all in purple. Console's `css_say`/`css_asay` are unchanged. New lang keys
`sa_staffchat_template`, `sa_staffsay_template`, their `_norank` variants and
`sa_staffchat_template_player`, in `lang/en.json` only.