Joinqueue

Async Join Queue for NeoForge 1.21.1/1.21.8. Prevents crashes and TPS drops during mass logins by holding players in a thread-safe queue. Admits players at a stable rate. Features a custom position screen. Required on bo

Редакция NLZONE · 3 мин чтения · 0 просмотров
Joinqueue
Скачать Joinqueue1.21.1 – 1.21.9 · с официальной страницы: modrinth.com
Перейти к загрузке

Что это

Async Join Queue for NeoForge 1.21.1/1.21.8. Prevents crashes and TPS drops during mass logins by holding players in a thread-safe queue. Admits players at a stable rate. Features a custom position screen. Required on both server and client.

  • Тип: мод
  • Загрузчик: neoforge
  • Версии Minecraft: 1.21.1 – 1.21.9
  • Скачиваний на Modrinth: 993

Подробно

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.

Features Activation: With default settings the queue is always active (queueactivationthreshold = 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. TPS Check: Players are only released while the server is stable (TPS ≥ 8.0) and the queue is not paused. Releasing stops automatically during heavy lag. Release Rate: Players are let in on a timer — by default every 2s (normal) and every 1s (VIP), configurable via ticksbetweenjoins / ticksbetweenjoinsvip. Manual Control: Admins can use /joinqueue pause and /joinqueue resume to stop or start the login process manually, or /joinqueue toggle to enable/disable the whole mod. Priority & Bypass: Staff members bypass the queue entirely. VIP players are moved to the front of the queue and released on a faster timer. Server-Full Handling: When the server reaches its vanilla player cap, normal players are held in the queue (with a "Server is full" message) until a slot opens, instead of being rejected at the network layer. Staff bypass the limit and VIPs may join over it. Async Chunk Loading: Loads spawn chunks on background threads (radius configurable, default 3) before a player joins to prevent main-thread freezes. A holdbackms safety ceiling (default 1500ms) guarantees release even if chunks are slow. Queue Screen: Shows players their live position in line, the total queue size, and a custom (configurable) message, including a separate message when the queue is paused. Minimum Wait & Size Cap: Optional minqueueseconds forces every player to wait a minimum time, and maxqueuesize can cap how many players the queue holds. Commands

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 Adds or removes a player

Как установить

Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.

Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.

Редакция NLZONE

Пишем о серверах, модах и играх, в которые играем сами. Нашли ошибку — напишите нам, исправим.

Комментарии 0

Комментарии к этому материалу отключены.

Читайте также