Admin chat and votes
Chat shortcuts
Section titled “Chat shortcuts”Start a chat message with @:
| Typed in | By | Goes to |
|---|---|---|
All chat (y) |
an admin with @css/chat |
Everyone, as an admin announcement (same as css_say). |
Team chat (u) |
an admin with @css/chat |
Only admins with @css/chat, marked (ADMIN). |
Team chat (u) |
a player | Admins with @css/chat and the player, marked (PLAYER). A way for players to call an admin. |
A player without @css/chat who types @ in all chat just sends a normal message.
Chat commands
Section titled “Chat commands”All need @css/chat.
| Command | Does |
|---|---|
css_say <message> |
Announcement in chat to everyone, with the admin’s name shown according to ShowActivityType. |
css_asay <message> |
Message only admins with @css/chat see. |
css_psay <#userid or name> <message> |
Private message to a player. |
css_csay <message> |
Text in the middle of everyone’s screen. |
css_hsay <message> |
HUD alert for everyone. |
css_cssay <message> |
Chat message without prefix; color tags like {red} work. |
The look of admin chat comes from sa_adminsay_prefix, sa_adminchat_template_admin and
sa_adminchat_template_player in the plugin’s lang/ files.
Listening in
Section titled “Listening in”css_adminvoice (alias css_listenall, @css/chat) lets an admin hear the voice chat of both
teams. Run it again to turn it off.
css_adminvoice muteAllmutes the voice of every player without@css/chat, for example during an announcement.css_adminvoice unmuteAllgives everyone their voice back, except players with an active mute or silence.
css_vote <question> <answer 1> <answer 2> [more answers...]css_vote needs @css/generic. Put a question or answer with spaces in quotes:
css_vote "Next map?" de_dust2 de_mirage de_infernoEvery player gets a menu with the answers for 30 seconds. After 30 seconds the results are posted in chat, with the number of votes per answer. A new vote replaces one that is still running, and a map change cancels it. Nothing happens automatically with the result; the admin acts on it.