Installation
This guide will walk you through installing prp-characters on your FiveM server.
Installation steps
1
Download the resource
Download
prp-characters from the CFX portal and place it in your resources folder.2
Install dependencies
Make sure
oxmysql, ox_lib and prp-bridge are installed and started before prp-characters.3
Configure appearance in prp-bridge
Set
BridgeConfig.Appearance in prp-bridge/config.lua to your clothing resource (illenium-appearance, fivem-appearance, qb-clothing or esx_skin).4
Set your framework in prp-bridge
Set
BridgeConfig.FrameWork to qbx_core, qb-core, es_extended, nd_core or ox_core.5
Follow your framework steps
Complete the framework-specific steps below.
6
Add to server.cfg
Start the resource after your framework, oxmysql, ox_lib and prp-bridge.
7
Configure
Edit files in
configs/ for slots, spawns, selection scenes and bus stops.8
Restart server
Restart the server (or ensure the resource) after all steps are done.
Dependencies
| Resource | Required |
|---|---|
oxmysql | Yes |
ox_lib | Yes |
prp-bridge | Yes |
Framework (qbx_core / qb-core / es_extended / nd_core / ox_core) | Yes |
| Appearance resource (see bridge config) | Yes |
Appearance (prp-bridge)
In prp-bridge/config.lua:
lua
BridgeConfig.Appearance = "illenium-appearance"| Value | Resource |
|---|---|
"illenium-appearance" | illenium-appearance |
"fivem-appearance" | fivem-appearance |
"qb-clothing" | qb-clothing |
"esx_skin" | esx_skin |
Framework (prp-bridge)
lua
BridgeConfig.FrameWork = "qbx_core" -- qbx_core | qb-core | es_extended | nd_core | ox_coreFramework setup
Start order
cfg
ensure oxmysql
ensure ox_lib
ensure qbx_core
ensure prp-bridge
ensure prp-charactersqbx_core settings
Open qbx_core/config/client.lua and set:
lua
useExternalCharacters = true
startingApartment = falseuseExternalCharacters = truedisables the built-in Qbox multicharacter soprp-characterscan take over.startingApartment = falseavoids conflicting apartment spawn logic on first join.
Conflicting resources
Remove or stop any other multicharacter resource, for example:
qbx_corebuilt-in character UI (handled byuseExternalCharacters)qb-multicharacter- Other third-party multicharacter scripts
Notes
- Make sure
BridgeConfig.FrameWork = "qbx_core"inprp-bridge/config.lua. - Character slots use
Config.MaxSlotsinconfigs/main.lua. - Skins are read from
playerskins(citizenid).
server.cfg examples
cfg
ensure oxmysql
ensure ox_lib
ensure qbx_core
ensure prp-bridge
ensure illenium-appearance
ensure prp-charactersConfiguration files
| File | Purpose |
|---|---|
configs/main.lua | Slots, delete toggle, starter items, logout command, init camera |
configs/spawns.lua | Default spawn locations and new-character spawn |
configs/selections.lua | 3D selection ped positions, animations and cameras |
configs/busstops.lua | Bus-stop props, model swaps and DUI offsets |
locales/*.json | UI / locale strings |
open/client.lua | Client hooks (SignIn, SignOut, spawn filters, appearance) |
open/server.lua | Server hooks (selected / created / deleted / spawn filters) |
frameworks/** | Per-framework adapters (list / create / load / delete / logout / skin / spawns) |
Bus-stop DUI
Custom bus-stop models are streamed from stream/[busstops]/. The fxmanifest registers the ytyp via DLC_ITYP_REQUEST. If the swap models fail to load, spawn select falls back to the NUI list automatically.