1 online 26 members  + Join RP Base  +
FreeClothingQBoxQBCoreESX

forger-multichar

by bimdroidinc-dev  ·  version 2026.07.30  ·  updated 21 days ago

No reviews yet

Downloads
0
Reviews
0
Size
98 KB
Code check
Clean
Licence
Apache-2.0
Released
Nov 2026

Framework-agnostic cinematic multicharacter selector for QBCore, Qbox & ESX Legacy. Live 3D character showcase with poses, camera zoom, weather/time & filters,

forger-multichar
forger-multicharacter
A cinematic multicharacter selector for Qbox / QBCore with a custom NUI (no
external UI libraries), a spawn picker, per-player character limits, starter
items, and a scene builder.

Author: Velocity Custom

Features
  • Cinematic showcase — live 3D preview ped, scenic backdrops, emotes, camera
filters, and a settings panel (theme, weather, time of day, audio).
  • Spawn picker after a character is chosen: "Last Location" or any configured
spawn point, with the scene still live behind it.
  • No streamed assets. Every animation the showcase and partner system use
ships with the base game. There is no stream/ folder to keep in sync and
nothing extra for players to download on join.
  • Starter items for brand new characters, with ID card support.
  • Character limits with per-player overrides from four sources (default, ace,
identifier, Discord role).
  • Partner system — two players on the character screen can pair up and appear
together doing synced emotes. Pairings persist and show even when the partner is
offline.
  • Scene Maker (/scene) — pose your character, frame a shot, set the time and
weather, and save it as that character's personal backdrop. Co-op sessions let
several players build one scene together.
  • Two menu layouts: Cinematic and Classic, switchable in settings.
  • Guaranteed correct freemode ped on spawn, so nobody gets stuck on a story ped.
  • Keyboard-driven: Enter play, E emote, J location, Z zoom, B bars,
H hide UI, P partner, arrows to browse.

No SQL migration is required for characters — the standard QB/Qbox players table
is used, and the optional backstory lives inside the existing charinfo JSON. The
partner and scene tables are created automatically.

Install
  1. Drop the folder in your resources and ensure forger-multicharacter.
  2. Disable your existing multicharacter (qbx_multicharacter,
qb-multicharacter, etc.) and any spawn selector you don't want this resource
handing off to.
  1. On Qbox, make sure the qb-core bridge is on:

   setr qbx:enablebridge true

  1. Point Config.Appearance at your clothing resource's storage.
  2. Check Config.StarterItems.items against your own items list.

Requires oxmysql. Nothing else is mandatory.

Character limits
Config.Slots.default is what everyone gets. Overrides raise it, and
Config.Slots.absoluteMax is a hard ceiling nothing can exceed.

Config.Overrides = {
    identifiers  = { ['license:0a1b...'] = 5 },
    aces         = { ['forger.slots.vip'] = 4 },
    discordRoles = { ['1234567890123456789'] = 6 },
}

Config.Slots.resolution decides how multiple matches combine — 'highest' takes
the biggest that applies, 'sum' adds them. Either way the result is clamped to
absoluteMax.

Grant an ace override with:

add_ace group.vip forger.slots.vip allow

Discord role setup
set forger_discord_token "YOUR_BOT_TOKEN"

Set Config.Discord.enabled = true and fill in guildId. The bot must be in your
guild with the Server Members Intent enabled. Role lookups are cached for
cacheSeconds to stay inside Discord's rate limits.

Starter items
Given once, to brand new characters only, immediately after the core confirms the
character was created.

Config.StarterItems = {
    enabled = true,
    items = {
        { item = 'phone',          amount = 1 },
        { item = 'id_card',        amount = 1 },
        { item = 'driver_license', amount = 1 },
        { item = 'water_bottle',   amount = 2 },
        { item = 'sandwich',       amount = 2 },
        { item = 'lockpick',       amount = 1, metadata = { quality = 100 } },
    },
    giveIdCards = true,
}

Each entry takes item, amount, and optionally metadata and slot.

Inventory detection is automatic, in this order: ox_inventory,
qb-inventory, then the core's own AddItem. There is nothing to configure.

ID cards are special-cased. id_card and driver_license are handed to
um-idcard, bl_idcard or qbx_idcard if one of them is running, so the licence
is built the way that resource expects. With none installed, the character's name,
date of birth, gender and nationality are written into the item metadata directly
so the card isn't blank. Set giveIdCards = false if your ID resource issues
licences on its own and you want this resource to stay out of it.

Item names that don't exist in your items list are skipped and listed in a single
console warning, so a typo costs you that one item rather than the whole batch.

To react to it yourself:

AddEventHandler('forger:server:starterItemsGiven', function(src, count)
    -- count = how many entries were successfully given
end)

The login handoff (the one thing to verify)
Reading and deleting characters is plain oxmysql and works everywhere. The
login / create handoff is the only framework-specific piece, in
bridge/framework.lua:

  • Qbox — exports.qbx_core:Login(src, citizenid) to load, and
exports.qbx_core:Login(src, nil, newData) to create. Existing characters log in
through the qb-core bridge rather than the native export, because the bridge
fires QBCore:Client:OnPlayerLoaded, which is what illenium-appearance listens
for to auto-load the saved skin.
  • QBCore — QBCore.Player.Login(src, citizenid[, newData]).

Set Config.Framework to 'qbx' or 'qb' to skip auto-detection.
Spawn confirmation
Calling the core's Login only tells the core it has a character. Almost
everything else on a QB/Qbox server — HUD, phone, garages, jobs, dispatch,
inventory UIs — waits for the spawn confirmation events instead. If those never
fire, the character loads fine but the rest of the server behaves as though the
player never joined.

They are fired from the client the moment the ped exists, is dressed, and is
standing at its coords:

Event, Direction, Purpose

`Q

…