Skip to content
Rosti Studios

RS-Casino documentation · v1.0.0

Running a casino

The bank, the team and the settings screen: everything an owner does after the doors are open.

#Who is the owner

The player who places the cashier is the owner of that casino. Every machine and table they place belongs to them, and every table checks its bets against their cashier's bank, in the same dimension.

#The settings screen

Sneak and right-click with an empty hand on:

  • the cashier block or the cashier villager: bank and team,
  • a table or machine: that device's settings.

Only the owner, team members and operators can open it. For everyone else a sneak-click behaves as normal. A team member the server does not allow to change settings may look but not change anything.

#Device settings

Setting Applies to
Open every table and machine: guests can only play while it is on
Minimum stake and maximum stake tables and machines (the wheel has one fixed stake instead)
Betting time roulette
Prizes lucky wheel: item prizes for segments

Values are always clamped to the limits the server sets in the config.

#The bank

The cashier screen shows:

Bank (in chips) the whole balance
Profit (in chips) the balance minus the chips still in circulation, rounded up
Pay in put currency into the bank: 1, 16, 64 or all
Take out profit take out what is yours: 1, 16, 64 or all

You can only take out profit, never money the chips in players' hands could still claim. While bets are on a table, the bank cannot be used ("Not while bets are on the table").

#The team

Add players to the casino's team by name. They must be online when you add them.

Server setting Default
max_team_size 8 players besides the owner (0 for none)
team_may_change_settings true
team_may_use_bank true

Team members can place tables on the owner's name and, where allowed, change settings and use the bank.

#Staying solvent

A bet is accepted only if the bank could pay the worst case. The more large machines you run, the bigger the bank has to be. The top prizes are:

Game Top prize
Slot machine 100 times the stake
Scratch card 100 times
Plinko 25 times
Lucky wheel 10 times
Roulette 35 to 1 on a number
Craps 30 to 1 (two or twelve)
Blackjack 3 to 2

Set your minimum and maximum bets so the bank can absorb a lucky player.

#Safety nets

  • A restart does not lose bets or winnings: open bets and held payouts are saved in the world and paid out.
  • Breaking a table returns every bet to its player.
  • Unplayed credit on a machine returns to the player after two minutes.
  • If the cashier loses their desk the villager stops trading and tells you so.

#Staff

Roulette, blackjack and craps only play while a villager works at the table, and the cashier needs one behind the counter. A villager without a profession takes a free table like any workstation. Give each table a free, walkable space behind it. See Casino staff.

#Server-run casino

Operators can switch a cashier to admin mode: no bank, unlimited pay-outs. See Commands.

Something missing or wrong? Tell us on Discord. This documentation describes v1.0.0.