Create your addons
Create a job
Add a new role players can swap into via the F4 menu.
A job in DarkRP is a role players can switch into: Citizen, Cop, Mayor, Hitman, etc. Each job defines its loadout, salary, team affiliation, max slots, and any custom rules.
Coming soon. This recipe will walk through:
- Where job definitions live in a DarkRP-based addon (
Definitions/folder,JobDefinitionGameResource) - Creating a new job resource in the s&box editor
- Setting basic fields — name, description, color, model, salary, max players
- Configuring the loadout — what weapons / equipment the job spawns with
- Optional: team assignment (Police, Government, Crime, Civilian)
- Optional: custom permissions (e.g. "Mayor can edit laws")
- Optional: spawn behavior, voting requirements, demote conditions
- Testing the job locally in the s&box editor
- Publishing the addon and verifying the job shows up in the F4 menu in-game
A reference implementation is the DarkRP gamemode itself — its built-in jobs live in darkrp/Code/Definitions/Player/ and showcase every pattern you'll need.
Next steps
- Create a weapon — give your new job custom gear
- Create a vehicle — let your new job drive something custom