Everything player-facing lives in config/shared.lua; server-side tuning in config/server.lua. Both are open files (not escrowed). Highlights:
Config.locale-'en'or'tr'(files inlocales/, add your own language by copyingen.json).Config.bets- betting on/off, min/max, money item. Bots never take part in bets.Config.bots- practice opponents for two-player games.Config.clawmachine.price,baseChance, plush pool - also adjustable live per location from/sgadmin.Config.frisbeeItem- throw keys, flight tuning, aim preview colours, charge time, impact (knocking small props; car damage and ped effects are off by default).Config.plushItems- hold pose. Positioning/orientation is measured automatically per model; you normally never need to touch this.- Many per-game values (prices, chances, timers) can be changed live from
/sgadminand are stored insocialgame_settings- config values act as defaults.
Economy integration (optional)#
By default money moves through the detected framework/inventory. To route it through your own economy, add your resource name to ServerConfig.economyResources and call:
exports['0r-socialgame']:SetEconomy({
getMoney = function(src) ... end,
removeMoney = function(src, amount) ... end,
addMoney = function(src, amount) ... end,
})