> For the complete documentation index, see [llms.txt](https://documentation.jaksam-scripts.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.jaksam-scripts.com/easy-allowlist/server/queue/set-player-queue-priority.md).

# Set player queue priority

To set a queue priority to an online player ID

## Export

```lua
exports["easy_allowlist"]:setPlayerQueuePriority(playerId, priority)
```

### Parameters

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

## Example

```lua
local playerId = 61
exports["easy_allowlist"]:setPlayerQueuePriority(playerId, 15)
```
