Configuration
Everything lives in config.lua — the item, keybind, sound, the holding animation, payouts and score limits.
everything is in config.lua. the defaults work out of the box, so you only touch what you want
to change.
opening
itemName— the inventory item that opens the console.command— a chat command to open it (/arcadeby default), set tofalseto disable.useKeybind/keybindDefault— register a rebindable key to open it (off by default).
sound
sound = { enabled = true, volume = 0.35 }the sound is a self-contained chiptune synth in the ui, there are no audio files. turn it off or change the volume here.
the holding animation
animation = {
enabled = true,
dict = 'cellphone@',
clip = 'cellphone_text_read_base',
flag = 49,
prop = 'prop_npc_phone_02', -- set to false for no prop
propBone = 28422,
propPos = vec3(0.0, 0.0, 0.0),
propRot = vec3(0.0, 0.0, 0.0)
}while the console is open your ped holds the handheld and taps at it. swap the animation or the
hand prop here, or set prop = false for just the animation. tune propPos / propRot if the
prop sits wrong in the hand.
games
games = { 'badlands', 'turbo', 'cash', 'viper', 'leap', 'stacker', 'bricker' }this is the menu order, and which games show up. remove one to hide it.
payouts
payout = {
enabled = false,
moneyType = 'cash',
perPoint = 0.0,
maxPerRun = 0, -- hard cap of coins for one run, 0 = no cap
cooldownMs = 60000 -- minimum time between payouts per player
}arcade scores are reported by the client, so a cash payout is trusted the same way any client-scored minigame is. that's why it's off by default. when you enable it the server still:
- clamps the submitted score to
scoreClamp, - caps the coins per run with
maxPerRun, - and rate-limits payouts per player with
cooldownMs.
if you want the fun without the exploit surface, leave payouts off and keep the leaderboard, which carries no reward.
score limits
scoreClamp = { badlands = 100000, turbo = 100000, ... }the server rejects any score above these per game. they're a backstop against obviously spoofed numbers, tune them to whatever a real run can realistically reach.
framework / inventory / database
framework, inventory and database are covered on the framework
page. all three default to auto.