> For the complete documentation index, see [llms.txt](https://documentation.rcore.cz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor.md).

# Casino Editor

The Casino Editor is an in-game admin tool for creating, placing, and maintaining casino elements.

It opens through the `casinoeditor` command (server-permitted), then starts a free-camera editing mode with an interactive menu system.

## About the Casino Editor

The editor is a live world-builder for the casino resource. It lets you:

* browse editable entities by category,
* create new entities,
* move/update existing entities,
* register discovered map props as saved entities,
* and delete entities.

Changes are sent to the server and get synced with all players.

## How to open the Casino Editor

* Casino editor can be opened with a command `/casinoeditor`.
* Players need the Editor permission (`rcore.casino.editor`). How to set it up is in [Configure Permissions](https://documentation.rcore.cz/paid-resources/rcore_casino/installation.md#configure-permissions).

## Presets

The editor opens on the Presets list. A preset is one casino with everything in it: placed objects, settings, society and chips. `general` is the default one. It holds everything defined in the config files.

Select a preset to edit it. Everything you add while it is selected is saved into it. Editor and Config work only while it is on.

<table data-full-width="false"><thead><tr><th width="260">Setting</th><th>Info</th></tr></thead><tbody><tr><td>Turned On</td><td>Turns it on or off.</td></tr><tr><td>Editor</td><td>Place and edit everything in it.</td></tr><tr><td>Config</td><td>Settings of the casino itself: interiors, opening hours, minimap, enter and leave actions. More in <a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/casinos.md">Casinos</a>.</td></tr><tr><td>Display Name</td><td>The name players see, for example at the cashier. Leave it empty to show the map's name for an installed map, otherwise the preset name.</td></tr><tr><td>Enable Society</td><td>Turns the society on or off for everything in it, including anything you place later.</td></tr><tr><td>Society</td><td>The society everything in it uses. Changing it overwrites the society of every object.</td></tr><tr><td>Chips Item</td><td>The inventory item this casino uses as its chips. Shown only with <code>CasinoCurrency.InventoryChips</code>. More in <a href="#chips-item">Chips Item</a>.</td></tr><tr><td>Delete</td><td>Deletes it and everything in it. Turn it off first.</td></tr></tbody></table>

### Chips Item

Every casino has its own chips, so chips bought in one casino can't be played or cashed out in another. With `SeparateCasinoEconomies = false` in `config.lua` all casinos share them instead.

With `CasinoCurrency.InventoryChips`, chips are an inventory item, so every casino needs its own item, for example `casino_chips` and `paleto_chips`. With shared chips they can all use the same one. Set it in Chips Item. A casino without one doesn't work. The other currencies need nothing.

{% hint style="warning" %}
The item can't be changed while players have bets running in that casino. After a change, chips players hold in the old item no longer count there.
{% endhint %}

## Editor Categories

The Editor main page is split into grouped sections and opens dedicated menus for each module.

### Peds

<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/bartenders.md">Bartender</a></td><td><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-6d6d19cf223c23b74cff5494e2954fa08dadf0fe%2Fbartenders.jpg?alt=media">bartenders.jpg</a></td></tr><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/cashier.md">Cashiers</a></td><td><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-c841813a3c053a2e3258a332057d32576a553530%2Fcashier.png?alt=media">cashier.png</a></td></tr><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/ambient-peds.md">Ambient Peds</a></td><td><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-9861faee1f4ae79e3403f2977f9c08589bf6ed24%2Fpeds.png?alt=media">peds.png</a></td></tr></tbody></table>

### Games

<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/inside-track.md">Inside Track</a></td><td><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-ef2a7f803f7b822708b33eda335eaf9f1047ec4c%2Fit.png?alt=media">it.png</a></td></tr><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/lucky-wheel.md">Lucky Wheel</a></td><td><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-f1be944eefabb60ccd272e48e6f006e1fdb0f4dc%2Fluckywheel.png?alt=media">luckywheel.png</a></td></tr><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/roulette.md">Roulette</a> / <a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/blackjack.md">Blackjack</a> / <a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/poker.md">Poker</a></td><td><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-d981d746b7c177a8eb0f3ecd94210e094aaae211%2Ftables.png?alt=media">tables.png</a></td></tr><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/slots.md">Slots</a></td><td><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-e85965c79dc255e65b386f74ead341a6bf35d709%2Fslots.png?alt=media">slots.png</a></td></tr></tbody></table>

### Interior

<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/seats.md">Seats</a></td><td><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-c6e93ecb37343763efc50f441d3cdebe7c907e1e%2Fseat.png?alt=media">seat.png</a></td></tr><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/podium-spinners.md">Podium Spinners</a></td><td><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-e10dc77c163b2593f2b3662b46c6c5d9dd25b2f8%2Fpodium.png?alt=media">podium.png</a></td></tr><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/digital-walls.md">Digital Walls</a></td><td><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-4f93e6e0eed9780d36348bcae0db279b957e503d%2Fwall.png?alt=media">wall.png</a></td></tr><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/restricted-areas.md">Restricted Areas</a></td><td><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-bb820c27c8f9df0b8564ef96dd37b368e54bd9a0%2Fareas.png?alt=media">areas.png</a></td></tr><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/elevators.md">Elevators</a></td><td><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-c086a4ba0f5bcd45eaafcf8721ce4b089e018619%2Felevators.png?alt=media">elevators.png</a></td></tr><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/office-computers.md">Office Computers</a></td><td><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-6b3c06a8e28ebe39ceac343acf5c869675bfdf34%2Fcomputers.png?alt=media">computers.png</a></td></tr><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/walking-peds.md">Walking Peds</a></td><td data-object-fit="cover"><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-661765f9e87ae85929c421975ce9c97180fa8768%2Fwalkingpeds.png?alt=media">walkingpeds.png</a></td></tr></tbody></table>

### Others

<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/blip-icons.md">Blip Icons</a></td><td><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-5d558e47b97cb1ef68b0bd232f74c8a33ab8e7da%2Fblips.png?alt=media">blips.png</a></td></tr><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/casinos.md">Casinos</a></td><td><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-b5e01b5cd46735bc3f1666a553cbfea01b45c2d1%2Fcasinos.png?alt=media">casinos.png</a></td></tr><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/ambient-sounds.md">Ambient Sounds</a></td><td><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-cfd3bbf1b9ab80b4790e97e76078db0a57e86041%2Fsounds.png?alt=media">sounds.png</a></td></tr><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/checkpoints.md">Checkpoints</a></td><td><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-95a51a209560009fd5d150b1d67930192472636c%2Fcheckpoints.png?alt=media">checkpoints.png</a></td></tr><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/bouncers.md">Bouncers</a></td><td><a href="https://1037498771-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MZErcztD5BvrKnwRGJq%2Fuploads%2Fgit-blob-261ba4dfec4701b8a5aa84c5a756dc0e19a036af%2Fbouncers.png?alt=media">bouncers.png</a></td></tr><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/decorations.md">Props</a></td><td></td></tr></tbody></table>

### Extra

<table data-view="cards"><thead><tr><th align="center"></th><th data-hidden data-card-cover data-type="image">Cover image</th></tr></thead><tbody><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/scanner.md">Scan For Objects</a></td><td></td></tr><tr><td align="center"><a href="https://documentation.rcore.cz/paid-resources/rcore_casino/features/editor/editor-gizmo.md">Editor Gizmo</a></td><td></td></tr></tbody></table>
