SpawnerCleaner
PluginLicenseRef-All-Rights-Reserved

SpawnerCleaner

SpawnerCleaner is a high-performance utility plugin designed to prevent abuse of spawner mechanics and keep the server economy balanced, particularly on SMP and Towny servers.

15
Downloads
0
Followers
3 months ago
Updated
📦
1
Versions

📖About SpawnerCleaner

🛡️ SpawnerCleaner
Intelligent Spawner Cleaner Protecting Your Server Economy & Performance — especially on SMP and Towny servers.

1

🌟 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) ✅

  1. Type Check Blacklisted (Zombie) ⚠️ Blacklisted (Zombie) ⚠️
  2. Data (PDC) Check No Data (Empty) ❌ Has Data (Level/Stack) ✅
  3. 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.

2

⚙️ 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