Configuration
The in-game store settings and the config files you can edit.
Most settings live in game under Admin Panel > Settings and are saved in the database. A few live in the config files inside gg_coinshop. Restart gg_coinshop after you edit a file.
In-game settings
| Tab | What you set there |
|---|---|
| Store | Store name, logo URL, primary colour, maintenance mode, the real-money currency shown on coin packages, and whether expired or out-of-stock products are hidden or removed |
| Home | Featured products (up to three product IDs) and daily drops with their minimum and maximum discount |
| Currency | Coin name and icon, bonus percentage display and your coin packages (coins, price, Tebex link, image) |
| Playtime | Playtime tracking on or off and how often playtime is saved |
| Battle Pass | XP per level, max tiers, premium pass cost, season end, daily challenges and playtime XP |
| Dealership | Dealership location, blip, ped, target icon, test drives and showcase vehicles |
Main defaults:
| Setting | Default |
|---|---|
| Store name | VIP SHOP |
| Coin name | Premium Coins |
| Playtime auto-save | Every 5 minutes |
| Battle pass XP per level | 1000 |
| Battle pass max tiers | 50 |
| Premium pass cost | 1000 coins |
| Playtime XP | 100 XP every 5 minutes |
| Daily challenges | On, 3 a day |
| Daily drop discount | 5 to 25 percent |
| Test drive length | 60 seconds |
Note Maintenance Mode hides the store from everyone except admins.
utility.lua
| Setting | What it does | Default |
|---|---|---|
debugMode | Prints debug information in the server console | false |
notifications | Notification style: ox, qb or esx | "ox" |
ProgressBar | Progress bar style: ox, qb or esx | "ox" |
framework | Forces a framework: qb-core, qbx_core or es_extended. Leave blank to detect it. | "" |
inventory | Forces an inventory, for example "ox_inventory". Use the inventory's resource name. Leave blank to detect it. | "" |
target | Forces a target: ox_target or qb-target. Leave blank to detect it. | "" |
Fuel and key scripts for test-drive vehicles are detected in gg_coinshop/core/lib/miniBridge/client.lua.
config/shared/settings.lua
| Setting | What it does | Default |
|---|---|---|
default_garage | Garage that bought and won vehicles go to, for car, water and air | "motelgarage" for all three |
command.enabled, command.name | Chat command that opens the store | true, "coinshop" |
keybind.enabled, keybind.name | Default key that opens the store | true, "F9" |
screenshots.default_image_path | Vehicle image used when a product has no screenshot. %s is the model name. | https://cdn.sky-systems.net/vehicles/%s.png |
screenshots.vehicle_color | Paint colour used for vehicle screenshots | 111 primary and secondary |
config/server/server.lua
| Setting | What it does |
|---|---|
cfg.server.admins | Owner admins, by license2. See Installation. |
cfg.server.keys.fivemanage | Fivemanage API key. With a key, vehicle screenshots are uploaded to Fivemanage. Without one, they are saved in gg_coinshop/web/dist/vehicle_images/. |
config/lang.lua
All text players see. Change the strings, keep the keys.
