CONFIG
Below is the default configuration file used in Hydex-Multicharacter.
config.lua
Config = {}
Config.Framework = 'esx'
Config.DefaultSpawn = vec4(-486.986053, -992.974304, 24.289286, 86.545349) -- Default spawning location of player after creating character
Config.IdentifierType = 'license' -- discord , steam, license
Config.Appearance = 'skinchanger' -- 'fivem-appearance', 'illenium-appearance', 'qb-clothing', 'skinchanger', 'crm-appearance', 'bl_appearance', 'tgiann-clothing', 'rcore_clothing', 'dx_clothing', 'karma_clothing'
Config.Prefix = 'char' -- Prefix for character creation
Config.UseBuckets = {
enabled = true, -- Use buckets for multicharacter
defaultBucket = 0, -- Default bucket for players
disablePeds = true -- Disable peds in buckets
}
Config.CommandConfigs = {
logout = { -- IsAllowedtoLogout checkout this function on sv_bridge.lua for adding permissions
enabled = true, -- Enable or disable logout command
command = 'relog', -- Command to logout
},
setslot = { -- IsAllowedtoSetslot checkout this function on sv_bridge.lua for adding permissions
enabled = true, -- Enable or disable setslot command
command ='setslot', -- Command to set slot
}
}
Config.FreeSlots = 2 -- Number of free slots for each character
Config.StarterItems = { -- Starter items
{
name = 'water',
count = 50
},
{
name = 'burger',
count = 50
}
}
Config.SpawnSelector = { -- Spawn selector CONFIG
enabled = true, -- Enable or disable the spawn selector ( If false, character will spawn at lastLocation by default )
useBuitIn = true, -- Use the built in spawn selector ( If false, u can trigger custom spawn selector if u have checkout cl_customise.lua )
locations = { -- Spawn locations if you are using built in spawn selector
['mission_row'] = {
coords = vector3(409.1667, -1013.328, 29.39579),
label = 'Mission Row'
},
['pillbox_hospital'] = {
coords = vector3(273.7169, -605.3559, 42.9115),
label = 'Pillbox Hospital'
}
}
}
Config.Animations = { -- Pre defined animations for each character ( Must define coords here if u are using more character slot )
[1] = { -- Character 1 Animation
coords = vec4(-1749.7325, -1128.2076, 12.0932, 138.7325),
},
[2] = {
coords = vec4(-1758.7467, -1123.0494, 12.0193, 232.9176),
anim = {
dict = 'amb@world_human_leaning@female@wall@back@holding_elbow@idle_a',
clip = 'idle_a',
}
},
[3] = {
coords = vec4(-1729.0529, -1127.8243, 12.0191, 141.5043),
Propanim = {
prop = 'prop_fishing_rod_01',
offSet = vec3(0.0, 0.0, 0.0),
rot = vec3(0.0, 0.0, 0.0),
boneId = 60309,
dict= 'amb@world_human_stand_fishing@idle_a',
clip = 'idle_a',
}
},
[4] = {
coords = vec4(-1710.2814, -1110.9500, 13.1523, 103.8774),
scenario = {
scenario = 'WORLD_HUMAN_GUARD_STAND'
}
}
}Last updated on