Skip to content
Play Your Way logoPlay Your Way
section.tools.gmod.darkrp

DarkRP job generator

Build a custom DarkRP job roster without writing Lua. Edit jobs visually below, then copy the generated jobs.lua into your server's darkrpmodification folder.

1 job configured
Where to paste this
  1. On your PlayYourWay panel: File Manager → addons/darkrpmodification/lua/darkrp_customthings/jobs.lua. If darkrpmodification doesn't exist, install it from the FPtje/darkrpmodification repo first (drop the folder into addons/).
  2. Paste the contents above. Don't edit the stock jobs.lua that ships with DarkRP — your changes will get blown away on the next update.
  3. Restart the server (or run lua_openscript_cl for a hot reload on supported builds).
  4. Verify in-game: /citizen, /police, etc. should appear in F4.
Field reference
  • Team variable must start with TEAM_ and be unique. Lua treats it as a global so any duplicate breaks the script.
  • Command becomes the in-game switch, e.g. /citizen for command = "citizen".
  • Model must point at a valid player model the server has installed. Standard HL2 models are always available; workshop models need the relevant content addon mounted.
  • Salary is paid every payday (default: every 5 min). Mayor is usually 100, citizens 45, hobos 0.
  • Max caps concurrent players in this job. 0 = unlimited.
  • Weapons spawn in the player's inventory each time they choose the job — comma-separated weapon_* classnames.