Common problems
Fixes for the problems server owners report most with Advanced Garbage Job.
"Could not add item" after loading trash or claiming the daily reward
The reward item does not exist in your inventory, or the player cannot carry it. The trash gives copper, rubber, iron, metalscrap, plastic, glass and weapon_knife, and the daily reward gives Plastic, Glass or Copper with capital letters. Change each item to the exact name your inventory uses. See Reward items.
A shop purchase takes Waste Bucks but gives no item
The item does not exist in your inventory, or the player cannot carry it. The Waste Bucks are taken first and are not given back, and the player sees "Payment is on the table at the Garbage Center" instead of an error. Make every item in cfg.shopItems in config/shared/general.lua match your inventory, or remove the line.
"Not Enough Members" or "Too many members" when starting a route
The group does not fit the route's group size, shown on Jobs. Some routes need at least two players and some allow only two. Change the group, or change groups for that route in config/shared/routeData.lua.
"Complete jobs to earn payment" at the payment table
There is no pay waiting. Pay goes on the table only when the route's last stop is cleared. A route that was ended early pays nothing.
Anyone can work the job
The job is open to everyone by default. Set job in config/shared/general.lua, as shown in Configuration, then restart gg_garbagejob.
Changes do not show in /ggsettings
Advanced Garbage Job is not in the /ggsettings menu. Edit the files in gg_garbagejob/config/shared/ and restart the resource.
"Target system required for script to function"
The job needs ox_target or qb-target. Install one and start it before gg_garbagejob in server.cfg.
No keys for the garbage truck with qbx_vehiclekeys
The Qbox txAdmin recipe installs the main branch of qbx_vehiclekeys, which ignores the key request the job sends, and the request also fails when the qbx_vehiclekeys bridge is off. Install the qbx_vehiclekeys v1.0.2 release (the whole folder) and add this line to server.cfg, then restart. The keys arrive a moment after the garbage truck spawns.
setr qbx_vehiclekeys:enableBridge "true"
No keys with cd_garage when its key system is off
The job gives keys through cd_garage whenever it is started, even with its keys turned off. In core/lib/miniBridge/client.lua, under -- MARK: Add Keys, delete the cd_garage branch (the elseif GetResourceState('cd_garage') line and the two lines under it). Your other key script then gets the keys.
Fuel does not work with qb-sna-fuel
qb-sna-fuel is not in the fuel list, so the job sets the game's own fuel level. In core/lib/miniBridge/client.lua, replace esx-sna-fuel with qb-sna-fuel in the four places it appears, two under -- MARK: Get Fuel and two under -- MARK: Set Fuel. Both scripts use the same GetFuel and SetFuel exports.
The console shows </1>, an escrow error or "Failed to verify protected resource"
The download is damaged or incomplete. Download the latest version again from Granted Assets, replace the whole gg_garbagejob folder, and restart the whole server. If it still fails, post the console error in the Discord.
