Skip to content

Installation ​

Requirements ​

  • A recent FiveM server artifact supporting Lua 5.4 and Cfx loading-screen messages.
  • No framework, database or other resource is required.
  • Optional integrations: np_admin for the live Nimbus theme and np_character for the seamless select handoff.

Setup ​

  1. Place the resource in your server resources folder as np_loadingscreen.

  2. Add the start order:

    cfg
    ensure np_loadingscreen
    ensure np_character # optional
  3. Edit shared/config.lua for the server name, fallback theme, content, rules, music and visual preferences.

  4. Merge the handover data into your server's existing connection handler immediately before its current deferrals.handover(...) call:

    lua
    -- Inside the handler that already owns playerConnecting/queue/framework handover.
    local payload = existingHandoverPayload
    local loading = exports.np_loadingscreen:buildHandover(source, {
      queue = { position = queuePosition, waitedSeconds = waitedSeconds },
    })
    for key, value in pairs(loading) do payload[key] = value end
    -- Keep the existing deferrals.handover(payload) call.

    Preserve the server's existing deferral ordering and payload. Do not register a second playerConnecting handler or call deferrals.handover twice.

The resource itself starts the loading page even without a custom handover adapter; the adapter adds server-specific content before the first frame. See Configuration and Resource compatibility.