Back to Portfolio

XpMerge

Paper / Folia Performance | Lightweight

Less orbs. More frames. Same XP.
XpMerge is a lean, Folia-native XP orb merging plugin built for servers that care about performance. Every configured interval, it sweeps all loaded chunks, finds clusters of experience orbs in close proximity, and collapses them into a single orb โ€” no XP lost, no exploits, no drama.

๐Ÿ”

Interval-Based Sweeping

Merges fire on a configurable tick schedule, not every frame. Tune the interval to balance aggression against CPU overhead โ€” default is every 5 ticks (quarter second).

๐Ÿ“

Radius-Based Clustering

Orbs within a set block radius collapse into one, preserving total XP exactly. Massive mob farms, XP grinders, and enchanting setups can spawn hundreds of orbs in seconds โ€” XpMerge kills that lag at the source by reducing entity count without touching collection logic.

๐Ÿงต

Folia-Native Threading

Uses RegionScheduler per 8ร—8 chunk region, meaning all entity reads and writes happen on the correct regional thread with zero unsafe cross-region access. Folia support is first-class โ€” the sweep architecture was designed around RegionScheduler from the ground up, not bolted on after.

Paper 1.21.10 โ€” 1.21.11
Folia 1.21.10 โ€” 1.21.11
โš ๏ธ Spigot/Bukkit are not supported. Paper or Folia is required.
๐Ÿ”’

Dupe-Safe Design & Bottled XP Compatibility

XpMerge re-validates every orb immediately before removal. If a player or plugin has already collected an orb between the sweep scan and the merge execution, that orb is skipped entirely โ€” XP is never double-counted or awarded twice.

XP values are accumulated as a long internally before being written back as an int, preventing overflow edge cases on large orb clusters. The final value is clamped to Integer.MAX_VALUE as a hard ceiling.
Plugin Repository
Experience Manager (XPM) github.com/jwkerr/XPManager
BottleEXP github.com/Mooshlol304/BottleEXP-1.21.5
XP Bottling github.com/HoneyBerries/XPBottling
๐Ÿ”ง

Commands & Permissions

All commands require the xpmerge.admin permission, which defaults to OP only.

Command Description
/xpmerge status Shows current interval, radius, debug state, and total orbs merged
/xpmerge reload Hot-reloads config and restarts the merge task
โš™๏ธ

Configuration

Config is located at plugins/XpMerge/config.yml.

# How many ticks between each merge sweep. 20 ticks = 1 second.
# Lower = more aggressive merging, slightly more CPU. Minimum: 1.
merge-interval: 5

# Block radius within which orbs are merged together.
merge-radius: 20.00

# Print a line to console every time orbs are merged.
debug: false
๐Ÿ“ฆ

Installation

  1. Download the latest .jar from the releases section below
  2. Drop it into your /plugins folder
  3. Restart your server (not /reload)
  4. Edit plugins/XpMerge/config.yml to your liking
  5. Use /xpmerge reload to apply config changes live
Download on Modrinth

Found a bug or have a question? DM mooshbrixa on Discord.

PlatformPaper / Folia
LicenseMIT
CategoryPerformance