Compatibility
Minecraft: Java Edition
Platforms
Creators
Details
๐พ MobStacker โ Boost Your Server TPS Instantly
MobStacker is a performance plugin designed for those who want to run mob farms without destroying their server TPS. It stacks nearby mobs of the same type into a single entity, dramatically reducing lag without requiring complex setup.
๐ค Installation Guide This plugin is compatible from version 1.21 to 1.21.x (Paper only).
Download the latest version of the plugin and upload it to your server's plugins/ folder. Once uploaded, restart the server for the changes to take effect. Edit plugins/MobStacker/config.yml to customize the plugin to your needs. Use /ms reload to apply config changes without restarting.
โ ๏ธ Requires Paper 1.21+ and Java 21+. Spigot is not supported.
โ Features
Smart /ms stackall command that forces stacking of all loaded mobs instantly. Per-entity configuration โ set max stack size, radius, AI toggle and drop multiplier per mob type. Per-world configuration โ different stack limits for each world. AI disabling for stacked mobs to save CPU cycles and improve TPS dramatically. Drop multiplication โ killing a stack rewards full drops for every mob in it. Split on death โ when the stack head dies, the rest of the stack survives as a new entity. Fully customizable nametag format with color codes and placeholders. Stack conditions โ configure whether to stack babies, tamed animals, breeding mobs, leashed mobs, etc. Spawner-only mode โ stack only mobs that come from spawners. /ms toggle to enable or disable the plugin live without restarting. bStats integration for anonymous usage statistics. config.yml file to customize all functions to the maximum, fully documented with comments.

๐งโ๐ผ Permissions
mobstacker.admin โ Access to all MobStacker commands (default: OP) mobstacker.bypass โ Tamed mobs of this player won't be stacked mobstacker.seeinfo โ View stack info when looking at a mob
โจ๏ธ Commands
/ms reload โ Reload the configuration /ms info โ Show active stack statistics /ms stackall โ Force stack all loaded mobs immediately /ms killall <type> โ Kill all stacks of a specific mob type /ms check โ Inspect the mob you are looking at /ms toggle โ Enable or disable the plugin on the fly /ms stats โ Stats breakdown by mob type /ms clearall โ Remove all active stacks
๐ Performance Impact
ScenarioWithout MobStackerWith MobStacker500 zombies in a farm500 entities1 entity (stack of 500)Server TPS~8 TPS~20 TPSAI calculations500x per tick1x per tick
๐ง Example Config (per mob)
ZOMBIE:
max-stack-size: 256
stack-radius: 12
disable-ai: true
multiply-drops: true
Made with โค๏ธ for server owners who love mob farms but hate lag.


