What is Lightswitcher?
Lightswitcher allows you to control redstone lamps by creating a "circuit" and controlling it via button(s).
Features:
- Add light switches to any room you want!
- Add as many redstone lamps and buttons as you want to each circuit.
- Buttons, lamps, and any supporting blocks are not able to be broken, if they're part of a circuit!
- Add a "main circuit" button that can control multiple already-existing circuits (like a breaker box for a home). TURN OFF MULTIPLE CIRCUITS AT ONCE!
- Name your circuits for easy editing and control!
- Ability to return to edit mode for any circuit at any time!
- Circuits are remembered until deleted - saved in a data store!
How can I install Lightswitcher?
- Place the plugin in the ./plugins/ folder.
- Restart the server.
- If the data.yml appears inside the ./plugins/LightSwitch/ folder, you have installed it correctly.
What are the Commands?
/circuit - main command
/circuit add <name> - add a named circuit to control lights
/circuit delete <name> - delete a circuit OR main circuit by name
/circuit edit <name> - enter edit mode for a circuit or main circuit
/circuit edit - exit edit mode for the circuit you're working on
/circuit addmain <name of main circuit> <circuits to control> - add a "main circuit" that controls multiple already-existing circuits
<name of main circuit> - put a name to that main circuit!
<circuits to control> -
list of circuits to control with that main circuit, separated by spaces
How to use the plugin!
Now that you've got the commands, here's how you get started:
Add a Circuit:
- Place redstone lamps and buttons (for switches) in their desired locations before beginning.
- Add a new circuit by using the command /circuit add <name>
- Click all of the desired lights and switches for that circuit!
- Exit edit mode by running the /circuit edit command.
- Test your circuit by pressing the switches!
Remove a circuit or main circuit:
- Run the /circuit delete <name> command to delete your desired circuit or main circuit.
- You still have to delete the blocks contained within that circuit (they don't just disappear)
Add a main circuit:
- Run the /circuit addmain <name of main circuit> <desired pre-existing circuits to control>
- Then just select the button you'd like to control that main circuit!
- Run /circuit edit to exit edit mode.
- Test it out! Your main circuit button should control multiple circuits at once!
Edit an existing circuit or main circuit:
- Run /circuit edit <name of circuit or main circuit>
- Add more lamps or buttons by selecting more.
- Remove lamps and buttons by breaking them.
- /circuit edit to exit edit mode!
Permissions:
LightSwitch.admin -
access to all of the commands
(Don't forget that anyone on the server can use all light switches!)
What if I need support?
You can contact me here, right on Spigot!
Thank you for supporting this plugin! Enjoy!