FourTwenty Queue System - Advanced Priority Queue for ESX & QBCore
Introduction
Hey FiveM Community!We’re FourTwenty, and we’re excited to present our brand-new Advanced Queue System – made for serious servers looking to provide a fair, optimized, and priority-based entry system. Whether you’re using ESX, QBCore, or a custom setup – this one fits all.
Links
- GitHub:
- Discord:
- Website:
Core Features
Real-Time Priority Handling
- Dynamically adjust player queue positions based on roles like staff, donators, or custom ranks
- Built-in priority levels with full database persistence
- Easily modify or extend with your own levels
Fair & Transparent Queue System

- Realtime updates on player position and ETA
- Clear, customizable messages for users
- Guaranteed fairness without performance trade-offs
Performance Optimized
- Designed to run lean with minimal resource usage
- Queue refresh interval and max player limit configurable
Inactivity Handling
- Auto-kick inactive users after X minutes
- Ensures the queue always keeps moving
- Custom timeout duration
Framework & Database Support
- Works with ESX, QBCore, or standalone
- oxmysql powered – persistent priority storage
- Full command set to manage player priority
Configuration Example

config.lua
Config.MaxPlayers = 64
Config.RefreshTime = 5000
Config.AutoKickTime = 300
Config.ServerName = "Your Server Name"
Config.SavePriority = true
Priority Levels
Config.PriorityLevels = {
["owner"] = 100,
["admin"] = 75,
["moderator"] = 50,
["donator"] = 25,
["regular"] = 10,
["default"] = 0
}
Queue Messages
Config.Messages = {
connecting = "Connecting to %s",
position = "You are in position %d of %d in queue",
estimatedTime = "Estimated time: %s",
joining = "You are being connected to the server...",
connected = "Connected to server!",
kicked = "You were kicked from the queue due to inactivity",
priority = "Priority: %s"
}
Permissions & Commands
Commands
/addpriority [id] [level]
/removepriority [id]
/checkpriority [id]
/refreshqueue
Permissions
add_ace group.admin queue.manage allow
add_ace group.admin queue.refresh allow
add_ace group.mod queue.refresh allow
Developer Exports
GetQueueInfo()
Returns queue state:local info = exports['ft_queue']:GetQueueInfo()
SetQueueActive(state)
Enable/disable system:exports['ft_queue']:SetQueueActive(true)
AddPlayerPriority(identifier, level, by)
exports['ft_queue']:AddPlayerPriority("steam:xyz", 75, "Console")
RemovePlayerPriority(identifier)
exports['ft_queue']:RemovePlayerPriority("steam:xyz")
Installation
- Drop the folder into your resources directory
- Add ensure ft_queue before your framework
- Configure config.lua to fit your server
- Ensure oxmysql is installed
- Restart server
Links
- GitHub:
- Discord:
- Website: