
PerformanceX
Struggling with LAG??? Look no further! PX is an All-in-one server performance suite - 50 modules including item/mob despawn timers, AI throttling, lag machine detection, auto backups, Discord webhooks, Geyser support, and more. 1.8.8-26.2.
Список изменений
hopper limiter lag-check task was on repeatGlobal (main thread) but checkLag() only writes a volatile boolean after reading a cached TPS snapshot — no Bukkit API needed. same fix that went into spawnlimiter/mobaithrottler/etc in v1.1.94, just missed this one
redstone limiter same deal — checkLag() only reads the cached snapshot and writes/reads volatile fields (activeMode, lastEscalationTime). no reason to block the main thread
packet limiter was calling Bukkit.getPlayer(), player.getWorld(), and player.hasPermission() directly on the Netty I/O thread — all main-thread-only API. moved the player lookup and checks inside a runGlobal dispatch. handleThrottle() was already going to runGlobal for the actual kick/warn but the lookup was happening before that on the wrong thread
