Versions: NeoForge 1.21.1 & 1.21.8
Prevents server crashes and TPS drops caused by many players joining at the same time (e.g., after a restart or during events). The mod puts connecting players into a waiting line during the Configuration Phase, preventing the Main Thread from overloading.
queue_activation_threshold = 0). Set a threshold to only activate above a given online player count. It also force-activates during the grace period after a server restart (default 60s) or whenever TPS drops below 8.0.ticks_between_joins / ticks_between_joins_vip./joinqueue pause and /joinqueue resume to stop or start the login process manually, or /joinqueue toggle to enable/disable the whole mod.hold_back_ms safety ceiling (default 1500ms) guarantees release even if chunks are slow.min_queue_seconds forces every player to wait a minimum time, and max_queue_size can cap how many players the queue holds.All commands require permission level 2 (OP). Changes are saved automatically and take effect immediately.
| Command | Description |
|---|---|
/joinqueue status |
Shows master switch, release state, server-ready state, TPS, queue size, threshold and staff/VIP counts. |
/joinqueue toggle |
Enables or disables the entire mod (master switch). |
/joinqueue pause |
Pauses the queue (players accumulate but are not released). |
/joinqueue resume |
Resumes releasing players. |
/joinqueue reload |
Reloads the configuration from config/joinqueue.json. |
/joinqueue staff <add|remove> <player> |
Adds or removes a player from the Staff (bypass) list. |
/joinqueue vip <add|remove> <player> |
Adds or removes a player from the VIP (fast-queue) list. |
/joinqueue list <staff|vip> |
Lists all members of the Staff or VIP list. |
ConcurrentLinkedDeque and AtomicInteger for thread-safe performance.nanoTime.