Spawner

Spawner 1.19

Native Minecraft Version:
1.19
Tested Minecraft Versions:
1.161.171.181.19
Whenever a given spawner tries to spawn a mob, instead the block will be replaced. This plugin was made to automatically disable/remove spawners on my server while still reward a player for finding the dungeon.

The plugin also keeps track of how many have been replaced and contains a log file keeping track of when/where a spawner has been replaced.

Default Config:
Code (YAML):
#https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/EntityType.html
#https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html

# SpawnerTypes is the EntityType for the spawner which will be replaced.
# To reduce lag, spawners only get replaced IFF it tries to spawn a mob.
# There is a rare occurrence. From low tps, lag, or speed: If the spawner gets disabled (lit up) before summoning a mob
# , the spawner will not be replaced; until it attempts to summons a mob.
SpawnerTypes: [ZOMBIE,SKELETON,SPIDER,CAVE_SPIDER]

# BlockType is the pool of blocks it will choose to replace the spawner with.
# Air to completely remove
# ex: BlockType: [AIR]
#
# Since this is a pool, you can put the same block multiple times if you want a higher chance of it appearing
# ex: BlockType: [NETHERITE_BLOCK,DIAMOND_BLOCK,IRON_BLOCK,IRON_BLOCK,IRON_BLOCK]
# This means 1/5 times it will replace with Netherite, 1/5 Diamond, 3/5 Iron.
BlockType: [NETHERITE_BLOCK,DIAMOND_BLOCK,IRON_BLOCK,IRON_BLOCK,IRON_BLOCK]

# SpawnersReplaced is the total number of spawners which have been replaced.
# The plugin looks at this number at startup, increases it by 1 every replace, then updates this file with the new value
# on shutdown.
# Manually changing this number while the server is offline will change the count to that value.
SpawnersReplaced: 0
Author
Mined
Downloads
4
Views
11
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from Mined

Top