SpawnerShield Plugin
Protect your server's spawners with ease!
Description
SpawnerShield is a lightweight plugin designed for survival servers to prevent players from breaking all the spawners. It's easy to configure and use, ensuring your server's economy and gameplay balance are maintained.
Features
- Spawner Protection: Disable spawner breaking for regular players.
- Permission-Based Bypass: Allow trusted players or staff to break spawners with a specific permission.
- Explosion Protection: Spawners are protected from explosions like TNT and creepers.
- Correct Spawner Drops: When a player with bypass permission breaks a spawner, it drops the correct spawner type.
- Configurable Messages: Customize the messages shown to players.
- World-Specific Protection: Enable spawner protection in specific worlds.
- Tool Requirements: Require players to use a pickaxe with Silk Touch to break spawners.
Commands & Permissions
Permissions
- spawnershield.break: Allows players to break spawners regardless of protection settings.
- spawnershield.bypass.silktouch: Allows players to bypass the Silk Touch requirement.
- spawnershield.bypass.explosion: Allows players to bypass explosion protection.
Configuration
Code (YAML):
# Configuration file for SpawnerShield plugin
protection
:
# If true, spawner protection will be active.
# Players with the 'spawnershield.break' permission can bypass this.
enabled
: true
# The message sent to players when they try to break a spawner and don't have permission.
# You can use standard Minecraft color codes with '&'.
message
: '&7Server &8| &bSpawner breaking is disabled in this server.'
# A list of worlds where spawner protection is enabled.
# Add or remove world names to control where the plugin is active.
worlds
:
- world
- world_nether
- world_the_end
# Settings related to requiring a pickaxe for breaking spawners.
pickaxe_only
:
# If true, players must use a pickaxe to break spawners.
# Players with 'spawnershield.break' can bypass this restriction.
# If this is disabled, NO ONE can break spawners without the bypass permission.
enabled
: true
# The message sent if a player tries to break a spawner with something other than a pickaxe.
no_pickaxe_message
: '&cYou must use a pickaxe to break spawners.'
# Settings for requiring the Silk Touch enchantment on the pickaxe.
require_silk_touch
:
# If true, the pickaxe must have the Silk Touch enchantment to break spawners.
# Players with 'spawnershield.bypass.silktouch' can bypass this.
enabled
: true
# The message sent if a player's pickaxe does not have Silk Touch.
no_silk_touch_message
: '&cYour pickaxe must have Silk Touch to break spawners.'
Installation
- Download the plugin.
- Place the `SpawnerShield.jar` file in your server's `plugins` folder.
- Restart your server.
- Configure the `config.yml` file to your liking.
- Restart the server again or use `/spawnershield reload`.
Thank you for using SpawnerShield! If you like the plugin, please leave a 5-star rating!