config/client.lua) contains all client-side settings for Qbox Core. This includes character creation, Discord integration, and UI customization.
Status System
How often (in seconds) to check hunger/thirst status and remove health if either reaches 0.
Waiting time in milliseconds for ox_lib to load models before throwing an error. Increase this value for low-spec PCs that need more time to load assets.
Pause Menu
Text shown above the map when ESC is pressed. If left empty, ‘FiveM’ will appear instead.
Character Management
Configure character creation and selection behavior.Whether you have an external character management resource.If
true, disables the character management inside qbx_core and allows you to use a custom character selection screen.Whether players should be able to delete their own characters.Set to
false to prevent players from deleting characters (admin-only deletion).If If
true, players will choose a starting apartment when creating a new character.Requires
qbx_spawn resource if set to true.false, skips apartment selection during character creation.Date of Birth Settings
Date format for character date of birth input.
Minimum allowed date of birth. Must be in the same format as
dateFormat.Maximum allowed date of birth. Must be in the same format as
dateFormat.Default ensures characters are at least 18 years old (as of 2024).Nationality
If
true, limits nationality selection to predefined options from data/nationalities.lua.If false, players can enter any text in the nationality field.Profanity Filter
Dictionary of profane words blocked during character creation.Example:
Spawn Locations
Spawn locations for the character selection screen (multichar). One location is chosen randomly each time.Each location contains:
pedCoords- Where the player character stands (vec4: x, y, z, heading)camCoords- Where the camera is positioned (vec4: x, y, z, heading)
View Default Locations
View Default Locations
The default configuration includes 7 scenic locations:
- Luxury mansion exterior
- Underground parking garage
- Zancudo bunker interior
- Underground facility
- Casino penthouse area
- Military base interior
- Office building exterior
Discord Rich Presence
Configure Discord rich presence integration to show server information in players’ Discord status.Enable or disable the built-in Discord rich presence.
Discord Application ID for rich presence.Replace this with your own Application ID from the Discord Developer Portal.
Large Icon
Image name for the large icon in Discord rich presence.
To set up custom images, visit this guide.
Hover text for the large icon.
Small Icon
Image name for the small icon in Discord rich presence.
Hover text for the small icon.
Buttons
Discord rich presence can display up to 2 clickable buttons.Text for the first button.
URL for the first button.
Text for the second button.
URL for the second button.
Integration Functions
Vehicle Keys (QB Bridge)
Function used by the QB bridge to check if a player has vehicle keys.Parameters:
plate(string) - Vehicle platevehicle(number) - Vehicle entity
boolean - Whether the player has keysDefault Implementation:This function is only used by the QB bridge compatibility layer.