{
"name": "CSB MOTD News",
"category": "hud-info",
"tags": "news, motd, updates",
"image": "",
"original_author": "",
"original_url": "",
"license": "GPL-3.0",
"title": "CSB MOTD News",
"short_desc": "Shows a news/changelog MOTD only when it changes, tracking a version per SteamID in nVault; /news re-opens it on demand.",
"version": "1.0.0",
"amxx_min": "1.9",
"amxx_compile_default": "1.9",
"rehlds_ok": true,
"hlds_ok": true,
"regamedll_required": false,
"metamod_flavor": "any",
"reapi_required": false,
"modules": "nvault",
"install_notes": "1. Enable the nvault module in addons/amxmodx/configs/modules.ini\n2. Put csb_news.txt (first line = version number) in the mod directory\n3. Put csb_motd_news.amxx in addons/amxmodx/plugins/ and add it to plugins.ini\n4. Change map",
"known_conflicts": "Other plugins that show a MOTD on connect may compete for the same window.",
"cvars": [
{
"name": "csb_news_enabled",
"default": "1",
"description": "Enable or disable auto-showing news."
},
{
"name": "csb_news_file",
"default": "csb_news.txt",
"description": "Mod-relative path to the news file."
},
{
"name": "csb_news_url",
"default": "",
"description": "Optional URL to show instead of the file."
},
{
"name": "csb_news_title",
"default": "Server News",
"description": "MOTD window title."
}
],
"commands": [
{
"name": "say /news",
"access": "",
"description": "Re-open the latest news MOTD."
}
],
"main": "addons/amxmodx/scripting/csb_motd_news.sma"
}