SimpleLogic
SimpleLogic is my first plugin, so constructive criticism is appreciated. It allows sign based logic gates. They work by having two inputs and one output. You can choose if the output is to the right of the block the sign is attached to, to the left, or behind it. The 2 non-output blocks are the input areas. Currently the sign must be attached to a wall to work. The first line will turn to dark blue if you're making the sign properly.
How to use
The syntax for signs is:
[Logic]
Output location(left,right, or back)
Logic operator(and, or, xor, nor, xnor, nand)
This sign checks if the block to the left or the block to right has power and places a redstone torch in the back if it's true.
Todo
- Add permissions support
- Add other types of redstone things such as clocks.
- Requests
Thanks
Thanks to ngc0202 for encouraging me to make this.
This is exactly what I wanted to make. Nice plugin! First thing I tried to do crashed the server. I think I made like a clock that would go infinitely fast because the redstone was super glitchy. Awesome plugin!
Still working. 1.7.2 R0.1
It works fine using craftbukkit-1.4.5-R0.2! I just have one problem, i cannot send a xnor out signal to another xnor input signal. It makes the plugin crash and also the server.
I want to use it for providing light to a house using 3 levers
BTW, using wireless redstone and pointing 2 levers to one input and 1 lever to the other works fine, so it will fix the problem, but well, i think that maybe someone would like to use your plugin without any other.
I've finally made the update for 1.3.1 :D And made it a little nicer :)
Suggestion:
Memory operation
Input from left turns output on Input from right turns output off Input from both or neither leaves output unchanged
As demonstrated on the testing server
I think I found a pretty major bug. It seems that if the spot where the redtorch is supposed to show it is blocked, it crashes my server. I'm going to do some further testing on another server with no other plugins just to be sure that it's not conflicting with them.
First off, I LOVE this plugin. It works great, can't wait to see future improvements. I have notice one bug; when you clear a section with world edit, sometimes it leaves red torches behind. When I try to break the torch, it pops back up (as if the logic sign were still activating it). Nothing too terrible, as I can easily avoid it by remembering to turn off logic before clearing with worldedit.
Nice, any eta on permissions support?
Amazing! Great for a first plugin!
Very, very nice plugin. I like how you can combine them to form mega-gates with relatively little space.