zio fork 1.8.2b-zio6: restyle staff all-chat and player staff-chat lines
@ 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:
parent
3c9f65e121
commit
e2b6670c5a
3 changed files with 6 additions and 6 deletions
|
|
@ -22,7 +22,7 @@ public partial class CS2_SimpleAdmin : BasePlugin, IPluginConfig<CS2_SimpleAdmin
|
|||
public override string ModuleName => "CS2-SimpleAdmin" + (Helper.IsDebugBuild ? " (DEBUG)" : " (RELEASE)");
|
||||
public override string ModuleDescription => "Simple admin plugin for Counter-Strike 2 :)";
|
||||
public override string ModuleAuthor => "daffyy";
|
||||
public override string ModuleVersion => "1.8.2b-zio5";
|
||||
public override string ModuleVersion => "1.8.2b-zio6";
|
||||
|
||||
public override void Load(bool hotReload)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -143,9 +143,9 @@
|
|||
"sa_adminchat_template_admin": "{LIME}(ADMIN) {lightred}{0}{default}: {lightred}{1}{default}",
|
||||
"sa_staffchat_template": "{default}>[{yellow}STAFF{default}][{lime}{0}{default}] {yellow}{1}{default}: {grey}{2}{default}",
|
||||
"sa_staffchat_template_norank": "{default}>[{yellow}STAFF{default}] {yellow}{0}{default}: {grey}{1}{default}",
|
||||
"sa_staffchat_template_player": "{default}>[{lightblue}PLAYER{default}] {lightblue}{0}{default}: {grey}{1}{default}",
|
||||
"sa_staffsay_template": "{default}>[{lime}{0}{default}] {yellow}{1}{default}: {grey}{2}{default}",
|
||||
"sa_staffsay_template_norank": "{default}> {yellow}{0}{default}: {grey}{1}{default}",
|
||||
"sa_staffchat_template_player": "{default}>[{purple}STAFF{default}] {purple}{0}{default}: {purple}{1}{default}",
|
||||
"sa_staffsay_template": "[{lime}{0}{default}] {darkred}{1}{default}: {red}{2}{default}",
|
||||
"sa_staffsay_template_norank": "{darkred}{0}{default}: {red}{1}{default}",
|
||||
"sa_adminchat_template_player": "{SILVER}(PLAYER) {lightred}{0}{default}: {lightred}{1}{default}",
|
||||
"sa_discord_log_command": "**{0}** issued command `{1}` on server `HOSTNAME`",
|
||||
"sa_menu_pluginsmanager_loaded": "{lime}Enabled {default}plugin {lime}{0}",
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue