Installation

Install the Coin Shop, add yourself as an admin and start it in the right order.

1. Download the resource

Download gg_coinshop from your Cfx.re portalOpens your granted assets filtered to it. Sign in with the Cfx.re account that bought it.Open portal

Extract it into your server's resources folder. Keep the folder name gg_coinshop.

2. Install the dependencies

You also need your framework, a supported inventory and ox_target or qb-target. The full list is on the overview.

Coin rewards in Playtime and Battle Pass need oxmysql 2.12.0 or newer.

3. Add yourself as an admin

Open gg_coinshop/config/server/server.lua and put your own license2 in the admins table:

Lua
cfg.server.admins = {
    ["license2:your_license_here"] = true,
}

Find your license2 in txAdmin: open Players, select yourself and copy the identifier that starts with license2:. Other identifier types do not work.

Important The file ships with example entries. Remove every entry that is not yours: anyone in this table has full control of the store.

People in this table are owner admins. They can give staff admin access in game, see Admins and permissions.

4. Set the default garage

Vehicles that players buy or win go into their garage. Open gg_coinshop/config/shared/settings.lua and set the garage names your garage script uses:

Lua
default_garage = {
    car = "motelgarage",
    water = "motelgarage",
    air = "motelgarage",
},

car is used for cars and bikes, water for boats and air for planes and helicopters.

5. Start the resource

Add the resources to server.cfg in this order. Skip lines you already have:

server.cfg
ensure oxmysql
ensure ox_lib
ensure qb-core        # or qbx_core / es_extended
ensure ox_inventory   # your inventory
ensure ox_target      # or qb-target
ensure gg_coinshop

Start gg_coinshop after your framework and inventory, so it can read your item list.

The database tables are created on the first start. The store also adds example content: an Example category, three products, a playtime reward, a battle pass reward and two daily challenges. Edit or delete them in the Admin Panel.

6. Sell coins on Tebex (optional)

To sell coins for real money, follow Create Tebex package.

Check it works

Join the server and type /coinshop or press F9. The store opens with an Admin Panel button at the bottom of the sidebar.

If the store opens without that button, your license2 is not in the admins table. Fix it, restart gg_coinshop and reopen the store.

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.

1,015 online now2,259 members