Setup
How to install and configure um-multicharacter-xvi
One resource for Qbox, QBCore and ESX. It finds your framework by itself.
Select Framework
Firstly
- Make sure your
qbx_coreversion is not old stop basic-gamemodein server.cfg (do not add this again, if you have this, replace ensure with stop)- Delete other multicharacter scripts
/logoutis Qbox's own command (admin only)
-- inside characters = { ... }
useExternalCharacters = true, -- set trueLocale
Supported Locales
al, ar, cs, da, de, el, en, es, et, fi, fr, he, hr, hu, id, it, ja, ko, lt, nl, no, pl, pt, ro, ru, sk, sv, th, tr, zh-cn, zh-tw
setr ox:locale "en"Other language: see Add a Locale.
Apartment Start
setr um:NewPlayerApartmentInsideStart "true" # true: apartment / spawn script, false: config defaultSpawnSee Spawn.
Server.cfg
Load Order
um-multicharacter-xvi must ensure after oxmysql, ox_lib and qbx_core.
# um config
setr ox:locale "en"
setr um:NewPlayerApartmentInsideStart "true"
---------------
ensure oxmysql
ensure ox_lib
--------------
ensure qbx_core
ensure [qbx]
ensure [standalone]
--------------
ensure um-multicharacter-xviFirstly
- Make sure your
qb-coreversion is not old stop basic-gamemodein server.cfg (do not add this again, if you have this, replace ensure with stop)- Delete
qb-multicharacteror other multicharacter scripts /logoutis added by this resource (qbcore.adminonly)
Locale
Supported Locales
al, ar, cs, da, de, el, en, es, et, fi, fr, he, hr, hu, id, it, ja, ko, lt, nl, no, pl, pt, ro, ru, sk, sv, th, tr, zh-cn, zh-tw
setr ox:locale "en"Other language: see Add a Locale.
Apartment Start
setr um:NewPlayerApartmentInsideStart "true" # true: apartment / spawn script, false: config defaultSpawnSee Spawn.
Server.cfg
Load Order
um-multicharacter-xvi must ensure after oxmysql, ox_lib and qb-core.
# um config
setr ox:locale "en"
setr um:NewPlayerApartmentInsideStart "true"
---------------
ensure oxmysql
ensure ox_lib
--------------
ensure qb-core
ensure [qb]
ensure [standalone]
--------------
ensure um-multicharacter-xviFirstly
- Make sure your
es_extendedversion is not old stop basic-gamemodein server.cfg (do not add this again, if you have this, replace ensure with stop)- Delete
esx_multicharacteror other multicharacter scripts /relogtakes a player back to the character screen (everyone)- Starter items come from your es_extended config
Register Form
Name Length
ESX saves names in 16 characters. Set maxLength = 16.
name = {
minLength = 2,
maxLength = 16,
},Set dob.format to the same day / month / year order your server used before:
dob = {
format = 'DD-MM-YYYY', -- or 'MM-DD-YYYY', 'YYYY-MM-DD'
min = 1950,
max = 2007
},Locale
Supported Locales
al, ar, cs, da, de, el, en, es, et, fi, fr, he, hr, hu, id, it, ja, ko, lt, nl, no, pl, pt, ro, ru, sk, sv, th, tr, zh-cn, zh-tw
setr ox:locale "en"Other language: see Add a Locale.
Server.cfg
Load Order
um-multicharacter-xvi must ensure after oxmysql, ox_lib and es_extended.
# um config
setr ox:locale "en"
setr um:NewPlayerApartmentInsideStart "true"
---------------
ensure oxmysql
ensure ox_lib
--------------
ensure es_extended
ensure [core]
ensure [standalone]
--------------
ensure um-multicharacter-xviAdd a Locale
- Copy
locales/en.jsonand name it with your language code, for examplelocales/uk.json - Translate the texts on the right side. Keep the keys and every
%s. - Set
setr ox:locale "uk"in server.cfg - Type
refreshin the server console, then restart the resource
Main Config
return {
debug = false,
-- Character slots every player gets. Extra slots: config/slots.lua
defaultSlots = 4,
-- Rows in the character list. Slots past the player's own show as locked (more via config/slots.lua, Discord or Tebex)
shownSlots = 6,
-- true: everyone can delete their characters. false: only licenses in config/slots.lua deleteAccess
deleteEnabled = true,
-- server.cfg: setr um:NewPlayerApartmentInsideStart true -> new characters start in an apartment
apartmentStart = GetConvar('um:NewPlayerApartmentInsideStart', 'false') == 'true',
-- true: existing characters spawn at their last location, no spawn menu
onlyLastLocation = false,
-- New character spawn when apartmentStart is off
defaultSpawn = vec4(-1037.11, -2736.96, 20.17, 323.76),
-- Character height (register screen, config/register.lua) scales the ped, synced to every player.
pedScale = {
enable = true,
baseHeight = { [0] = 180, [1] = 170 },
min = 0.85,
max = 1.15,
distance = 80.0, -- other players are scaled within this many metres
},
-- /partnerinvite: show a partner next to your character
partner = true,
-- Extra slots bought on Tebex (needs sv_tebexSecret)
tebex = true,
-- Store banner under the character list: your store address ('https://...'). '' = no banner
storeUrl = 'https://uyuyorumstore.com',
-- Selection screen look: preloads the area, keeps peds and cars out, film filter and character lights
graphics = {
enable = true,
timecycle = {},
lights = true,
},
-- Fixed weather and time on the selection screen
weather = {
enable = true,
type = 'EXTRASUNNY',
hour = 19,
minute = 30,
},
}Store Banner
Put your own store address in storeUrl, or '' to hide the banner.
How-to Guides
- How to change the scenes?
- How to use the partner system?
- How to add extra slots?
- How to sell slots on Tebex?
- How to customize register?
- How to set up spawn?
- How to add starter items?
- Which clothing and emote scripts work?
- How to add logs?
- How to hide the HUD?