?️ SpawnerCleaner
智能刷怪笼清理器,保护你的服务器经济与性能 —— 尤其适用于 SMP 和 Towny 服务器。

? 为什么选择 SpawnerCleaner?
在 Minecraft 服务器上平衡经济是一项艰巨的任务。玩家利用野外发现的天然地牢刷怪笼进行挂机刷怪,不仅会破坏服务器经济,还会因怪物过度堆积导致 TPS 下降(卡顿)。
SpawnerCleaner 从根源上解决了这个问题!当玩家试图使用野外的天然刷怪笼(如僵尸、骷髅等)时,系统便会激活并销毁该刷怪笼。
不过请放心,通过金钱购买、战利品箱获取或专门发放给玩家的 SmartSpawners 将受到 100% 的保护。
? 主要特性
✅ 智能保护算法
它不仅仅是一个标准的“刷怪笼删除器”。它会分析方块的数据。如果刷怪笼是由插件创建或自定义的(SmartSpawner、SilkSpawners、RoseStacker),它将永远不会删除它。
✅ Folia & Luminol & Paper (1.21+) 全面支持
它利用了业界最新的 RegionScheduler API。在多线程 Folia 服务器上也能完美运行且高性能。
✅ 零卡顿保证(基于事件)
与旧式插件不同,它不会持续扫描整个世界。它仅在刷怪笼尝试“生成怪物”时激活。即使你的服务器有 1000 名玩家,CPU 占用率也接近 0%。
✅ 选择性清理(白名单)
它只删除“垃圾”怪物(僵尸、骷髅、蜘蛛等)。
已删除:? 僵尸、? 骷髅、?️ 蜘蛛、? 烈焰人...
受保护:?️ 铁傀儡、?? 村民、? 被动生物,以及试炼密室刷怪笼!
? 工作原理?(图解说明)
当刷怪笼激活时,插件会通过三个阶段的安检:
检查阶段 天然刷怪笼(地牢) ❌ 智能刷怪笼(自定义) ✅
- 类型检查 黑名单(僵尸) ⚠️ 黑名单(僵尸) ⚠️
- 数据(PDC)检查 无数据(空) ❌ 有数据(等级/堆叠) ✅
- 名称检查 无名称(默认) ❌ 有名称(例如“付费刷怪笼”) ✅
结果 ? 已删除 ?️ 已保护
? 截图
图 1:当玩家靠近天然的僵尸刷怪笼时,它在第一次尝试生成时会伴随粒子效果消失。
图 2:当玩家放置通过“SmartSpawner”获得的刷怪笼时,插件会识别它并不予处理。

⚙️ 安装与配置
将 .jar 文件放入 plugins 文件夹。
重启服务器。
编辑 plugins/SpawnerCleaner/config.yml 文件中的消息和设置。
默认配置文件:
YAML
# SpawnerCleaner Configuration File
# 是否在删除刷怪笼时向玩家发送消息?
send-message: true
message: "&c&l(!) &7此处的天然刷怪笼已耗尽能量并消失!"
# 移除时播放的声音效果(禁用请设为 none)
sound: "ENTITY_ZOMBIE_VILLAGER_CURE"
# 插件应在哪些世界中激活?
enabled-worlds:
"world"
"world_nether"
"your_world_name"
? 命令与权限
命令 权限 描述
/spawnercleaner reload spawnercleaner.admin 无需关闭游戏即可重载配置文件。
(自动) spawnercleaner.bypass 拥有此权限的玩家(管理员)附近的刷怪笼不会被删除。
? 下载与支持
本插件由 Eren 开发,专为现代服务器架构(Folia/Luminol)打造。
兼容性:1.21 及以上版本
要求:Java 21
?️ SpawnerCleaner
Intelligent Spawner Cleaner Protecting Your Server Economy & Performance — especially on SMP and Towny servers.

? Why SpawnerCleaner?
Balancing the economy on Minecraft servers is difficult. Players using natural dungeon spawners found in the wild for AFK farming not only ruin the server economy but also cause TPS drops (Lag) due to unnecessary mob accumulation.
SpawnerCleaner solves this problem at its root! The moment a player attempts to use a natural spawner (Zombie, Skeleton, etc.) found in the wild, the system activates and destroys that spawner.
However, do not worry; SmartSpawners that are sold for money, obtained from crates, or given specially to players are 100% SAFE.
? Key Features
✅ Smart Protection Algorithm
It is not just a standard "Spawner Deleter." It analyzes the block's data. If the spawner was created or customized by a plugin (SmartSpawner, SilkSpawners, RoseStacker), it will NEVER delete it.
✅ Folia & Luminol & Paper (1.21+) Full Support
It utilizes the industry's newest RegionScheduler API. It works flawlessly and with high performance on multi-threaded Folia servers.
✅ Zero Lag Guarantee (Event-Based)
Unlike old plugins, it does not constantly scan the world. It only activates when a spawner tries to "Spawn a Mob." CPU usage is near 0% even with 1000 players on your server.
✅ Selective Cleaning (Whitelist)
It only deletes "junk" mobs (Zombie, Skeleton, Spider, etc.).
DELETED: ? Zombie, ? Skeleton, ?️ Spider, ? Blaze...
PROTECTED: ?️ Iron Golem, ?? Villager, ? Passive Mobs, and Trial Chamber Spawners!
? How It Works? (Visual Explanation)
The plugin passes a spawner through a 3-stage security check when it becomes active:
Check Stage Natural Spawner (Dungeon) ❌ Smart Spawner (Custom) ✅
- Type Check Blacklisted (Zombie) ⚠️ Blacklisted (Zombie) ⚠️
- Data (PDC) Check No Data (Empty) ❌ Has Data (Level/Stack) ✅
- Name Check No Name (Default) ❌ Has Name (e.g. "Paid Spawner") ✅
RESULT ? DELETED ?️ PROTECTED
? Screenshots
Image 1: When a player approaches a natural zombie spawner, it vanishes with particle effects on the first spawn attempt.
Image 2: When a player places a spawner obtained via "SmartSpawner," the plugin recognizes it and does not touch it.

⚙️ Installation and Configuration
Drop the .jar file into the plugins folder.
Restart the server.
Edit messages and settings in the plugins/SpawnerCleaner/config.yml file.
Default Config File:
YAML
# SpawnerCleaner Configuration File
# Should a message be sent to the player when a spawner is deleted?
send-message: true
message: "&c&l(!) &7The natural spawner here has depleted its energy and vanished!"
# Sound effect played upon removal (To disable: none)
sound: "ENTITY_ZOMBIE_VILLAGER_CURE"
# In which worlds should the plugin be active?
enabled-worlds:
"world"
"world_nether"
"your_world_name"
? Commands and Permissions
Command Permission Description
/spawnercleaner reload spawnercleaner.admin Reloads the config file without closing the game.
(Automatic) spawnercleaner.bypass Spawners near players with this permission (Admins) will not be deleted.
? Download and Support
This plugin was developed by Eren, specifically for modern server infrastructures (Folia/Luminol).
Compatibility: 1.21 and above
Requirements: Java 21
评论 0
登录后参与评分
还没有评论,来抢沙发吧