This page covers the minimum setup required to get the script running correctly: dependencies, server.cfg start order, database import, and required items.
Required Dependencies#
Recommended server.cfg Start Order#
start oxmysql
start ox_lib
start framework -- es_extended, qb-core, or qbx_core
-- other resources
start 0r-garbage
Database#
Import this file manually:
0r-garbage/database.sql
The script creates this table:
CREATE TABLE IF NOT EXISTS `0resmon_garbage_players` (...);
Required Items#
If you use tablet access, add this item:
garbage_tablet
If you keep trash bag reward drops enabled, make sure these reward items also exist:
metalscrapcopperplasticaluminumglass
OX Inventory Example#
{% tabs fullWidth="false" %}
["garbage_tablet"] = { label = "Garbage Tablet", weight = 100, stack = false },
QB Core Example#
{% tabs fullWidth="false" %}
garbage_tablet = { name = "garbage_tablet", label = "Garbage Tablet", weight = 100, type = "item", image = "garbage_tablet.png", unique = false, useable = true, shouldClose = false },
Final Checklist#
After setup, verify these points:
- SQL was imported successfully
ox_libandoxmysqlstart without errors0r-garbagestarts without errorsgarbage_tabletexists if item access is enabled- Reward items exist if broken trash bag rewards are enabled