r_casino Games
Bet limits, odds and payouts for the six r_casino games: Coinflip, Mines, Crash, Plinko, Blackjack and Cases.
Every game is set in R.Games in config.lua. The server uses the same values, so nobody can bet
outside your limits. The defaults keep about 3% for the house in every game.
Coinflip
Coinflip = {
MinBet = 100,
MaxBet = 10000,
WinChance = 48.5, -- % chance the player wins the flip (48.5 with a 2.0x payout = 3% house edge)
Payout = 2.0, -- winnings = bet * payout
},Move WinChance toward 50 for a fairer flip, lower it for a bigger house edge.
Mines
Mines = {
MinBet = 100,
MaxBet = 10000,
MinMines = 1, -- 5x5 board = 25 tiles
MaxMines = 24,
HouseEdge = 3,
MaxMultiplier = 1000, -- the multiplier never grows past this
},More mines pay more per safe tile. MaxMultiplier caps big wins on high mine counts.
Crash
Crash = {
MinBet = 100,
MaxBet = 10000,
HouseEdge = 3,
GrowthRate = 0.1, -- 0.1 = 2x after ~7 s, 10x after ~23 s
MaxMultiplier = 1000, -- the round always crashes at this multiplier at the latest
},Raise GrowthRate for faster rounds. The auto cash-out works even if the player lags.
Plinko
Plinko = {
MinBet = 100,
MaxBet = 10000,
Rows = { 8, 10, 12 }, -- selectable board sizes
DefaultRows = 10,
DefaultRisk = "medium", -- low, medium, high
Multipliers = {
[8] = {
low = { 5.6, 2.1, 1.1, 1.0, 0.5, 1.0, 1.1, 2.1, 5.6 },
medium = { 13, 3, 1.3, 0.7, 0.4, 0.7, 1.3, 3, 13 },
high = { 29, 4, 1.5, 0.3, 0.2, 0.3, 1.5, 4, 29 },
},
-- [10] and [12] follow the same shape
},
},Each list is the payout per landing slot, left to right. A board with N rows has N+1 slots.
If you add a row count to Rows, add its Multipliers table too.
Blackjack
Blackjack = {
MinBet = 100,
MaxBet = 10000,
BlackjackPayout = 2.5, -- natural blackjack pays bet * this
WinPayout = 2.0, -- normal win pays bet * this (push returns the bet)
DeckCount = 6, -- decks in the shoe
DealerStandsOn = 17, -- dealer draws until reaching this total
},Cases
Cases = {
RarityChances = {
common = 50,
rare = 35,
epic = 12,
legendary = 3,
},
},The chance of each rarity when a case opens. Keep the total at 100. The cases themselves are on Creating Cases.