slidersConfiguration

Main config structure and the settings most servers change

This resource uses two main configuration files:

  • 0r-garbage/config/main.lua

  • 0r-garbage/config/job.lua

Main Settings In config/main.lua

Field
What it controls

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

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:

  • employers

  • blips

  • garbageBag

  • scenarioSlots

  • scenarios

Scenarios

The default scenarios are:

  • easy

  • medium

  • freelance

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_container

  • garbage_processing

  • garbage_container_search

  • freelance_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.JobClothing

  • Config.GarbageBagMoneyPerBag

  • Config.IncludeOpenedBagRewardsInPayout

  • Config.InfoBox

  • Config.ScoreBox

Localization

This resource uses locale files in the locales/ folder. The default locale is handled through ox_lib.

Example:

Last updated