Configuration

Customize spawn locations, interface languages, map behavior, and third-party HUD integrations for your FiveM server.


System Core (Customize Table)

Global operational settings for the spawn selector.

Customize = {
    Locale = 'en',
    Framework = nil,
    
    Map = {
        ClusterDistance = 3.5,
    },
    
    Client = {
        SetUI = function(visible) 
        -- HUD integration logic
        end,
    },
    
    Locations = {
        -- Spawn points
    }
}

Locale

Sets the interface language.

  • Supported: 'en', 'de', 'bg', 'es', 'fr', 'it', 'pt', 'tr', 'other'

circle-info

Tip: Want to add your own translation? Set this to 'other' and follow the Custom Language Setup guide.

Framework

Defines the server framework.

  • Options: nil (Auto-detect - Recommended), 'QBCore', 'ESX', 'Qbox'


Map Settings (Customize.Map)

Controls the visual grouping behavior of spawn points on the map interface.

ClusterDistance

Determines how close two markers must be to merge into a single cluster.

  • Type: number

  • Default: 3.5

circle-info

Tip: Set a lower number for less clustering. This is useful if you have multiple custom spawn points packed tightly in a specific area (like city center).


Client Integrations (Customize.Client)

Control UI visibility to prevent HUD overlap during the spawn selection phase.

SetUI(visible)

Triggered automatically. Use this function to hide/show your server's custom HUD via exports or client events.


Spawn Locations (Customize.Locations)

Define the specific points where players can choose to spawn.

Structure Requirements

Property
Type
Description

icon

string

Supports FontAwesome ('fa-solid fa-city'), SVG files ('Apartments.svg'), or direct Image URLs.

name

string

Display name of the spawn area.

coords

vec4

Exact world coordinates (x, y, z, heading).

Example Implementation

circle-exclamation

Last updated

Was this helpful?