STG ScriptsDocumentation
UI PackMulticharacter

Multicharacter

STG UI Pack character selection with a live scene, slot codes, character creation, deletion and logout for ESX, QBCore and QBOX.

UI Pack: Multicharacter

STG UI Pack: Multicharacter

ESXQBCoreQBOX
View in store

Players pick, create and delete characters in a live scene. The resource is stg-multicharacterv2.

How it works

  • The menu opens when the player joins and closes the Loading Screen once the scene is ready.
  • New character: name, birth date, sex and nationality, then the player spawns at Config.FirstSpawn and the Appearance creator opens.
  • Existing character: goes to the Spawn Selector (or qbx_spawn / qb-spawn) when one is running, otherwise to the last location.
  • /logout sends the player back to the menu.

Configuration

Everything is in stg-multicharacterv2/shared/config.lua, editable in the escrow version too.

SettingWhat it does
Config.LanguageOne of the 17 included languages
Config.BrandAccent colour
Config.FreeSlots / Config.MaxSlotsFree slots per player, and the highest slot count
Config.StoreUrlShop link on the Buy Slot button, false hides it
Config.KeyManager/slotkeys staff panel that creates slot codes
Config.PlayerSlotsExtra (or fewer) slots for single players by identifier
Config.AllowDeletefalse blocks deleting characters
Config.LogoutCommandCommand name, false turns it off
Config.CreationAge range, name length, date format, nationalities, blocked words
Config.Functions (shared/functions.lua)Notify, how the look is applied, which creator opens, HUD hide and show

Slot codes

Players unlock slots above Config.FreeSlots with a code. Staff create codes in game with /slotkeys, or in the server console with slotkeys 5 (prints 5 codes). Sell them in your shop and send the code to the buyer.

Server events

EventArguments
stg-multicharacterv2:server:characterLoadedsource, citizenid
stg-multicharacterv2:server:characterCreatedsource, citizenid
stg-multicharacterv2:server:characterDeletedsource, citizenid

Still having trouble?

Open a ticket on our Discord. Our team answers around 15 hours a day.

Get help on Discord

On this page