Commands and permissions
Back to the topEverything lives under one root, /highrollers. Type it with nothing after it and you get a help list of the commands you’re allowed to run. A player sees a short list, an operator sees more.
This page is for server owners. Any player can check their own stats, and a server owner can let staff run the house commands without making them operators. Switch to the Advanced view for every command and permission.
What any player can run
Section titled “What any player can run”These have no permission check.
| Command | What it does |
|---|---|
/highrollers |
Lists the commands you can use |
/highrollers stats [player] |
Rounds played, wagered, won and lost, all time and this week, plus comp points and tier. Works for a player who’s offline. |
/highrollers odds <game> |
Prints what this server’s card for that game pays and returns |
/highrollers emote <text> |
Sends a custom text emote, when the server allows player emotes |
odds is public on purpose. A casino that won’t tell you its odds is the thing this mod exists not to be. See Odds and datapacks for what it prints.
What needs a permission
Section titled “What needs a permission”Six permission nodes guard the rest. On a plain server, with no permission manager installed, every node defaults to operator level 2, so nothing changes from what you’d expect.
| Node | Listed as | Lets someone |
|---|---|---|
highrollers.house.command |
Run /highrollers house | Run /highrollers house |
highrollers.house.audit |
Read the audit log | Run /highrollers audit |
highrollers.house.operate |
Run the operator commands | Run give, bank, table, machine and reload |
highrollers.house.account |
Read a player’s ATM balance | Run /highrollers account |
highrollers.house.manage |
Manage any table | Act as a co-owner at every table and jukebox: open the Pit Boss Key’s settings, fund or empty the bank, close a table, set cashier rates, break a sealed table, join anyone’s jackpot link, open a sealed casino’s chests, and see a bank in Jade |
highrollers.house.own |
Own any table | Act as the owner at every table: name and remove co-owners and hand a table over. It grants nothing else on its own |
- With a permission manager such as LuckPerms, you can give a floor manager
house.commandwithout making them an operator. The manager decides every node itself, so it can also take one away from an operator. Each node is its own switch because handing someone a list of tables is a different act from handing them the mint. - The console and command blocks pass every check, because they run at operator level. Any other source below level 2 doesn’t.
/execute as <player>is judged by that player’s nodes. - An offline player has no nodes by default.
- Both
manageandownare needed for an operator to move someone else’s table into a casino’s house. - The help list and tab completion only offer what each player can run.
Ownership itself isn’t a node, and nothing a player does at a table is gated by one. Stake limits are house policy, set in the configuration, or on the card for Texas Hold’em and Liar’s Dice. The racing cabinet’s card sets the steps its configured limits round to.
The house commands
Section titled “The house commands”These need highrollers.house.command.
/highrollers house listlists every table with its position, owner, bank and takings, and the totals. A table in an unloaded chunk says so./highrollers house jackpotlists the jackpot links and what their pools hold, clearing out links whose cabinets are gone. Nothing can change a pool./highrollers house maintenancesays whether maintenance is on, since when and who turned it on. Addonoroffto change it./highrollers house dealer <pos> on|offputs a dealer at a table, or removes one. It costs no villager. Further down that branch areoutfit costume|jacket,body male|femaleandtokebox on|off./highrollers house holdem <pos> bot on|offseats the house at a hold’em table. It buys in for the minimum out of the table’s bank, checks when it can and calls when it can’t.
Maintenance closes every table at once and sends every player’s credits home: to their pocket if they’re online, held for their next login if not. Stakes on a round not yet dealt or spun come back, a round already under way is played out and paid, and every open laptop game is played out too. A table in an unloaded chunk is dealt with when it loads. The banks stay where they are, and maintenance survives a restart. Everyone online is told when it starts and ends.
The operator commands
Section titled “The operator commands”These need highrollers.house.operate.
/highrollers give <player> <credits>mints chips into an online player’s pocket, from 1 to 1,000,000 credits at a time, and anything that won’t fit is held for them rather than dropped. It’s the one command that creates chips, so it’s written to the audit log, under the player who received them./highrollers bank <pos>shows a table’s bank, its owner and whether the house is banked. Addset <credits>to set the figure. It’s refused while a round is live, and at a found casino./highrollers table <pos> wheel european|americanpicks a roulette table’s wheel. Also refused mid-round./highrollers machine <pos> <id>picks which datapack card a slot cabinet or video poker machine runs. An id no datapack defines is refused, and tab completion offers the ones that exist. A dealt video poker hand finishes on its old card. No other table can be pointed at a card./highrollers reloadre-reads the packs that are already on, including every odds card and catalogue. Vanilla’s/reloadalso picks up new packs.
There’s deliberately no command that sets a player’s balance. Chips come from the cashier, and give is the one mint. Setting a bank moves no chips into or out of anyone’s pocket.
Audit log and ATM balances
Section titled “Audit log and ATM balances”/highrollers audit last [count]shows the most recent lines, up to fifty.audit player <player> [count]andaudit at <pos> [count]filter by player or table, andaudit tx <id>shows a single line. Needshighrollers.house.audit./highrollers account <player>reads what an online player has on deposit at an ATM, and only reads. Needshighrollers.house.account.
The audit log is a file a day, highrollers/audit/<date>.tsv in the world folder, one line for every credit that moves: who, where, what, how much, and the balance and bank after. A day is a UTC day, and audit shows times in the server’s own time zone. Old days are deleted after audit.retainDays, and audit.enabled turns it off. See Configuration.
Return values
Section titled “Return values”Each command returns a number a command block can store with /execute store: stats the rounds played, account the balance, house list the tables, audit the lines shown, and give, bank, table, machine and reload one on success and nothing on a refusal.
Gamerules
Section titled “Gamerules”The mod adds none. It reads one: with disableRaids on, or on Peaceful, a found casino’s defence raid never comes. See Breaking the bank.