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
- On your PlayYourWay panel: File Manager → addons/darkrpmodification/lua/darkrp_customthings/jobs.lua. If
darkrpmodificationdoesn't exist, install it from the FPtje/darkrpmodification repo first (drop the folder intoaddons/). - Paste the contents above. Don't edit the stock
jobs.luathat ships with DarkRP — your changes will get blown away on the next update. - Restart the server (or run
lua_openscript_clfor a hot reload on supported builds). - Verify in-game:
/citizen,/police, etc. should appear inF4.
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.
/citizenforcommand = "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.