Skip to content

Configuration

Main config structure and the settings most servers change

The main configuration file is 0r-garbage/config.lua.

Main Settings You Will Usually Change#

FieldWhat it controls
Config.CommandsMenu, leave task, and invite commands
Config.JobOptions.ranksExperience requirements for job levels
Config.JobOptions.startPointsEmployer NPC, blip, spawn points, and return point
Config.TasksTask rewards, goals, levels, and max team size
Config.DumpsterCoordsDumpster route coordinates
Config.ModelsDumpster, bin bag, and box models
Config.ThrowBinBagBroken bag reward system
Config.TabletItem based menu access
Config.JobUniformsJob clothing toggle
Config.TaskVehiclesGarbage vehicle models and plate
Config.BundleShortcut links to other 0Resmon tablet apps
Config.debugDebug mode

This version supports:

  • Command access
  • Item access
  • Lobby invite accept command

Default commands:

lua
garbagejob
leavegarbagetask
acceptgarbage

Levels and Tasks#

The progression system is split into two sections:

  • Config.JobOptions.ranks
  • Config.Tasks

ranks controls how much XP is needed for each level.

Tasks controls:

  • Required level
  • XP reward
  • Money reward
  • Goal count
  • Maximum player count

Employer and Spawn Points#

Use Config.JobOptions.startPoints to change:

  • Employer ped model
  • Employer location
  • Map blip
  • Task vehicle spawn points
  • Final return/destroy point

Trash Bag Reward Drops#

Use Config.ThrowBinBag if you want players to receive extra items when a bag breaks.

You can change:

  • active
  • breakChance
  • Reward item names
  • Reward labels
  • Reward counts

Vehicle and Bundle Settings#

Use Config.TaskVehicles to change the vehicle model names.

Use Config.Bundle if you want the tablet shortcuts to point to different resource names for:

  • 0r-delivery
  • 0r-towtruck

Localization#

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

Example:

cfg
set ox:locale "en"