CSB MOTD News

v1.0.0 12 Downloads Daemon666 Zuletzt aktualisiert: Jul 16, 2026

Shows a news/changelog MOTD only when it changes, tracking a version per SteamID in nVault; /news re-opens it on demand.

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).
  • /news re-opens on demand.

Installation

  1. Enable the nvault module in modules.ini.
  2. Put a csb_news.txt in the game (mod) directory whose first line is a version number, followed by your HTML news.
  3. Compile csb_motd_news.sma, copy it to addons/amxmodx/plugins/ and add it to plugins.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

CVARDefaultDescription
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.

Befehle

CommandAccessDescription
say /news Re-open the latest news MOTD.

Änderungsprotokoll — v1.0.0

1.0.0 - Initial release.
Versionen →
Mitwirkende: Daemon666 ✦
Lizenz: GPL-3.0

Bewertung

No ratings yet.

Download v1.0.0

Compiled live from the source below — nothing pre-built.
.sma herunterladen
Dateien:
csb_motd_news.sma main 3.6 KB

Anforderungen

AMX Mod X ≥ 1.9
Engine ReHLDS HLDS
ReGameDLL Optional
ReAPI Optional
Metamod Metamod / Metamod-r
Module nvault
Bekannte Konflikte Other plugins that show a MOTD on connect may compete for the same window.
Zurück zu den Plugins