Commit graph

19 commits

Author SHA1 Message Date
851397c7d9 1.0.4c-zio7: don't reapply tags in OnAllPluginsLoaded at server start
CSS runs OnAllPluginsLoaded before the engine's globals exist, so Utilities.GetPlayers() threw
("Global Variables not initialized yet"). Nobody is connected then anyway; tags are only
reapplied there after a hot reload.
2026-10-02 18:47:40 +01:00
b0e67b1ee0 1.0.4c-zio6: GroupVerify clan tag for verified players, upper-case rank tags
While GroupVerify has a clan tag set (css_gv_clantag or the web panel), players without a rank
tag get it on the scoreboard if they're verified, and no tag at all if they aren't. Staff keep
their rank tag either way. With no clan tag, or GroupVerify off or missing, nothing changes;
clearing it gives players their own tags back. Tags update as soon as verification or the clan
tag changes (OnVerifiedChanged, OnClanTagChanged). GroupVerifyApi is a compile-only reference
(lib/), optional at runtime.

Also (zio5, not released on its own): the scoreboard spells ranks in capitals (OWNER, S.ADMIN,
ADMIN, ...) and chat prefixes use SimpleAdmin's staff chat rank names ([Mod], [S.Admin], ...).
2026-10-02 18:44:36 +01:00
3ac24ac3fe 1.0.4c-zio4: chat labels in tags.json
The dead marker and the (T)/(CT)/(SPEC)/(NONE) team-chat labels come from a new optional "chat"
section in tags.json, with colour tags; "" drops a label, and missing keys keep the old defaults.
2026-09-28 20:29:29 +01:00
3e652f9f6f 1.0.4c-zio3: spell out ranks on the scoreboard, without brackets
CS2 adds its own brackets around the clan tag, so "[O]" showed as "[[O]]". The default scoreboard
tags are now Owner, Sen.Admin, Admin, T.Admin, Mod, T.Mod, Helper and Guardian. Chat keeps the
short [O]/[M] prefixes.
2026-09-28 20:00:53 +01:00
1f3c090394 1.0.4c-zio2: rank abbreviations as default tags
The default tags.json gives each SimpleAdmin rank group the same abbreviation as its staff chat
(O, SA, A, TA, M, TM, H, G): "[M] name: message" in chat, with a white [ ], lime rank and
team-coloured name, and "[M]" on the scoreboard.
2026-09-28 19:51:23 +01:00
cd90d1bf82 1.0.4c-zio1: CSS 1.0.375 / net10.0, fixes, SimpleAdmin ranks
- Target net10.0 and CounterStrikeSharp 1.0.375 (compile-only reference),
  System.Text.Json instead of Newtonsoft.Json.
- Config moves to configs/plugins/CS2-Tags/tags.json, defaulting to our
  #rank/... SimpleAdmin groups. Comments and trailing commas allowed; a bad
  file is logged and the previous tags kept.
- Scoreboard tags call SetStateChanged on m_szClan, only when changed.
- Colour tags are expanded only in config strings, not in players' names or
  messages. Empty nick_color means team colour.
- A tag with no prefix or colours leaves chat to the game; drop team_chat.
- css_tags_reload works for @css/root too and reapplies scoreboard tags;
  hot reload tags connected players. Timers stop on map change. No dead
  icon for spectators.
- Remove css_tag_mute/unmute and "@" team admin chat: CS2-SimpleAdmin does
  both, and its catch-all command listener runs before these.
- Add release.sh, drop the .sln and GitHub workflow, README for the fork.
2026-09-27 16:23:45 +01:00
Dawid Bepierszcz
9340986473
Update README.md 2024-01-20 02:24:11 +01:00
Dawid Bepierszcz
bbeef2adba Non auth player fix 2024-01-08 18:16:37 +01:00
daffyyyy
9b688a42af Fixed scoreboard tags, tested on k4 2023-11-29 02:48:30 +01:00
daffyyyy
c6a85e271d Probably groups, timer for clantag, ignore more commands 2023-11-29 00:45:20 +01:00
daffyyyy
19485b2f99 Added skull icon to normal chat, updated readme 2023-11-22 00:06:04 +01:00
daffyyyy
bc096d5712 Merge branch 'main' of https://github.com/daffyyyy/CS2-Tags 2023-11-21 02:26:20 +01:00
daffyyyy
c5fcb15b10 Tag for everyone 2023-11-21 02:26:15 +01:00
Dawid Bepierszcz
735ca1ffdd
Update README.md 2023-11-21 01:05:04 +01:00
Dawid Bepierszcz
fa6deb176d
Update README.md 2023-11-20 22:47:55 +01:00
Dawid Bepierszcz
7aaf63ebb0
Update README.md 2023-11-20 22:27:20 +01:00
Dawid Bepierszcz
b2a3443f45
Update README.md 2023-11-20 21:38:36 +01:00
Dawid Bepierszcz
2d7f5d17c4
Update README.md 2023-11-20 21:36:54 +01:00
Dawid Bepierszcz
4a13fb81ac
Create README.md 2023-11-20 21:35:11 +01:00