Skip to main content

The Economy of Roles


Jobs are the defining feature of the DarkRP gamemode. By properly configuring your jobs.lua file, you can create a unique social hierarchy ranging from Police Officers and Gun Dealers to custom roles specific to your community’s lore.
Reading TimeDifficultyLast Updated
8 minutesIntermediateJanuary 2026

1. Locating the Configuration

All custom content for DarkRP should be placed inside the DarkRP Modification addon to ensure your changes aren’t overwritten by gamemode updates.
  • Path: /garrysmod/addons/darkrpmodification/lua/darkrp_customthings/jobs.lua

2. Job Syntax Breakdown

A standard job entry follows this Lua structure:
TEAM_POLICE = DarkRP.createJob("Civil Protection", {
   color = Color(25, 25, 170, 255),
   model = {"models/player/police.mdl"},
   description = [[The protector of the city. Maintain the peace.]],
   weapons = {"arrest_stick", "stunstick", "door_ram"},
   command = "cp",
   max = 4,
   salary = 65,
   admin = 0,
   vote = true,
   hasLicense = true,
   category = "Civil Protection",
})

3. VIP-Only Restrictions

To restrict a job to a specific user group (e.g., VIPs), add a customCheck function to the table:
   customCheck = function(ply) return ply:GetUserGroup() == "vip" or ply:IsAdmin() end,
   CustomCheckFailMsg = "This role requires a VIP or Staff rank!"

Support Channels

If you need assistance or have any questions, please contact our support team:

First Month Discount

Use code KB20 at checkout to get 20% off your first month of hosting!

Last Updated: January 2026 | GMod: Job market updated.