> For the complete documentation index, see [llms.txt](https://realisticnode.gitbook.io/rnsetups/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://realisticnode.gitbook.io/rnsetups/rncasino/configuration/tables.md).

# Tables

The file of each table - wheel, currency, chips, limits, timers, size and permission.

Each table has its own file, `tables/<name>.yml`, made by `/casino create <name>`. Change it in game with `/casino edit <name>`, or in the file (applied a few seconds after you save it). Changes made during a round are applied when the round ends.

```yaml
name: "<gold><bold>Roulette</bold> <gray>main"
enabled: true

location:
  world: "world"
  x: 1000.5
  y: -60.0
  z: 1000.5
  facing: 180
  center: false

wheel: EUROPEAN
style: MODERN
currency: vault
chips: [100, 500, 1000, 5000, 10000]
min-bet: 100
max-bet-per-player: 50000
max-bet-per-table: 0
max-bet-per-spot: 0
betting-seconds: 30
extend-seconds: 5
spin-seconds: 9
result-seconds: 6
size: 1.0
ring-radius: 4.0
permission: ""
```

| Option               | What it does                                                                                                                                                                                                                                                                                                               |
| -------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `name`               | Name on the hologram and in messages (colors allowed)                                                                                                                                                                                                                                                                      |
| `enabled`            | `false` hides the table; nobody can play                                                                                                                                                                                                                                                                                   |
| `location`           | Where the players stand, and `facing`: the way they look (`0` south, `90` west, `180` north, `270` east). Set it with `/casino move` and `/casino rotate`. `center`: on classic tables, `true` puts the ring centered on this point (new and moved rings), `false` puts it in front of it (rings made with 1.1.0 or 1.1.1) |
| `wheel`              | `EUROPEAN` (0) or `AMERICAN` (0 and 00)                                                                                                                                                                                                                                                                                    |
| `style`              | `MODERN` (3D table with a cloth) or `CLASSIC` (a ring of numbers on the floor; right click it to bet). See [Your first table](/rnsetups/rncasino/getting-started/first-table.md)                                                                                                                                           |
| `currency`           | `vault` (money) or `playerpoints`                                                                                                                                                                                                                                                                                          |
| `chips`              | The chips players can pick, up to 7. Shown on the rail as `100`, `500`, `1k`, `10k`...                                                                                                                                                                                                                                     |
| `min-bet`            | Smallest chip on one spot                                                                                                                                                                                                                                                                                                  |
| `max-bet-per-player` | Most one player may bet in one round (`0` = no limit)                                                                                                                                                                                                                                                                      |
| `max-bet-per-table`  | Most all players together may bet in one round (`0` = no limit)                                                                                                                                                                                                                                                            |
| `max-bet-per-spot`   | Most one player may put on one spot in one round (`0` = no limit)                                                                                                                                                                                                                                                          |
| `betting-seconds`    | Time to bet after the first chip                                                                                                                                                                                                                                                                                           |
| `extend-seconds`     | A chip placed in the last seconds brings the timer back up to this, once per round (`0` = off)                                                                                                                                                                                                                             |
| `spin-seconds`       | How long the wheel spins                                                                                                                                                                                                                                                                                                   |
| `result-seconds`     | How long the result stays before the chips are cleared                                                                                                                                                                                                                                                                     |
| `size`               | Size of the 3D table (on a classic ring, the biggest the blocks may be), `0.6` to `2.0`                                                                                                                                                                                                                                    |
| `ring-radius`        | Classic tables: radius of the ring in blocks, `2.5` to `12` (4 by default). The blocks get smaller or bigger to fill it                                                                                                                                                                                                    |
| `permission`         | Permission needed to play here, for example `rncasino.table.vip`. `""` = everybody with `rncasino.play`                                                                                                                                                                                                                    |

A value you delete from the file uses the one in `defaults` of `config.yml`.

## Edit menu

`/casino edit <table>` shows every option with its value: click to switch, type a number or a text in the chat, or pick the next value. The bottom row has **Go there**, **Move here**, **Turn** (left click 90° right, right click 90° left), **Build again** and **Remove table**.

<figure><img src="https://i.imgur.com/rHASRX9.png" alt="Editing one table"><figcaption><p>Editing one table</p></figcaption></figure>

## Many tables

You can have as many tables as you want, in any world. Each one runs its own rounds. A player can play at several tables, and the daily limits count all of them together.
