ox_inventory format

The Casino Creator items in the ox_inventory format, for ox_inventory and Qbox, with their pictures.

1. Add the items

Open ox_inventory/data/items.lua and paste these entries inside the table, above its last }. Do not replace the whole file.

Lua
["gg_casino_chip_white"] = {
    label = "White Casino Chip",
    weight = 0,
    stack = true,
    close = true,
    description = "A white casino chip, worth what the casino set. Play it at the tables or cash it at the cage.",
},

["gg_casino_chip_red"] = {
    label = "Red Casino Chip",
    weight = 0,
    stack = true,
    close = true,
    description = "A red casino chip, worth what the casino set. Play it at the tables or cash it at the cage.",
},

["gg_casino_chip_green"] = {
    label = "Green Casino Chip",
    weight = 0,
    stack = true,
    close = true,
    description = "A green casino chip, worth what the casino set. Play it at the tables or cash it at the cage.",
},

["gg_casino_chip_black"] = {
    label = "Black Casino Chip",
    weight = 0,
    stack = true,
    close = true,
    description = "A black casino chip, worth what the casino set. Play it at the tables or cash it at the cage.",
},

["gg_casino_chip_purple"] = {
    label = "Purple Casino Chip",
    weight = 0,
    stack = true,
    close = true,
    description = "A purple casino chip, worth what the casino set. Play it at the tables or cash it at the cage.",
},

["gg_casino_chip_yellow"] = {
    label = "Yellow Casino Chip",
    weight = 0,
    stack = true,
    close = true,
    description = "A yellow casino chip, worth what the casino set. Play it at the tables or cash it at the cage.",
},

["gg_casino_chip_orange"] = {
    label = "Orange Casino Chip",
    weight = 0,
    stack = true,
    close = true,
    description = "An orange casino chip, worth what the casino set. Play it at the tables or cash it at the cage.",
},

["gg_casino_chip"] = {
    label = "Casino Chips",
    weight = 0,
    stack = true,
    close = true,
    description = "Casino chips, counted by the casino. Play them at the tables or cash them at the cage.",
},

["gg_casino_ticket"] = {
    label = "Casino Slip",
    weight = 0,
    stack = false,
    close = true,
    description = "A casino slip. Use it to hold it out and show what it pays. Any machine or the cage pays it once.",
},

["gg_casino_crate"] = {
    label = "Casino Crate",
    weight = 10000,
    stack = false,
    close = true,
    description = "A crated slot machine. Use it to set the machine down in your house or business.",
},

["gg_casino_machine"] = {
    label = "Casino Machine",
    weight = 10000,
    stack = false,
    close = true,
    description = "A casino machine cabinet. Use it to pick a game, pay for its software and set it down in your house or business.",
},

["gg_casino_table"] = {
    label = "Casino Table",
    weight = 15000,
    stack = false,
    close = true,
    description = "A casino table. Use it to pick a game, pay for its software and set it down in your house or business.",
},

["gg_casino_tablet"] = {
    label = "Casino Tablet",
    weight = 500,
    stack = false,
    close = true,
    description = "A casino's own tablet. Use it to run the casinos you own or work at: their machines and tables, money and accounts, staff, bar and orders.",
},

["gg_casino_wheel"] = {
    label = "Prize Wheel",
    weight = 20000,
    stack = false,
    close = true,
    description = "A prize wheel for your own business. Use it to set it down, then stock its prizes and run it from My Wheels on the Casino Tablet.",
},

["gg_casino_receipt"] = {
    label = "Gift Receipt",
    weight = 10,
    stack = false,
    close = true,
    description = "A service won on a prize wheel. Use it to read what you won and how to redeem it, then show it to the business's staff.",
},

Do not give them consume, export or a client block with status or usetime. ox_inventory then uses the item itself and never hands it to Casino Creator, so the slip, the machine, the tablet or the wheel does nothing and no error shows.

Keep stack = false on everything but the chips: each slip, machine, table, wheel and receipt carries its own amount, game or serial.

2. Add the pictures

Copy every file in gg_casino/!SETUP/IMAGES into ox_inventory/web/images. ox_inventory finds each picture by the item's name.

3. Restart

Restart your server, then buy a few chips at a cage. They land in your inventory with their pictures.

Support

Questions before you buy?

Ask the team in our Discord before you pay a thing. Setup help, update notes, giveaways and discount codes, all in one place.

924 online now2,300 members