Daily Spin
The daily prize wheel.
Everything except Perm can also be changed live in Admin → Daily Spin. Once saved there, the admin panel is used instead of this file until you press Reset to config. Turn the whole feature off with Features.DailySpin = false in shared/core.lua.
General
| Setting | Default | What it does |
|---|---|---|
Per | 'gang' | 'gang': one spin shared by the whole gang. 'player': every member gets their own spin |
CooldownHours | 24 | Hours between spins |
MinLevel | 1 | Gang level needed to spin |
Perm | false | Rank permission needed to spin, e.g. 'manage'. false = any member |
Prizes (Prizes)
Prizes = {
{ kind = 'dirty', amount = 5000, weight = 30, rarity = 'common' },
{ kind = 'cash', amount = 2500, weight = 25, rarity = 'common' },
{ kind = 'item', name = 'lockpick', amount = 3, weight = 18, rarity = 'uncommon' },
{ kind = 'xp', amount = 150, weight = 12, rarity = 'uncommon' },
{ kind = 'item', name = 'armour', amount = 2, weight = 8, rarity = 'rare' },
{ kind = 'dirty', amount = 25000, weight = 5, rarity = 'rare' },
{ kind = 'xp', amount = 1000, weight = 1.5, rarity = 'epic' },
{ kind = 'dirty', amount = 100000, weight = 0.5, rarity = 'legendary' },
},| Field | Meaning |
|---|---|
kind | 'cash' / 'dirty' (gang treasury), 'xp' (gang), 'item' / 'weapon' (the player who spun), 'vehicle' (gang garage) |
name | Item name, weapon item, or vehicle model |
amount | How many / how much |
weight | Relative chance: weight ÷ total weight. Decimals allowed |
rarity | common, uncommon, rare, epic, legendary. Colours the wheel |
label | Optional display name |
Up to 24 prizes.
A prize with an item that doesn't exist in your inventory is skipped, with a yellow warning in the server console. Rename lockpick and armour if your items are called something else.
More: Daily Spin.