Casino overview
Three games — blackjack, slots, roulette — built on top of Economy. Members bet currency; results are paid out from the same wallet.
Games
| Game | Style |
|---|---|
| Blackjack | Card game vs the bot dealer. Hit, stand, double, surrender. |
| Slots | 3-reel slot machine. Weighted symbols, optional wild. |
| Roulette | European or American wheel. Outside bets, dozens, columns, straights. |
Settings
Dashboard: Casino. Single page with:
- Global settings — min/max bet, cooldown between hands, allowed channels, allowed roles, min level requirement.
- Per-game tuning — payouts, deck count (blackjack), wheel variant (roulette), symbol list (slots), house edge bps.
- Rewards — XP on win / push / loss (independent of payouts).
- Analytics — daily stats per game.
Slash commands
/pcasino blackjack [bet]— start a hand/pcasino slots [bet]— spin/pcasino roulette [bet] [target]— bet on the wheel (target = the bet description, e.g.red,12,dozen-1)/pcasino stats— your personal stats/pcasino cancel— cancel your active hand (blackjack only; refunds bet)
Eligibility
Before any game, Phantom checks:
- Casino module enabled
- The specific game enabled
- Your roles are allowed (empty list = everyone)
- The channel is allowed (empty list = anywhere)
- Your level meets the minimum (
0= any) - Your bet is within the min / max range
- Your wallet has enough to cover the bet
- You're off cooldown (since your last hand)
- You don't already have an active hand (blackjack only)
If any check fails, the bot tells you which one.
How payouts work
On a win, the returned bet and winnings are credited together in a single ledger entry. Losses leave the bet deducted; no separate "you lost X" message necessary.
House edge
Optional per-game tuning: house_edge_bps (basis points, 1% = 100 bps). Phantom applies it as a small downward adjustment on payouts.
- Default for all three games: 0 bps (no edge).
- A typical "real casino" edge is 50–200 bps per game (slots higher; blackjack lower).
- The dashboard's hard cap is 5000 bps (50%) — well below what a member would notice as broken.
Cross-server
Casino state is per-guild. There's no cross-server casino (and shouldn't be — currencies don't translate).
Permissions
casino.view— see settings + analyticscasino.edit— change tunables
Members don't need any permission to play (it's open by default, gated only by your allowed_roles / allowed_channels lists).
Limits
- Min bet: 1
- Max bet: 1,000,000,000 (1B)
- Cooldown: 0–3600 seconds
- Hand TTL (blackjack): 30s–30min
Related pages
- Economy overview — required dependency
- Blackjack
- Slots
- Roulette
