? MobStacker — 即时提升服务器 TPS
MobStacker 是一款性能插件,专为希望运行怪物农场而不破坏服务器 TPS 的用户设计。它将附近同类型的怪物堆叠为单个实体,在无需复杂设置的情况下显著减少卡顿。
? 安装指南
本插件兼容 1.21 至 1.21.x 版本(仅限 Paper)。
下载插件的最新版本并将其上传至服务器的 plugins/ 文件夹中。
上传完成后,重启服务器以使更改生效。
编辑 plugins/MobStacker/config.yml 以根据需求自定义插件配置。
使用 /ms reload 命令应用配置更改而无需重启服务器。
⚠️ 需要 Paper 1.21+ 和 Java 21+。不支持 Spigot。
✅ 功能特性
智能 /ms stackall 命令,可立即强制堆叠所有已加载的怪物。
按实体配置 — 针对每种怪物类型设置最大堆叠数量、半径、AI 开关及掉落倍率。
按世界配置 — 每个世界可设置不同的堆叠上限。
禁用堆叠怪物的 AI 以节省 CPU 资源并大幅提升 TPS。
掉落倍增 — 击杀一个堆叠实体时,奖励其中每只怪物的完整掉落物。
死亡分裂 — 当堆叠头目死亡时,其余部分作为新实体存活。
完全自定义的名牌格式,支持颜色代码和占位符。
堆叠条件 — 配置是否堆叠幼崽、驯服动物、繁殖中的怪物、拴绳怪物等。
仅刷怪笼模式 — 仅堆叠来自刷怪笼的怪物。
/ms toggle 命令可在不重启的情况下即时启用或禁用插件。
集成 bStats 用于匿名使用统计数据。
config.yml 文件可最大程度自定义所有功能,并通过注释提供完整文档。

?? 权限说明
mobstacker.admin — 访问所有 MobStacker 命令(默认:OP)
mobstacker.bypass — 该玩家的驯服怪物不会被堆叠
mobstacker.seeinfo — 查看注视怪物时的堆叠信息
⌨️ 命令列表
/ms reload — 重新加载配置
/ms info — 显示当前活跃的堆叠统计信息
/ms stackall — 立即强制堆叠所有已加载的怪物
/ms killall <type> — 击杀特定怪物类型的所有堆叠
/ms check — 检查你正在注视的怪物
/ms toggle — 即时启用或禁用插件
/ms stats — 按怪物类型分解统计信息
/ms clearall — 移除所有活跃堆叠
? 性能影响
场景无 MobStacker有 MobStacker500 只僵尸在农场中500 个实体1 个实体(500 只的堆叠)服务器 TPS8 TPS20 TPSAI 计算次数每次刻 500 次每次刻 1 次
? 示例配置(按怪物类型)
ZOMBIE:
max-stack-size: 256
stack-radius: 12
disable-ai: true
multiply-drops: true
由 ❤️ 制作,献给热爱怪物农场却厌恶卡顿的服务器所有者。
? 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 TPS8 TPS20 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.
评论 0
登录后参与评分
还没有评论,来抢沙发吧