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

# Get queue info

> Get the data of the players who are currently in queue.

Use the following export to get the data of the players who are currently in queue (nickname, identifier, priority, etc.).

```lua Export theme={null}
-- Returns a table
exports["easy_allowlist"]:getPlayersInQueue()
```

## Example

```lua theme={null}
RegisterCommand("queueinfo", function(source, args)
    local queueInfo = exports["easy_allowlist"]:getPlayersInQueue()
    print(json.encode(queueInfo, { indent = true }))
end, false)
```

<Note>
  You can add this code in `sv_integrations.lua` of the script or in any other server-side Lua file.
</Note>


## Related topics

- [Queue](/easy-allowlist/server/queue/index.md)
- [Get queue count](/easy-allowlist/server/queue/get-queue-count.md)
- [Remove identifier queue priority](/easy-allowlist/server/queue/remove-identifier-queue-priority.md)
- [Set identifier queue priority](/easy-allowlist/server/queue/set-identifier-queue-priority.md)
- [Set player queue priority](/easy-allowlist/server/queue/set-player-queue-priority.md)
