Shows a news/changelog MOTD only when it changes, tracking a version per SteamID in nVault; /news re-opens it on demand.
Daemon666
1.0.0 - Initial release.
| csb_motd_news.sma main | cc349d2 | 3.6 KB |
README.md
CSB MOTD News shows a news / changelog MOTD, but only when it actually changed. The news file's first line carries a version number; that number is stored per SteamID in an nVault, so a returning player is not shown the same news twice. The MOTD is rendered from a local file, or from a URL if one is set, and players can re-open the latest news any time with /news.
Features
- Version-gated: shows only when the first-line version increases.
- Per-SteamID last-seen version stored in nVault.
- Local file or URL source (
csb_news_url). /newsre-opens on demand.
Installation
- Enable the
nvaultmodule inmodules.ini. - Put a
csb_news.txtin the game (mod) directory whose first line is a version number, followed by your HTML news. - Compile
csb_motd_news.sma, copy it toaddons/amxmodx/plugins/and add it toplugins.ini.
Installation
1. Enable the nvault module in addons/amxmodx/configs/modules.ini 2. Put csb_news.txt (first line = version number) in the mod directory 3. Put csb_motd_news.amxx in addons/amxmodx/plugins/ and add it to plugins.ini 4. Change map
Cvars
| CVAR | Default | Description |
|---|---|---|
csb_news_enabled |
1 |
Enable or disable auto-showing news. |
csb_news_file |
csb_news.txt |
Mod-relative path to the news file. |
csb_news_url |
|
Optional URL to show instead of the file. |
csb_news_title |
Server News |
MOTD window title. |
Commandes
| Command | Access | Description |
|---|---|---|
say /news |
|
Re-open the latest news MOTD. |
Journal des modifications — v1.0.0
1.0.0 - Initial release.Versions →
Note
No ratings yet.
Download v1.0.0
Prérequis
| AMX Mod X | ≥ 1.9 |
| Engine | ReHLDS HLDS |
| ReGameDLL | Optionnel |
| ReAPI | Optionnel |
| Metamod | Metamod / Metamod-r |
| Modules | nvault |
| Conflits connus | Other plugins that show a MOTD on connect may compete for the same window. |
Contributeurs









