Configuration
Main config structure and the settings most servers change
This resource uses two main configuration files:
0r-garbage/config/main.lua0r-garbage/config/job.lua
Main Settings In config/main.lua
Config.locale
Active locale
Config.GarbageMenu.openWithCommand
Menu command
Config.GarbageMenu.leaveCommand
Leave job command
Config.GarbageMenu.openWithKey
Menu keybind
Config.GarbageMenu.openWithItem
Item based menu access
Config.GarbageMenu.allowedJobs
Restrict who can open the menu
Config.GarbageMenu.requiredMinDistance
Distance check for menu access
Config.Levels
XP levels
Config.XPMultipliersBetweenLevels
Progress multiplier between levels
Config.InfoBox
Info box align and toggle key
Config.ScoreBox
Score box position
Config.CleanMoney
Reward money handling
Config.GarbageBagMoneyPerBag
Extra money per deposited bag
Config.IncludeOpenedBagRewardsInPayout
Whether bag loot value is added to payout
Config.JobClothing
Job clothing toggle and outfits
Config.debug
Debug mode
Config.BypassCooldown
Ignore cooldown checks
Menu Access
This version supports 3 ways to open the menu:
Command
Keybind
Item
Default values:
Main Settings In config/job.lua
config/job.lua controls the actual gameplay structure.
The most important sections are:
employersblipsgarbageBagscenarioSlotsscenarios
Scenarios
The default scenarios are:
easymediumfreelance
Each scenario controls:
Team size
Maximum active teams
Cooldown
Allowed vehicles
Money rewards
Experience rewards
Step order
Step Modules
The script uses these gameplay step modules:
cleaning_garbage_containergarbage_processinggarbage_container_searchfreelance_cleaner
If you want to rebalance the job, you will mostly edit the scenario rewards and step settings in config/job.lua.
Clothing, Reward, and UI Settings
The most commonly changed V2 settings are:
Config.JobClothingConfig.GarbageBagMoneyPerBagConfig.IncludeOpenedBagRewardsInPayoutConfig.InfoBoxConfig.ScoreBox
Localization
This resource uses locale files in the locales/ folder. The default locale is handled through ox_lib.
Example:
Last updated