← All docsCivilian jobs
Swarm Job Center
A Town Hall job board: a clerk NPC and menu listing every civilian job with pay, difficulty, location and a Set GPS button to each job's start point.
QboxQBCoreESXstandaloneResource: Swarm_Job_Center
New to Swarm scripts? Read Getting started first. It covers Swarm Bridge, install order and the licence.
Requirements
Frameworks: Qbox, QBCore, ESX, standalone.
| Requirement | What it's for | Included |
|---|---|---|
swarm_bridge | Notifications and target. Included. | Yes |
ox_lib | Shared library. | No |
| ox_target or qb-target | The only way to open the board from the clerk. Without one, players use /jobs. | No |
Install
- Copy the folders
Swarm_Job_Center,swarm_bridgeinto your server'sresourcesfolder. Already haveswarm_bridgefrom another Swarm script? Keep just one copy, the newest. - Add them to
server.cfg, dependencies first:ensure ox_lib ensure ox_target ensure swarm_bridge # your Swarm job scripts here ensure Swarm_Job_Center - Database: nothing to import.
- Licensed edition only: put your ServerSecret in
swarm_bridge/licence/private_config.lua. One secret unlocks every Swarm script you own. How to get it. The Source Code edition has no licence check, so skip this. - Start the server and check the console for errors.
Configuration
Open config.lua and check these before going live. Anything marked as a placeholder should be moved to a spot that suits your map.
| Setting | What it does |
|---|---|
Config.Ped.coords | Where the job board clerk stands (vec4). Placeholder near City Hall. |
Config.Command | 'jobs' by default. Rename it if another script already uses /jobs, or set false to turn it off. |
Config.Jobs[].coords | The GPS point for each job card. Matches each Swarm job's default NPC; update it if you move a job's NPC. |
Config.Jobs[].resource | A card hides when its resource isn't running. Remove this field for non-Swarm jobs that should always show. |
Config.Locale | 'auto' follows the language set in Swarm Bridge. Set a code such as 'de' to force this script into another language. See Languages. |
Commands & permissions
| Command | Who | What it does |
|---|---|---|
/jobs | Everyone | Opens the job board from anywhere (name set by Config.Command). |
/jobcenterpos | Debug mode only | Prints and copies your position as a vec4. Only exists while Config.Debug = true. |
Debug helpers only exist while Config.Debug = true in config.lua. Leave debug off on a live server.
No ACE permissions are needed.
Keys
- Target the clerk with your target resource's key.
Good to know
- The Job Center is a directory. It doesn't set jobs or start shifts; each card just sets a waypoint to that job's own NPC.
- Cards ship for the 11 Swarm civilian jobs and hide automatically when a job isn't running.
Need help?
Ask in the Swarm Scripts Discord and we'll help you get set up.
Swarm Scripts
Nyxia Development