Installation
Install Advanced Garbage Job and start it in the right order.
1. Download the resource
Download gg_garbagejob from your Cfx.re portalOpens your granted assets filtered to it. Sign in with the Cfx.re account that bought it.Open portalPut the gg_garbagejob folder in your server's resources folder and keep its name.
2. Install the dependencies
These need to be installed and started before the script. Skip any you already run:
You also need ox_target or qb-target. The job finds your framework, inventory and target on its own. To force one, see Configuration.
3. Check the reward items
The trash, the shop and the daily reward give materials. Make sure these items exist in your inventory, or change them in the config files:
| Where | Items |
|---|---|
Finds in the trash (pickupData.lua) | copper, rubber, iron, metalscrap, plastic, glass, weapon_knife |
Shop (general.lua) | plastic, glass, copper, rubber, metalscrap, iron, steel |
Daily reward (general.lua) | Plastic, Glass, Copper |
See Reward items. The job needs no other items.
4. Add it to server.cfg
Add these lines in this order. Skip lines for resources you already start, and keep your framework, inventory and target above them.
ensure oxmysql
ensure ox_lib
ensure gg_garbagejob
There is no SQL to run. The tables are created on the first start.
Check it works
- Restart your server and check the console for errors from
gg_garbagejob. - Go to the Garbage Center blip and target the worker. The job menu opens.
- On Jobs, start Davis / Grove St House Cleanup. A garbage truck spawns at the center with your keys and the first area is marked on your map.
