
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.
Список изменений
v1.1.91 - Performance improvements across multiple modules
Performance Fixes
-
Pathfinding Limiter - state-change-only NMS:
setNoAiwas called via NMS reflection on every living entity every sweep (default: every 20 ticks) regardless of whether the AI state needed to change. Now uses a transition-tracking map and only calls NMS when a mob's AI state actually changes.onDisable()also now restores only the mobs it actually disabled instead of scanning all world entities. -
Villager Optimizer - state-change-only AI calls:
setAI()+ reflectivesetAware()were called on every villager every sweep regardless of state. Same fix applied - only fires on transitions.restoreAll()now iterates the tracking map instead of all world entities.
Bug Fixes
-
Mob Stacker - player-renamed stacked mobs now protected: If a player used a nametag on a mob that was already stacked (size > 1), the previous check
getStackSize() <= 1would fail, leaving the named mob vulnerable to further stacking. Now distinguishes player names from generated stack labels by checking the name format. -
Mob Stacker - stackSizes map memory leak: The in-memory stack size map only cleaned up entries on
EntityDeathEvent. Mobs removed by/kill, entity limiters, mob clear, or chunk unloads would leave entries forever. Added a periodic pruning task (every 10 min) that removes entries for entities that no longer exist. -
Auto Backup - save_wait_seconds cap + log message:
save_wait_secondsis now capped at 30 (config validation) to prevent accidentally blocking the async backup thread for an unreasonable duration. A log message is now printed so admins can see why backup startup has a brief wait.
