Commands

Queue Command Documentation

Command: fs:queue

Description

The /queue command allows administrators to manage the queue priority and reserved status of players.

Permissions

  • Restricted to users with the permission level specified in Config.Commands.Perm.

Usage

/fs:queue <action> <player> [value]

Parameters

Parameter
Type
Required
Description

action

String

Yes

The action to perform: add, remove, setreserved, or check.

player

String

Yes

The player's identifier (License, Discord User ID, or Steam 64 ID).

value

Mixed

No

Points for add/remove, or true/false for setreserved.

Actions

add

Adds a specified number of queue priority points to the player.

Example:

/fs:queue add 772968443506458634 10

Response:

  • Success: Added 10 points to 772968443506458634.

  • Error: Invalid points value! (if value is not a valid number).

remove

Removes a specified number of queue priority points from the player.

Example:

/fs:queue remove 772968443506458634 5

Response:

  • Success: Removed 5 points from 772968443506458634.

  • Error: Invalid points value! (if value is not a valid number).

setreserved

Sets the reserved status of a player to true or false.

Example:

/fs:queue setreserved 772968443506458634 true

Response:

  • Success: Set reserved status of 772968443506458634 to true.

check

Checks a player's current queue priority and reserved status.

Example:

/fs:queue check 772968443506458634

Response:

772968443506458634 has 15 queue points. Reserved: true

Error Handling

  • Invalid action! Use add, remove, setreserved, or check. (If an incorrect action is provided)

  • Invalid points value! (If the value for add or remove is not a number)

Notes

  • Priority points are cumulative, and removing points cannot drop below zero.

  • Reserved status determines if the player has guaranteed server access.

  • This command is designed for use by administrators only.

Last updated