Configuration


The config.lua for the Premium version of Snowflake Killfeed remains entirely unencrypted for server owners to control core behavior loops.

Essential Variables

Framework / Identity Resolution

By default, the script looks for Qbox, QB-Core, or ESX logic.

Config.NameMode = 'steam'           -- Uses Steam names instead of RP character names
Config.SteamApiKey = ''             -- Required for Steam avatars (Get at steamcommunity.com/dev/apikey)
Config.ShowSteamAvatar = true       -- Display profile pictures natively in UI

The Discord Integration Filters

Avoid spamming your admin logs! You can natively mute trivial logs locally within the core module without an external bot handler. These filters are AND-gated (they must all be met to fire the webhook).

Config.DiscordWebhook = 'https://discord.com/api/webhooks/...'
Config.DiscordFilters = {
    minDistance = 100,               -- Only log kills over 100m. 0 logs everything.
    headshotOnly = false,            -- Mute body shots
    playerOnly = false,              -- Mute NPC deaths
}

Dedicated Redzones (Universal Arena & Native)

Do you run an environment where a killfeed is only appropriate inside an active PvP zone (like Paintball, Black Market, or Redzones)?

1

Using the Integrated Code (sf_blockwars)

If running SF Blockwars, simply put the string name of the zone. The script fetches the radius coordinate naturally:

2

Export Gating (PolyZone / ox_lib integration)

If using external management:

Then, trigger visibility from your external server zone system: exports.snowflake_killfeed:SetInRedzone(true)

Client Exports

You are not restricted to physical violence to cast UI modules! Use the built-in system API to announce custom events (admin slaps, drug overdoses). First, ensure your custom script is allowed to talk to the UI:

Then call the export natively on the Server Side:

Was this helpful?