> ## 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.

# Set player queue priority

> Set a queue priority for an online player ID.

Set a queue priority for an online player ID.

<CodeGroup>
  ```lua Export theme={null}
  exports["easy_allowlist"]:setPlayerQueuePriority(playerId, priority)
  ```

  ```lua Example theme={null}
  local playerId = 61
  exports["easy_allowlist"]:setPlayerQueuePriority(playerId, 15)
  ```
</CodeGroup>

### Parameters

| Name       | Data Type | Description        |
| ---------- | --------- | ------------------ |
| `playerId` | integer   | Player's server ID |
| `priority` | integer   | Queue priority     |


## Related topics

- [Queue](/easy-allowlist/server/queue/index.md)
- [Set identifier queue priority](/easy-allowlist/server/queue/set-identifier-queue-priority.md)
- [Set Discord role queue priority](/easy-allowlist/server/queue/set-discord-role-queue-priority.md)
- [Commands usage](/easy-allowlist/commands-usage.md)
- [Remove identifier queue priority](/easy-allowlist/server/queue/remove-identifier-queue-priority.md)
