Sueta
TO

Togglable Spawners

1.0.1

Allow redstone control over spawners!

·Plugin

Introduction
This very simple plugin aims to provide what some modded spawners provide: redstone control over spawners! To do maintenance work over their spawners or to stop mob infestation, your players no longer need to rely on other methods to disable them, which might be a hassle or even impossible for some spawners.

To disable a spawner, power it like how a redstone lamp should be powered. More info on direct/indirect (strong/weak) powering here: https://minecraft.gamepedia.com/Redstone_circuit#Power

Configuration and Commands

Commands:

Aliases: /ts, /tspawner, /togglespawner

/togglablespawner reload - reloads the configuration file

Permission: togglespawner.reload

Configuration file:

# ----------------------------------------
#   Togglable Spawners v1.0.0 config file
#        Created by despawningbone
# ----------------------------------------

#Choose which worlds where redstone will not be able to be used
#for toggling the spawners.
Disabled-in-worlds:
  #- Disabled_World
  -

#Allow spawners to be indirectly powered?
Allow-indirect-power: true
 
#Enable debug logs?
#This will output the spawner's location to the console
#when the spawn event is fired and is cancelled by the plugin.
debug: false

Todo and known bugs
Todo:
- Your suggestions :)
Known bugs:
- N/A as of now

Side note:
This is a small side project I've worked on as to fix the annoyance i was having while playing at my own server, therefore it is way simpler than the usual plugins I would make. As I don't see such plugins out on the internet, i thought i would share this simple little plugin made in 1 day out :p

Similar projects

Plugin →