Romania XPlayZM.CSBlackDevil.COM # Zombie Plague UltimateX [ Respawn + FDL + VIP 22-12PM + POINTS] ® 15/32
Unknown ❤ RESPAWN.ZAFEST.RO | VIP FREE | FREE FOR ALL ❤ 0/32
Germany ELITE.WORLDCS.RO # [SKINS |VIP + REVIVE| RANKS] 20/32
Prodvigat server

CSB MOTD News v1.0.0

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.
Установка
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
Cvar-ы4
CVARDefaultDescription
csb_news_enabled1Enable or disable auto-showing news.
csb_news_filecsb_news.txtMod-relative path to the news file.
csb_news_urlOptional URL to show instead of the file.
csb_news_titleServer NewsMOTD window title.
Команды1
CommandAccessDescription
say /newsRe-open the latest news MOTD.
Рейтинг
No ratings yet.