[FREE] ConnectQueue & Discord Priority Bot

:rocket: ConnectQueue & Discord Priority Bot

ConnectQueue

ConnectQueue is a streamlined queue system for FiveM, designed to enhance server management:

  • :hammer_and_wrench: Simple API for easy integration
  • :medal_sports: Priority System to manage player queues
  • :gear: Flexible Configuration:
    • :lock: Whitelist-only mode
    • :video_game: Steam requirement
    • :globe_with_meridians: Multi-language support
  • :speech_balloon: Supports latest Discord API for robust integration

:lady_beetle: Report issues: ConnectQueue GitHub Issues

Discord Priority Bot

The Discord Priority Bot simplifies managing roles in Discord, with seamless integration for temporary role assignment:

  • Assign Temporary Roles: Use slash commands to manage roles.
  • Automatic Role Removal: Roles expire automatically.
  • Logging: Tracks actions via webhook notifications.
  • Command Locking: Restrict commands to specific roles for security.

:lady_beetle: Report issues: Priority Bot GitHub Issues

Discord Priority Bot Commands:

  • /givepriority: Assign a role.

    /givepriority user:@Username priority:<Role> time:<Duration>
    
  • /removepriority: Remove an assigned role before it expires.

    /removepriority user:@Username
    
  • /list: List users with priority roles.

    /list page:1
    
  • /togglelock: Lock/unlock commands.

    /togglelock
    

New Command

  • /checkplayer: Check Player Priority
    /checkplayer user:@Username
    

:file_folder: Repository: ConnectQueue on GitHub
:file_folder: Repository: Priority Bot on GitHub

6 Likes

[ script:connectqueue] SCRIPT ERROR: @connectqueue/shared/sh_queue.lua:32: attempt to index a nil value (global โ€˜Configโ€™)
[ script:connectqueue] > fn (@connectqueue/shared/sh_queue.lua:32)

1 Like

Fixed with the latest update. Thanks for letting me know!

Can you also add a export to check players current role in game so when needed we can check their perms again to do certain stuff ^^ that would be really cool honestly

1 Like

working on it great suggestion

ConnectQueue Update

New Export: GetPlayerRole

The ConnectQueue resource now features a handy export called GetPlayerRole. This export allows you to easily fetch the role of any player in the queue. Itโ€™s particularly useful for integrating role-based permissions or custom features within your server.

Example Usage:

-- Using player src (server ID)
local role, points = exports.connectqueue:GetPlayerRole(1) -- assuming '1' is a valid player src
if role then
    print("Player's Role: " .. role)
    print("Role Points: " .. points)
else
    print("Role not found or invalid player src.")
end

-- Using Discord ID
local role, points = exports.connectqueue:GetPlayerRole("discord:320015606071951360")
if role then
    print("Player's Role: " .. role)
    print("Role Points: " .. points)
else
    print("Role not found or invalid Discord ID.")
end


Priority Bot Update

New Command: /checkplayer

The Priority Bot has been enhanced with a new command, /checkplayer. This command is perfect for quickly checking a userโ€™s current status, including their role and queue position.

Command Syntax:

/checkplayer user:@Username

This addition is especially useful for admins and moderators who need to monitor player status efficiently.

2 Likes