A Counter-Strike 2 server plugin that posts chat messages automatically: rotating announcements, a welcome message for each player, and join and leave notices. Built on CounterStrikeSharp.
- Rotating chat messages, sent one after another at a set interval
- Private welcome message for each player who joins
- Public join and leave notices with the player's name
- Custom message prefix, colors included
- Full support for CounterStrikeSharp chat colors, e.g.
{Green},{Red},{LightBlue} - Config file is created automatically on first start
- Counter-Strike 2 dedicated server
- Metamod:Source 2.x
- CounterStrikeSharp 1.0.228 or newer
- Download
AutoMessageChat.dll(latest version; all versions are in Releases). - Upload it to this folder on your server:
addons/counterstrikesharp/plugins/AutoMessageChat/ - Restart the server or load the plugin with:
css_plugins load "AutoMessageChat"
On first start the plugin creates:
addons/counterstrikesharp/configs/plugins/AutoMessageChat/AutoMessageChat.json
Example:
{
"Prefix": "{Green}● {DarkRed}[{White}FG :: INFO{DarkRed}]{Default}",
"WelcomeMessage": "{Green}Follow us on social media, type {LightRed}!socials{Default}",
"PlayerJoinMessage": "{LightBlue}{PLAYER} {White}just joined the server!",
"PlayerDisconnectMessage": "{LightBlue}{PLAYER} {White}left the server.",
"MessageIntervalSeconds": 120.0,
"Messages": [
"Check out our shop with {Green}!shop{Default}.",
"{Red}Admin recruitment{Default} is open! Apply on our forum.",
"Please keep it {LightBlue}friendly{Default} on the server."
],
"ConfigVersion": 1
}| Option | Description |
|---|---|
Prefix |
Text shown before every message. Can include colors. |
WelcomeMessage |
Private message sent to a player after they join. |
PlayerJoinMessage |
Public message when a player joins. {PLAYER} is replaced with their name. |
PlayerDisconnectMessage |
Public message when a player leaves. Supports {PLAYER}. |
MessageIntervalSeconds |
Seconds between messages from the Messages list. |
Messages |
Messages shown one after another, on a loop. |
After changing the config, reload the plugin or restart the server.
tomSoNN (tomsoniik), co-creator of FragHub.
Questions and bug reports: Issues or Discord tomsoncs.