Skip to content
View in the app

A better way to browse. Learn more.

Learn more

death-message-blocker/README.txt

README.txt
52 lines · 2.6 KB · Text
Raw
Death Message Blocker 1.0.0 (olds.ro)
=====================================

Hides chosen lines of the kill feed (the list of kills at the top right of
the screen), for example knife kills or suicides, and leaves every other
line as it is. Only the line is hidden: the kill, the frag and the death
count on the scoreboard as usual.

Requirements
  - AMX Mod X 1.10 or newer (no extra modules, ReAPI is not needed)
  - Tested on AMX Mod X 1.10.0.5490, ReHLDS 3.15.0.896, ReGameDLL_CS 5.30.0.814

Install
  1. Compile scripting/olds_deathblock.sma with amxxpc 1.10 and copy
     olds_deathblock.amxx to addons/amxmodx/plugins/.
  2. Copy data/lang/olds_deathblock.txt to addons/amxmodx/data/lang/.
  3. Copy configs/olds_deathblock.ini to addons/amxmodx/configs/ and edit
     the list (it hides knife kills and suicides at first).
  4. Copy configs/plugins/olds_deathblock.cfg to addons/amxmodx/configs/plugins/
     (if you skip this, the plugin writes the same file with the default on
     its first start).
  5. Add olds_deathblock.amxx to addons/amxmodx/configs/plugins.ini.

The list (addons/amxmodx/configs/olds_deathblock.ini)
  One entry per line; lines starting with ; are comments.
    knife, grenade, awp, ak47, ...   kills with that weapon, named as the
                                     kill feed names it ("weapon_knife"
                                     works too)
    suicide   a player killed themselves (console "kill", own grenade)
    team      a player killed a teammate (not with mp_freeforall 1)
    world     a death without a killing player (fall, trigger_hurt, bomb)
  An unknown line is skipped and the AMX Mod X log names it. Without the
  file nothing is hidden.

Admin command (flag "h", ADMIN_CFG; also from the server console)
  amx_dblock_reload   reads the list again, without a map change, and says
                      how many weapons and flags it found
  The access flag can be changed in addons/amxmodx/configs/cmdaccess.ini.

Settings (addons/amxmodx/configs/plugins/olds_deathblock.cfg)
  olds_dblock_log 0   1 = write every hidden line to the AMX Mod X log, e.g.
                        Hidden kill-feed line: "Tom" -> "Carl", weapon knife (weapon knife)
                      0 = do not log
  The log line is not written in the form of the game's own kill lines, so
  statistics tools that read the logs do not count a kill twice.

Texts are in data/lang/olds_deathblock.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-1551.
  Licence: GNU GPL version 3 or later (GPL-3.0-or-later).

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.