Swarm Multichar
A cinematic character select and creator for Qbox, with random interior scenes, job themes, a wall logo and a starter-item pick. Comes with swarm_appearance, which adds a branded transition to the appearance editor.
New to Swarm scripts? Read Getting started first. It covers Swarm Bridge, install order and the licence.
Requirements
Frameworks: Qbox.
| Requirement | What it's for | Included |
|---|---|---|
swarm_bridge | Talks to your framework, inventory, target and so on. Included with every Swarm script. | Yes |
swarm_appearance | Opens the appearance editor during character creation. Included. | Yes |
qbx_core | Characters are loaded, created and deleted through Qbox. | No |
ox_lib | Shared library (callbacks, progress bars, text UI). | No |
oxmysql | Needed by qbx_core. | No |
| illenium-appearance (or fivem-appearance) | The appearance editor. | No |
Install
- Copy the folders
swarm_multichar,swarm_appearance,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 qbx_core ensure illenium-appearance ensure swarm_bridge ensure swarm_loadingscreen ensure swarm_appearance ensure swarm_multicharOnly include
swarm_loadingscreenif you use it. Startswarm_appearancebeforeswarm_multichar. - Database: No tables of its own. Characters are stored by qbx_core.
- Items:
No item files. The starter-item choices must already exist in your inventory:
phone,bandage,burger,fries,donut,water_bottle,cigarette,ziptie. ox_inventory's default water item iswater, so change the choice or add the item. - In
qbx_core/config/client.lua, setcharacters.useExternalCharacters = true. Otherwise both character screens run. - 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 |
|---|---|
SwarmMulticharConfig.StarterItems.choices | Starter choices. Item names and amounts must exist in your inventory. The cash choice is 2500. |
SwarmMulticharConfig.StarterItems.single | true = pick one, false = pick any. |
SwarmMulticharConfig.WallLogo.enabled / image / imageAspect | The logo shown on the scene wall. Replace the image with your own server's logo, or turn it off. |
html/js/theme.js THEMES[*].video | Optional background video per theme. Blank by default. |
SwarmMulticharConfig.Locale | 'auto' follows Swarm Bridge, or force a language code. |
SwarmConfig.Appearance (in swarm_bridge) | 'illenium_appearance' or 'fivem_appearance'. |
SwarmConfig.Discord.webhook (in swarm_bridge) | Optional log of character creation and deletion. |
SwarmConfig.Scripts.MultiChar (in swarm_bridge) | Off switch. If you set it to false, also set useExternalCharacters = false in qbx_core. |
SwarmAppearanceConfig (in swarm_appearance) | DefaultEditorConfig, Text and TransitionMs: editor sections and transition text. |
Commands & permissions
This script has no chat commands.
No ACE permissions are needed.
Keys
- Up / Down: select a character
- Enter: play the selected character
- Esc: close creator overlays
Good to know
- Each character can claim one starter item, with a 10-minute cooldown per licence.
- If qbx_spawn is running, its spawn picker opens after a character is chosen.
Need help?
Ask in the Swarm Scripts Discord and we'll help you get set up.
Swarm Scripts
Nyxia Development