> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nexdev.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Overview

> An advanced Discord-driven priority queue for FiveM. Players wait on a polished Adaptive Card while the queue sorts them by Discord role, shows their tier, and (optionally) posts a live waitlist…

An advanced Discord-driven priority queue for FiveM. Players wait on a polished Adaptive Card while the queue sorts them by Discord role, shows their tier, and (optionally) posts a live waitlist embed straight into your Discord. Staff bypass, whitelist gating, and eight ready-to-use card themes are all included — every part of it is configured from a single `config.lua`.

The resource is **server-only** and **drag-and-drop**. There is no UI build step and nothing to compile.

## In this section

* [Installation](/nex_queue/installation)
* [Discord setup](/nex_queue/discord-setup)
* [Configuration](/nex_queue/configuration)
* [Themes](/nex_queue/themes)
* [Whitelist & priority](/nex_queue/whitelist-and-priority)
* [Troubleshooting](/nex_queue/troubleshooting)

## What you get

* Drag-and-drop install — drop the folder, edit `config.lua`, restart.
* **Discord-based priority queue** — order by role membership; multi-role players stack their points.
* **Whitelist mode** — lock the server to one or more Discord roles, with a customizable kick message.
* **Staff bypass** — any role you list skips the queue (and the whitelist) entirely.
* **8 built-in card themes** — Classic, Banner, FactSet, Boarding Pass, Compact Bar, Minimal, Centered, and Cards. Swap with one config line, or hot-swap at runtime via export.
* **Reserved slots** — keep N slots free off the top of `sv_maxclients` for staff.
* **Live waitlist embed** — optional auto-updating Discord embed showing the current queue.
* **Tier display** — Diamond / Platinum / Gold / Silver / Bronze (or whatever you rename them to) shown on the player's card.
* **Wait-list button** — players can browse the rest of the queue from the card itself.
* **Crash-safe snapshots** — the queue persists across restarts within a configurable expiry window.
* **Runtime exports** — read queue state, swap theme, or pull Discord data into your other scripts.

## Compatibility

* Works on **any FiveM server** — framework agnostic. No QBCore / ESX / Ox / Qbox requirement.
* No database. State is held in memory and snapshotted to KVP.
* Requires Lua 5.4 (already set in the resource's `fxmanifest.lua`).

<Info>
  New here? Start with [Installation](/nex_queue/installation), then walk through [Discord setup](/nex_queue/discord-setup) to wire up the bot.
</Info>
