> For the complete documentation index, see [llms.txt](https://code-after-sex.gitbook.io/script-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://code-after-sex.gitbook.io/script-documentation/cas-roulette/commands.md).

# Commands

Every CAS Advanced Roulette System command: list tables, owed money and unconfirmed payments, add and remove tables, teleport, test money, force a result and print a table's state.

[Back to the guide](/script-documentation/cas-roulette/cas-advanced-roulette-system.md)

An admin is a player with the ace `casroulette.admin` (`Config.AdminAce`) or one of the framework groups in `Config.AdminGroups`.

| Command                                           | Who                                                                        | What it does                                                                                                            |
| ------------------------------------------------- | -------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
| `/roulette_tables`                                | admin, console                                                             | every table: phase, round, players, money on the felt, position                                                         |
| `/roulette_owed`                                  | admin, console                                                             | every open record: owed money, stakes on the felt, unconfirmed payments                                                 |
| `/roulette_owed pay <serverId>`                   | admin, console                                                             | pay what a player is owed now                                                                                           |
| `/roulette_owed resolve <character> paid\|unpaid` | admin, console                                                             | clear an unconfirmed payment after you checked the player's cash: `paid` if the money arrived, `unpaid` to owe it again |
| `/roulette_addtable [label]`                      | admin                                                                      | add a table 1.5 m in front of you, facing you (saved)                                                                   |
| `/roulette_removetable <tableId>`                 | admin, console                                                             | remove a table added in game (only when nobody sits at it and no chips are on it)                                       |
| `/roulette_tp [tableId]`                          | admin; everyone with `Config.TeleportForEveryone` or `Config.TestCommands` | teleport next to a table                                                                                                |
| `/roulette_money <dollars>`                       | admin; everyone with `Config.TestCommands`                                 | add money to your cash (for testing)                                                                                    |
| `roulette_force <tableId> <0-36\|00>`             | server console / RCON only                                                 | force the next result (for testing)                                                                                     |
| `roulette_state <tableId>`                        | server console / RCON only                                                 | print the table state as JSON                                                                                           |

`<character>` is the record key `/roulette_owed` prints at the start of each line: `vorp:<charIdentifier>` on VORP, `rsg:<citizenid>` on RSG.

`Config.TestCommands` and `Config.TeleportForEveryone` are `false` in the shipped config. Turn them on only on a test server.
