addonsVersion 1.0.0: First release.
README.txtVersion 1.0.0: First release.
README.txt2.5 KB
No file matches.
Death Message Disabler 1.0.0 (olds.ro)
======================================
Turns the kill feed (the "A killed B" lines at the top right of the screen)
off for everyone, for modes where kills should be silent. Admins can be
allowed to keep seeing it.
Frags, deaths and the scoreboard keep counting as usual, and stats or rank
plugins still see every kill: only the kill feed line is not shown.
Requirements
- AMX Mod X 1.10 or newer (no extra modules, ReAPI is not needed)
- Written for AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814
Install
1. Compile scripting/olds_nodeath.sma with amxxpc 1.10 and copy
olds_nodeath.amxx to addons/amxmodx/plugins/.
2. Copy data/lang/olds_nodeath.txt to addons/amxmodx/data/lang/.
3. Copy configs/plugins/olds_nodeath.cfg to addons/amxmodx/configs/plugins/
(if you skip this, the plugin writes the same file with the defaults on
its first start).
4. Add olds_nodeath.amxx to addons/amxmodx/configs/plugins.ini.
Admin command (flag "h", ADMIN_CFG, and the server console)
amx_deathmsg 1 kill feed hidden (sets olds_nodeath 1)
amx_deathmsg 0 kill feed shown again (sets olds_nodeath 0)
amx_deathmsg prints which one is in use
- The change works at once, without a map change; chat says who made it.
- Every change is written to the AMX Mod X log with the admin's name.
- Admins without the flag are refused and nothing changes.
- The access flag can be changed in addons/amxmodx/configs/cmdaccess.ini.
- The setting is a cvar: put olds_nodeath 0 or 1 in a map config to have
it only on some maps.
Server command
olds_nodeath_status prints the settings, how many kill feed lines were
hidden, shown and sent to admins, and the last kill
Settings (addons/amxmodx/configs/plugins/olds_nodeath.cfg)
olds_nodeath 1 1 = no kill feed lines for anyone, 0 = as usual
olds_nodeath_admin 0 1 = admins (players with any admin flag) still
see the kill feed while it is hidden for the others
Notes
- Only the game's kill feed message (DeathMsg) is blocked. Kill feed lines
that other plugins send themselves are not touched.
- Run it before other plugins that change the kill feed (put it higher in
plugins.ini) if you use both.
Texts are in data/lang/olds_nodeath.txt (English). Add a section such as
[ro] to translate them. No sounds, models or sprites are used.
Credits and licence
Written from scratch by alexit (olds.ro workshop) for workshop card LIB-1552.
Licence: GNU GPL version 3 or later (GPL-3.0-or-later).