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 →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta