Installation

Installation of the DiscordQueue 2 resource. Please ensure you've read all of this guide and completed all the steps before opening a ticket!

[IMPORTANT] Incompatibility Warning

If you currently have the hardcapresource, you will need to remove this for the reserved slot option to work!

Download Your Resources

You will have been given access to two new resources via Keymaster:

nyx_queue
nyx_discord

You will need both of these resources to operate the queue.

Add Your Resources

Add the downloaded resources to your resources folder. We personally like to structure our folders like below:

resources/
    [queue]/
        nyx_queue
        nyx_discord

Add the resources to your server.cfg:

# If you used our folder structure, you can just ensure the folder
ensure [queue]

# Otherwise, just start both resources
ensure nyx_discord
ensure nyx_queue

Install Dependencies

This resource requires oxmysqlto work, you can download the latest version from their GitHub here:

Run database.sql

Run the database.sql file in the nyx_queue resource, this will create the tables required for the tebex integration to work!

Configuration

For the most part, the queue is drag and drop and will start working immediately. For advanced usage, you must configure it.

Discord IntegrationTebex Integration

Setting Up Whitelist / Allowlist

To enable the whitelist/allowlist you need to have connected your Discord Server & configured the following:

config.require_discord = true
config.whitelist_enabled = true
config.whitelist_id = ''

To find the ID for your whitelist role, just right click your role on Discord and Copy ID:

Setting Up Your Roles

To give a Discord role it's own queue option and priority points, you will need to add the following to the config.roles :

['QUEUE_NAME'] = {
    id = 'discord_role_id',
    name = 'Friendly Queue Name',
    use_points = true,
    points = 5000,
},

See above for advice on how to find your Discord role IDs!

Last updated