zio fork: @ staff chat while gagged, gag message with time left and reason
Gagged or silenced players can still send @ team chat to online staff. The chat-blocked message now says how long the gag or silence has left, or that it's permanent, and why. Reasons are kept in memory alongside each penalty. Adds release.sh, which ships CS2-SimpleAdmin.dll and lang/en.json.
This commit is contained in:
parent
cf284bd121
commit
6171162ae9
10 changed files with 230 additions and 11 deletions
18
README.md
18
README.md
|
|
@ -1,3 +1,21 @@
|
|||
# zio.sh fork
|
||||
|
||||
This is zio.sh's fork of CS2-SimpleAdmin 1.8.2b (`upstream` is daffyyyy/CS2-SimpleAdmin, branched
|
||||
from the `build-1.8.2b` tag). Changes, all marked `zio:` in the code:
|
||||
|
||||
- A gagged or silenced player can still send `@message` in team chat to reach online staff.
|
||||
- The gag/silence chat message says how long is left (or that it's permanent) and the reason, in
|
||||
place of "Your chat is blocked to: <end date>". New lang keys `sa_player_penalty_gag_active`,
|
||||
`..._gag_active_perm`, `..._silence_active`, `..._silence_active_perm` and
|
||||
`sa_player_penalty_no_reason`, in `lang/en.json` only (other languages fall back to it).
|
||||
|
||||
Publish with `FORGEJO_TOKEN=... ./release.sh v<ModuleVersion>` (ModuleVersion is `1.8.2b-zioN`).
|
||||
It rebuilds from the committed source and uploads `SimpleAdmin-<tag>.tar.gz` to git.zio.sh
|
||||
(`cs2/SimpleAdmin`), holding only `CS2-SimpleAdmin.dll` and `lang/en.json`. The rest of the plugin
|
||||
and `shared/CS2-SimpleAdminApi` stay as the upstream 1.8.2b release installed them.
|
||||
|
||||
---
|
||||
|
||||
<p align="center">
|
||||
<a href="https://github.com/daffyyyy/CS2-SimpleAdmin/actions/workflows/build.yml">
|
||||
<img src="https://github.com/daffyyyy/CS2-SimpleAdmin/actions/workflows/build.yml/badge.svg" alt="Build and Publish" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue