Installation
Install Casino Creator and its props, add the items, add three lines to server.cfg, and update from 1.0.0.
Nothing to set up for these casinos: Belladonna, Prickly Pair, Baylight, Diamond, 4 Dragons, Molo, Patoche, Pearls and Jurassic Jackpot are laid out already. If you run one of those maps, install Casino Creator below and start the map; its casino is in the world with nothing to place or configure. Ready-made casinos lists the map resource each one needs. For any other map, you lay the casino out yourself with the builder.
Installing takes these pages: the steps below, then Items for your inventory and Jobs for the casino job.
1. Download the resource
Download gg_casino from your Cfx.re portalOpens your granted assets filtered to it. Sign in with the Cfx.re account that bought it.Open portalThe download holds two folders, gg_casino (the script) and gg_casino_props (the tables, machines, wheels, counters and every other model it streams). Put both in your server's resources folder and keep their names.
2. Install the dependencies
Put these in your server's resources folder. Skip any you already run:
Casino Creator needs gg_lib 1.0.31 or newer, free on GitHub. On an older one the casino stops at start and says so in the server console. Then add yourself as an admin in gg_lib so you can open Script Studio and the builder.
Casino Creator runs on Qbox, QBCore and ESX, with any inventory on the supported inventories list. On ESX, use one of those inventories: ESX's own built-in inventory is not supported, because it cannot keep what the casino's items carry, such as a slip's amount or a machine's game.
3. Add the items
Add the chips, the slip, the tablet and the player casino items to your inventory, and copy their pictures into your inventory's image folder. Items has them for ox_inventory, QBCore inventories and qs-inventory, ready to paste.
4. Add it to server.cfg
Add these lines after oxmysql, ox_lib, your framework and your inventory, in this order:
ensure gg_lib
ensure gg_casino_props
ensure gg_casino
Skip ensure gg_lib if you already have it. Casino Creator makes its own database tables the first time it starts. Every setting is in Script Studio: see Configuration.
5. Add the casino maps (optional)
The GG Studio casino maps are sold on their own. Each one works by itself, and Casino Creator fills it with its machines, tables, wheel and staff as soon as it runs:
| Map | Resource |
|---|---|
| The Belladonna Casino & Resort | gg_mlo_belladonna (needs gg_lib 1.0.31 or newer) |
| The Baylight Casino | gg_mlo_baylight |
| The Prickly Pair Casino & Saloon | gg_mlo_pricklypair |
Put the ones you own in resources and ensure them in server.cfg, anywhere after gg_lib. Casinos from other makers' maps come ready too: see Ready-made casinos.
With ox_doorlock running, these three maps lock their own staff doors. Give each casino a job so its staff can open them: see Jobs.
Check it works
- Restart your server and check the console for red
[gg_casino]lines. An oldergg_libprints one. - Type
/ggsettingsin game and pick Casino Creator. - If you run one of the maps in Ready-made casinos, start its resource: its casino is already in the world, and you can skip to step 4. Otherwise open Casinos, press Add Entry where you stand, and Save. Then press Open Builder on the new row and put down a Cashier Cage from Cashier. Building a casino has the rest.
- Walk up to the cage and use Cashier. The cashier menu opens with Buy Chips.
Updating from 1.0.0
Update gg_lib to 1.0.31 or newer first, then replace both gg_casino and gg_casino_props. Your settings and casinos carry over.
1.0.1 takes out some games: craps, keno, the race and sports book, Bell Lap, Big Six, Bellfall and the Prize Claw. They are handled on the first start:
- A player's machine or table running one of those games switches to a game that is still in the casino. Its owner can pick another with Change Game.
- Anything still owed on keno tickets, race and sports bets, Bell Lap or Big Six is paid back to the player as cash.
- Those games' rows stay in your database. Nothing is deleted.
- Your Games list carries over as it is. A game you closed in 1.0.0, baccarat too, stays closed.
On the GG Studio casinos, the machines and tables of removed games are left off the floor. Where the new layout puts a game on one of those spots, it is put down there once:
- Baylight: blackjack on its three side tables, and four machine banks.
- The Belladonna: two Texas Hold'em tables where Bellfall and Bell Lap stood, and two machine banks.
- The Prickly Pair: roulette on its second table.
The console prints one line per casino with what was put down. A spot you already changed, moved or took away is left as it is.
The Belladonna has 17 more spots where removed games stood, and they stay empty: the craps table, the Prize Claw, 10 single machines and 5 machine banks. To fill them, open Casinos in /ggsettings, press Open Builder on the Belladonna's row, and put machines or tables there.
