Skip to content

Full Config — Stats ​

The complete configs/server/stats.lua for Smash Down: Los Santos — statistics and leaderboard settings.

TIP

See the setup guide for explanations and examples. Download this file as a reference, and merge changes with the config shipped in your installed version.

Download server/stats.lua

lua
-- SERVER-ONLY (not in fxmanifest files{}): lifetime stats + the leaderboard (sd_brawl_stats).
return {
    Enabled = true, -- false = nothing is recorded and the leaderboard is always empty

    -- Humans a match needs at its start to count toward wins/losses/KOs. 2 keeps the leaderboard
    -- about beating people: set 1 to count solo matches against CPUs too.
    MinHumans = 2,

    LeaderboardSize = 10, -- rows returned (top N by wins, then KOs)
    CacheSeconds = 60, -- the leaderboard is re-queried at most this often
}