wrenchSetup and Items

Real setup flow, database behavior, localization, and required items for 0r-garbage-v2

This page covers the setup parts you should finish before touching scenarios: dependencies, server.cfg order, database behavior, localization, streamed assets, and required items.

Required Dependencies

start oxmysql
start ox_lib
start framework -- es_extended, qb-core, or qbx_core
-- other resources
start 0r_lib
start 0r-garbage-v2

Database

You do not need to import SQL manually for this script.

The real resource creates the profile table automatically in modules/mysql/server.lua:

read-me/database.sql can still be kept as a reference file, but the script already creates the table on start.

Localization

Language selection for this resource starts from:

Default source value:

If you want another language:

  1. Change Config.locale in config/main.lua

  2. Make sure a matching locale file exists in the locales/ folder

Ready To Paste Item Tables

If you want to install the items fast, use the blocks below directly in your inventory files.

The real source uses:

  • garbage_tablet for menu access

  • metalscrap, copper, plastic, aluminum, glass in garbageBag.openRewards

  • packed_weed, packed_meth, money, plastic, copper in container search loot

OX Inventory

QB Core

Streamed Assets

This resource streams default garbage bag assets and requests:

Do not delete the stream/ files unless you are replacing the default prop setup yourself.

Final Checklist

  • 0r_lib starts without errors

  • 0r-garbage-v2 starts without errors

  • garbage_tablet exists if openWithItem.active = true

  • The profile table is created automatically in MySQL

  • The custom garbage bag props load in game

Last updated