← All docsCivilian jobs
Swarm Courier
A courier job: clock in, take a multi-stop route in a delivery van, carry parcels to each door and get paid per stop plus streak, tip and route bonuses. No items needed.
QboxQBCoreESXstandaloneResource: swarm_courier
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 | Talks to your framework, inventory, target and so on. Included with every Swarm script. | Yes |
ox_lib | Shared library (callbacks, progress bars, text UI). | No |
oxmysql | Saves player stats and progress. | No |
| ox_target or qb-target | Used to talk to the depot clerk. /courier works without one. | No |
Install
- Copy the folders
swarm_courier,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 oxmysql ensure ox_target ensure swarm_bridge ensure swarm_courier - Database: tables are created automatically the first time the script starts. If you prefer, import
install/swarm_courier.sqlyourself first. - 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.DepotPed.coords | Where the depot clerk stands. Ships near LSIA as a placeholder. |
Config.Van.spawn | Where the delivery van spawns (vec4). Keep the spot clear. |
Config.Van.model | Van model. 'speedo' by default. |
Config.DropPoints | The pool of drop-off points. The shipped ones are rough placeholders, so replace them with real doors. |
Config.MoneyAccount | Account players are paid into. 'cash' by default. |
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 |
|---|---|---|
/courier | Everyone | Opens the route hub (clock in, start route, upgrades) from anywhere. |
/courierpos | Debug mode only | Prints and copies your position as a vec3. 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
- E: grab a parcel at the van, or deliver it at the stop
Good to know
- The van spawns with keys and full fuel through Swarm Bridge's vehicle keys and fuel support.
- In standalone mode, progress isn't kept between reconnects.
Need help?
Ask in the Swarm Scripts Discord and we'll help you get set up.
Swarm Scripts
Nyxia Development