← 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.

RequirementWhat it's forIncluded
swarm_bridgeNotifications and target. Included.Yes
ox_libShared library.No
ox_target or qb-targetThe only way to open the board from the clerk. Without one, players use /jobs.No

Install

  1. Copy the folders Swarm_Job_Center, swarm_bridge into your server's resources folder. Already have swarm_bridge from another Swarm script? Keep just one copy, the newest.
  2. 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
  3. Database: nothing to import.
  4. 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.
  5. 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.

SettingWhat it does
Config.Ped.coordsWhere 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[].coordsThe GPS point for each job card. Matches each Swarm job's default NPC; update it if you move a job's NPC.
Config.Jobs[].resourceA 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

CommandWhoWhat it does
/jobsEveryoneOpens the job board from anywhere (name set by Config.Command).
/jobcenterposDebug mode onlyPrints 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.