Killfeed
Description
Displays server death notifications, with customizable messages, colors, history, and optional webhook delivery.
Configuration
Default configuration
KillFeed.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
| Option | Type | Description |
|---|---|---|
m_Enable | bool | 0: disables the module; 1: enables it. |
m_Logging | bool | 0: disables logs; 1: logs event messages. |
m_TimeDelay | int | Notification delay, in seconds. Clamped by the code to between 0 and 120. |
m_WeaponPreview | bool | 0: hides the weapon preview; 1: shows it for m_Weapon messages. |
m_HistoricCount | int | Maximum number of events in the interface history; 0 disables history. |
m_NotificationCount | int | Maximum number of simultaneous interface notifications. |
m_NotificationTime | int | Notification duration, in seconds. Clamped by the code to between 1 and 60. |
m_NotificationInChat | bool | 0: displays in the interface; 1: sends to chat instead of creating interface notifications and history. |
m_PlayerNameLength | int | Character limit for victim and attacker names. |
m_WeaponNameLength | int | Character limit for the weapon name in the interface. |
m_Colors | object | Interface and name colors, described below. |
m_Messages | object | Message templates by event type, described below. |
m_Webhook | string | Discord 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.
| Option | Type | Description |
|---|---|---|
m_Active | object | Highlight color for the active event. |
m_Background | object | Interface background color. |
m_Default | object | Default text color. |
m_Head | object | Color for headshot events. |
m_Killer | object | Attacker name color. |
m_Victim | object | Victim name color. |
m_Messages
Default values are preserved as provided in the module file. Edit the text while keeping the required placeholders.
| Option | Type | Description |
|---|---|---|
m_Animal | string | Death caused by an animal. |
m_Bleeding | string | Death from bleeding. |
m_Custom | string | Custom fallback message. |
m_Died | string | Death without an identified cause. |
m_Energy | string | Death from hunger. |
m_Explosive | string | Death caused by an explosive. |
m_Melee | string | Death in melee combat. |
m_Player | string | Death caused by a player. |
m_Suicide | string | Suicide. |
m_Trap | string | Death caused by a trap. |
m_Vehicle | string | Death caused by a vehicle. |
m_Water | string | Death from dehydration. |
m_Weapon | string | Weapon kill with shot distance. |
m_Zombie | string | Death caused by a zombie. |
The templates accept the following placeholders:
| Placeholder | Description | Example |
|---|---|---|
%VictimInfo% | Victim name | Caires |
%KillerInfo% | Attacker name | Ghost |
%WeaponName% | Weapon name | M4A1 |
%KillRange% | Shot distance in meters | 187 |
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.
| Control | Action |
|---|---|
] (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. |
