Skip to content

Full Config — Social ​

The complete configs/server/social.lua for Smash Down: Los Santos — friends, profiles, notifications, and history.

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/social.lua

lua
-- Social: friends, profiles, match history (docs/superpowers/specs/2026-10-04-social-design.md).
-- Server-only. Everything is per character (cid); friends need progression on
-- (configs/server/progression.lua Enabled).
return {
    Enabled = true,
    MaxFriends = 100,         -- friends per character
    MaxOutgoing = 20,         -- friend requests a character can have waiting at once
    RequestDays = 7,          -- an unanswered request lapses after this many days
    Search = { MinChars = 3, Max = 10, Cooldown = 2 }, -- name search: letters needed, results, seconds between searches
    Recent = { Max = 20 },    -- "recent players" listed
    History = { MinHumans = 2, Keep = 50, ProfileRows = 10 }, -- record matches with >= MinHumans humans; keep Keep per character; show ProfileRows
    StatusPushPerSecond = 1,  -- friends' status pushes per recipient per second, at most
    NotifyOutside = true,     -- a friend request notifies a player whose arcade is closed (framework notification)
    NotifyCooldown = 600,     -- seconds: at most one such notification per sender and target in this window
    ReadsPerSecond = 4,       -- profile / recent / at-the-arcades reads per character per second, at most
}