Skip to content

Full Config — Logs ​

The complete configs/server/logs.lua for Smash Down: Los Santos — audit event 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/logs.lua

lua
-- SERVER-ONLY (not in fxmanifest files{}): audit logging, routed through server/brawl/audit.lua
-- to ox_lib lib.logger (backend picked by the `ox:logger` convar in server.cfg).
return {
    Enabled = true, -- master switch: false disables ALL audit logging

    -- Per-event switches; a missing key counts as on.
    Events = {
        match_start = true, -- a match began (players, stage, credit, stake, pot)
        match_final = true, -- a match settled (winner, placements, payouts)
        match_void = true, -- a match was voided (reason, refunds)
        forfeit = true, -- a player quit a running match (stake forfeited)
        charge = true, -- credits + stakes taken at match start (and any start rollback)
        payout = true, -- winnings / refunds paid, or queued for an offline player
        pending_payout = true, -- a queued payout delivered on the player's next load
        escrow_recovery = true, -- stakes left in escrow by a crash/restart turned into refunds
        suspect = true, -- a server-side reject that smells like a tampered client (relay flood, bad result)
        admin_command = true, -- a privileged admin command was run
    },
}