Skip to content

Still missing

The wiki is still being written. This is what it doesn't cover yet.

Coming to pages

  • 3D views of the Crowd gamesKeno, the Dice Tower, Bingo, Racing and the Game Show get theirs once their models are ready.
  • Moving pictures of the Crowd gamesThe same games, moving.
  • 3D views of the Prize Album and the display caseNeither has a model copy to turn yet.
  • PhotographsKeno, the Dice Tower and the Game Show have no photograph yet.

Numbers

  • Odds, prices and payoutsThe wiki quotes none until the game's balance is final. In game, /highrollers odds shows any game's paytable.

Odds and datapacks

Back to the top

Most of the mod’s odds aren’t buried in code. Each game reads its paytable or rules from a plain JSON file in the mod’s data folder, so any datapack can replace it. And /highrollers odds tells players what your server is really running.

In short, a server owner can change what a game pays with a datapack, and players can always check it in game. Switch to the Advanced view for where the files are, how to replace them and what the command prints.

The mod ships its cards under data/highrollers/, one folder per kind.

Folder Card Picked by
slot_machine/ classic Each cabinet, with /highrollers machine
video_poker/ jacks_or_better_8_5, jacks_or_better_9_6 Each cabinet, with /highrollers machine
dice_payouts/ (Sic Bo), craps_payouts/, baccarat_rules/, big_six_payouts/ standard Every table of that game
holdem_rules/, liars_dice_rules/ standard Every table of that game
dice_tower_payouts/, game_show_payouts/, racing/ standard Every one of that game
keno/ standard The Keno Board and the laptop’s Keno
fortune_vault/ standard Every Fortune Vault
scratch_card/, pull_tab/ Four cards, three designs Every file is on sale
gacha_rules/, plinko/, coin_pusher/, claw_crane/, pachinko/ standard Every arcade machine of that kind
prize_catalogue/ default, casino_goods, gacha_figures comps.realItems picks the prize machine’s shelf
comps/, jackpot/ default Comp points and tiers, and every jackpot link
online_slot/, online_plinko/, online_case/, online_missions/ The laptop’s own Only the shipped names are read

Roulette has no card: its wheel is the config’s. Blackjack’s rules, and the laptop’s Mines, Hi-Lo, Dragon Tower, Balloon, Crash, Flip, Dice, Lucky Cups and Wheel, take their numbers from the configuration.

There are two ways to use a datapack.

Replace a shipped card. Put a file at the same path in your own datapack, for example data/highrollers/dice_payouts/standard.json. Your copy takes the place of the mod’s. The shipped format is the best guide: copy the file from the mod jar and edit it.

Add a new card. For a slot cabinet or video poker, put a file under a name of your own, such as data/mypack/slot_machine/lucky.json. Then use /highrollers machine <pos> mypack:lucky to point a cabinet at it. See Commands and permissions. A new scratch card or pull-tab design simply joins the machine’s set. In the other folders, only the shipped name is read.

A few things worth knowing:

  • Test a card on a copy of your world first. A file that isn’t valid JSON, or is missing a key, is skipped with an error in the server log. A number out of range can do worse in some folders and stop the reload. Check the log after every reload.
  • A missing id falls back to the built-in card, so a cabinet placed under one datapack still works under another.
  • Vanilla /reload picks up new packs. /highrollers reload does the same reload for packs that are already on, so a brand new pack needs the vanilla /reload.
  • A round plays the card it started on. A table keeps its card from the first bet, and a dealt video poker hand from its deal. The new card takes effect at the next round.
  • The laptop checks what it can draw. A Keno card has to keep 80 numbers, 10 picks and 20 drawn, laptop Plinko eight rows, and a slot card the laptop’s own screens, or the shipped card plays.
  • Players’ clients never get the cards. What they see is sent to them worked out. Scratch cards and pull-tab designs are the exception, sent to everyone at login and after a reload. JEI’s pages show the shipped cards.

/highrollers odds <game> is open to every player. It prints the paytable and the return for a game, and it works from what the server actually loaded rather than from what the mod ships. That matters because the client’s copy of a datapack is empty.

The header names the card it read, by id:

  • From the card, written by a datapack on this server. The card was loaded as data. The mod’s own cards load this way too, so compare the figures to see whether your pack took.
  • From the card the mod ships, with no datapack overriding it. Nothing supplied that card, so the built-in one is in use.
  • From this server’s config rather than a datapack card. For games like the laptop’s climbing games, where the config sets the edge.

And about the command itself:

  • Tab completion lists all 41 games, from slots and video_poker through roulette, blackjack, holdem, keno, bingo and the laptop’s games.
  • mines also takes a number of mines, from 1 to 24.
  • slots and video_poker print the shipped default card, not one a cabinet was switched to.
  • roulette shows the wheel new tables get.

Every figure comes from the same rules code the game is paid by, so what players read is what the server does. The numbers themselves are still being balanced, so run the command in game for the current ones.

  • Function tags #highrollers:v1/on_win, on_loss and on_jackpot. See Integrations.
  • Block and item tags: highrollers:tables (every block a game is played at), highrollers:decor (everything else) and highrollers:chips.
  • Where casinos generate: the structure set highrollers:casinos and the biome tag highrollers:has_structure/casino.
  • Recipes, loot tables and advancements, like any mod’s.