Commit graph

32 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
ac4c466340 1.0.4c
- Changed gags from userid to steamid
2024-01-27 23:59:00 +01:00
Dawid Bepierszcz
708e280933 1.0.4b
- Updated CounterStrikeSharp to 159
- Added removing gag on disconnect event
2024-01-26 13:35:14 +01:00
Dawid Bepierszcz
6c5fda09f4 1.0.3b
- Minor changes
2024-01-20 17:24:30 +01:00
Dawid Bepierszcz
bbeef2adba Non auth player fix 2024-01-08 18:16:37 +01:00
Dawid Bepierszcz
da83d8477f Updated to CSS 142 2024-01-08 11:18:05 +01:00
daffyyyy
088f66694a Update CS2-Tags.cs 2023-12-06 22:16:44 +01:00
daffyyyy
9fd605e863 team_chat everyone
For old configs u need to add:
```"team_chat": true,```
to everyone
2023-12-06 15:04:11 +01:00
daffyyyy
996b6175b1 Update CS2-Tags.cs 2023-12-06 03:01:17 +01:00
daffyyyy
09a4a330e6 Update CS2-Tags.cs 2023-12-06 02:50:26 +01:00
daffyyyy
c98c682dbe Added adminchat on say_team @ 2023-12-06 02:50:01 +01:00
daffyyyy
098c158c9f Updatee 2023-12-05 03:01:43 +01:00
daffyyyy
22235ea995 Increased cssharp version 2023-12-03 23:41:03 +01:00
daffyyyy
2752a781c8 Removed mysql, added command for others plugin
- Removed mysql usage
- Added commands **css_tag_mute <PlayerIndex>** and **css_tag_unmute <PlayerIndex>**
2023-12-03 23:39:06 +01:00
daffyyyy
c8d2a6e2b7 CS2-SimpleAdmin Integration 2023-12-03 19:23:12 +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
c0f571fcaa {TEAMCOLOR}, skull icon in team_cheat, css_tags_reload server command 2023-11-21 23:34:52 +01:00
daffyyyy
c5fcb15b10 Tag for everyone 2023-11-21 02:26:15 +01:00
daffyyyy
9d245f0557 Team chat for all 2023-11-21 00:00:19 +01:00
daffyyyy
6f3f9cf554 Added tags to team_chat 2023-11-20 23:54:56 +01:00
daffyyyy
070edec44a New temporary fix for commands
Old method throws exception and duplicate messages
2023-11-20 23:35:27 +01:00
daffyyyy
f64ec60629 Temp fix for commands and rtv without ! 2023-11-20 23:02:06 +01:00
daffyyyy
c78c503cad Temp fix for command messages 2023-11-20 22:19:07 +01:00
daffyyyy
dbd2f7e348 Loop break 2023-11-20 21:45:22 +01:00
daffyyyy
fc5318fc1f Initial commit 2023-11-20 21:23:41 +01:00