
XPMerge
This is a Folia-compatible plugin for Minecraft that merges nearby experience orbs into one to reduce lag.
24
0
Список изменений
XpMerge 1.0.0
Initial Release
The first public release of XpMerge. Built from the ground up for performance and correctness.
Introduced
- Interval-based orb sweeping — configurable tick interval triggers a full sweep of all loaded chunks across every world, collapsing nearby XP orb clusters into one
- Radius-based clustering — orbs within a set block radius of each other are merged, with total XP preserved exactly across the entire cluster
- Folia-native threading — sweep dispatches via
GlobalRegionScheduler, with per-region entity access handled byRegionScheduleron the correct owning thread — no unsafe cross-region reads or writes - Dupe-safe merge logic — orbs are re-validated immediately before removal to handle mid-sweep collection; XP is accumulated as a
longand clamped toInteger.MAX_VALUEto prevent overflow - Multi-world support — all loaded worlds are swept simultaneously each interval
/xpmerge status— displays current interval, radius, debug mode, and total lifetime orbs merged/xpmerge reload— hot-reloads config and restarts the merge task with no server restart requiredxpmerge.adminpermission — gates both commands, defaults to OP only- Debug mode — optional console logging of every merge event with location, cluster size, and XP total; disabled by default
Файлы
XpMerge-1.0-SNAPSHOT.jar(9.88 KiB)
ОсновнойМетаданные
Канал релиза
Release
Номер версии
1.0.0
Загрузчики
FoliaPaper
Версии игры
1.21–1.21.11
Загрузок
24
Дата публикации
2 нед. назад
