Skip to content

Killfeed ​

Description ​

Displays server death notifications, with customizable messages, colors, history, and optional webhook delivery.

Configuration ​

Default configuration ​

KillFeed.json
json
{
    "m_Enable": 0,
    "m_Logging": 1,
    "m_TimeDelay": 0,
    "m_WeaponPreview": 0,
    "m_HistoricCount": 10,
    "m_NotificationCount": 5,
    "m_NotificationTime": 5,
    "m_NotificationInChat": 0,
    "m_PlayerNameLength": 20,
    "m_WeaponNameLength": 20,
    "m_Colors": {
        "m_Active": {
            "m_A": 50,
            "m_R": 255,
            "m_G": 0,
            "m_B": 0
        },
        "m_Background": {
            "m_A": 50,
            "m_R": 0,
            "m_G": 0,
            "m_B": 0
        },
        "m_Default": {
            "m_A": 255,
            "m_R": 255,
            "m_G": 255,
            "m_B": 255
        },
        "m_Head": {
            "m_A": 255,
            "m_R": 255,
            "m_G": 204,
            "m_B": 0
        },
        "m_Killer": {
            "m_A": 255,
            "m_R": 0,
            "m_G": 179,
            "m_B": 0
        },
        "m_Victim": {
            "m_A": 255,
            "m_R": 255,
            "m_G": 26,
            "m_B": 26
        }
    },
    "m_Messages": {
        "m_Animal": "%VictimInfo% killed by %KillerInfo%.",
        "m_Bleeding": "%VictimInfo% died bleeding.",
        "m_Custom": "%VictimInfo% killed by %KillerInfo%.",
        "m_Died": "%VictimInfo% died.",
        "m_Energy": "%VictimInfo% died hunger.",
        "m_Explosive": "%VictimInfo% killed by %KillerInfo% with %WeaponName%.",
        "m_Melee": "%VictimInfo% killed by %KillerInfo% with %WeaponName%.",
        "m_Player": "%VictimInfo% killed by %KillerInfo%.",
        "m_Suicide": "%VictimInfo% killed himself.",
        "m_Trap": "%VictimInfo% killed by %KillerInfo% with %WeaponName%.",
        "m_Vehicle": "%VictimInfo% killed by %KillerInfo% with %WeaponName%.",
        "m_Water": "%VictimInfo% died dehydrated.",
        "m_Weapon": "%VictimInfo% was killed by %KillerInfo% with %WeaponName% from %KillRange% meters.",
        "m_Zombie": "%VictimInfo% was killed by Zombie."
    },
    "m_Webhook": ""
}

General options ​

OptionTypeDescription
m_Enablebool0: disables the module; 1: enables it.
m_Loggingbool0: disables logs; 1: logs event messages.
m_TimeDelayintNotification delay, in seconds. Clamped by the code to between 0 and 120.
m_WeaponPreviewbool0: hides the weapon preview; 1: shows it for m_Weapon messages.
m_HistoricCountintMaximum number of events in the interface history; 0 disables history.
m_NotificationCountintMaximum number of simultaneous interface notifications.
m_NotificationTimeintNotification duration, in seconds. Clamped by the code to between 1 and 60.
m_NotificationInChatbool0: displays in the interface; 1: sends to chat instead of creating interface notifications and history.
m_PlayerNameLengthintCharacter limit for victim and attacker names.
m_WeaponNameLengthintCharacter limit for the weapon name in the interface.
m_ColorsobjectInterface and name colors, described below.
m_MessagesobjectMessage templates by event type, described below.
m_WebhookstringDiscord webhook URL; empty disables delivery.

Set m_Webhook to the Discord webhook URL to send events. With m_TimeDelay=0, delivery runs on the server; with a positive delay, it runs on the client when displaying the event. Leave m_Webhook empty to disable delivery.

m_Colors ​

Each color is an object with integer channels m_A (opacity), m_R (red), m_G (green), and m_B (blue), from 0 to 255.

OptionTypeDescription
m_ActiveobjectHighlight color for the active event.
m_BackgroundobjectInterface background color.
m_DefaultobjectDefault text color.
m_HeadobjectColor for headshot events.
m_KillerobjectAttacker name color.
m_VictimobjectVictim name color.

m_Messages ​

Default values are preserved as provided in the module file. Edit the text while keeping the required placeholders.

OptionTypeDescription
m_AnimalstringDeath caused by an animal.
m_BleedingstringDeath from bleeding.
m_CustomstringCustom fallback message.
m_DiedstringDeath without an identified cause.
m_EnergystringDeath from hunger.
m_ExplosivestringDeath caused by an explosive.
m_MeleestringDeath in melee combat.
m_PlayerstringDeath caused by a player.
m_SuicidestringSuicide.
m_TrapstringDeath caused by a trap.
m_VehiclestringDeath caused by a vehicle.
m_WaterstringDeath from dehydration.
m_WeaponstringWeapon kill with shot distance.
m_ZombiestringDeath caused by a zombie.

The templates accept the following placeholders:

PlaceholderDescriptionExample
%VictimInfo%Victim nameCaires
%KillerInfo%Attacker nameGhost
%WeaponName%Weapon nameM4A1
%KillRange%Shot distance in meters187

Controls ​

With the module enabled and m_NotificationInChat=0, the controls below toggle the local interface. They require no administrative permission. The distributed keys can be rebound in the game’s control settings.

ControlAction
] (UAACKillFeedHistoric)Shows or hides history. Notifications are hidden while history is open; closing it restores them according to the notification preference.
\ (UAACKillFeedNotification)Enables or disables notification display. If history is open, the choice takes effect when history is closed.

Released under the MIT License.