CSB Welcome MOTD v1.0.0
CSB Welcome MOTD greets players properly. A short delay after they connect it opens a welcome MOTD - either a URL or a local HTML/text file you specify - and prints a personalised coloured chat line with the player's name, their country (resolved with GeoIP from their IP) and, for returning players, their score. Set csb_welcome_firstonly and the MOTD is shown only the very first time a SteamID is ever seen; that flag is stored in an nVault database so it survives map changes and restarts.
Features
- MOTD from a URL or a local file, shown once per map after a delay.
- Coloured chat greeting with name and GeoIP country.
- First-time-only mode backed by an nVault flag per SteamID.
- Bots are skipped.
Installation
- Enable the
nvaultandgeoipmodules inmodules.ini. - Compile
csb_welcome_motd.sma, copy it toaddons/amxmodx/plugins/and add it toplugins.ini. - Optionally put your MOTD text in
addons/amxmodx/data/welcome.txtor setcsb_welcome_url. - Change the map.
Инсталация
1. Enable the nvault and geoip modules in addons/amxmodx/configs/modules.ini 2. Put csb_welcome_motd.amxx in addons/amxmodx/plugins/ and add it to plugins.ini 3. Optionally edit addons/amxmodx/data/welcome.txt or set csb_welcome_url 4. Change map
Cvar-и5
| CVAR | Default | Description |
|---|---|---|
csb_welcome_enabled | 1 | Enable or disable the welcome MOTD. |
csb_welcome_delay | 4.0 | Seconds after connect before showing the MOTD. |
csb_welcome_firstonly | 0 | Show the MOTD only to first-time SteamIDs. |
csb_welcome_url | | MOTD URL; if empty the local file is used. |
csb_welcome_file | welcome.txt | Local MOTD file under the AMXX data dir. |
Оценка
Още няма оценки









