Redstone Mania
Version: 1.05
Bukkit: 1.5.2/1.6.2/1.6.4
Description
Redstone Mania features wireless, customizable and instant redstone in the form of 'circuits'. How does that distinct from other plugins like Craftbook you might ask, well, instead of supplying circuitry that are built-in, you can create and save them yourself! Instead of having hundreds of XOR-circuits lined up to make that awesome door lock, you can now save this XOR-circuit and make it instant, small, and persistent.
What it basically allows you to do, is select ports in a (real-world) redstone circuit, configure some of the torches and repeaters to tweak delays, and perform the 'create' command to make a virtual version of that circuit. You can then use port signs to make instances of this circuit in the world. It doesn't stop there, as you can further use these circuits to include in other circuits. You can basically extend the redstone logic to the point you have a working microcontroller. Something that used to be the size of a house, can now be done in just a few blocks.
Additional to all this, the ports of a circuit are wireless. You can place infinite amounts of the same ports all over the server (yes, it works between worlds too!). This allows for wireless control of redstone throughout the server.
Finally, other than just toggling levers, ports can toggle (trap)doors and note blocks.
Summary
- Set the ports of your circuit and save it as a circuit, simple as that
- Circuit can be optimized: instant, no block changes, no server lag
- You can make multiple of the same circuit (instances)
- Wireless: Connect circuits cross-world or across the world
- Very simple lever-system simulates redstone wire up to 100%
- Possible to set ports by toggling levers manually: wireless levers
- Nearby note blocks, doors and trapdoors are toggled as well: double-door becomes small
- Completely freeze-protected: it is impossible for circuits to end up in an infinite loop
- Possible to use circuits in another circuit: CircuitCeption :)
- Control redstone circuit ports using the toggle command
- Will never break between CraftBukkit builds unless Bukkit changes something.
Media
How to make a circuit that adds two 1-bit values
How to make a circuit that adds two 2-bit values
Usage
Port
A port is used to make your circuit communicate with the outside world. An XOR-gate, for example, has two 'in' ports and one 'out' port. A memory field (SNNOR-latch/Flip-flop) has only two ports, 'a' and 'b'.
To make a port, place a sign on a block with:
[port] circuitname instancename portname
If the instancename is not yet taken, it is made. Otherwise this port is added to the circuit instance set. If a circuit instance is out of ports it is automatically cleaned up. For example, an XOR-gate would look like this:
[port] XOR xor1 in1 [port] XOR xor1 in2 [port] XOR xor1 out
Commands
You can use /redstone , /circuit and /rm to use Redstone Mania.
- /redstone list to list all circuits, /redstone list [circuitname] to list the ports
- /redstone port [name] to set a real-world port for your circuit (first select a block)
- /redstone setdelay [delay] to set the delay for the element during creation (select block)
- /redstone clickdelay [delay/disable] to set a delay that is set when clicking blocks
- /redstone clearports to clear the selected ports
- /redstone cleardelays to clear set delays
- /redstone clear to clear both ports and delays
- /redstone save [name] to save your circuit using the ports set
- /redstone delete [name] to delete a circuit and all it's instances
- /redstone reload to re-load all circuits (in case you changed a dependency circuit)
- /redstone toggle [circuit] [instance] [port] ([state]) to toggle the powered state of a given circuit. State to set to is optional, toggles otherwise.
Permission for all these commands is:
redstonemania.use
Sharing
Circuits are stored in the circuits sub-folder as files with a .circuit extension. These files can be safely transferred as you like. This is unique, as it allows you to share the same circuits among multiple servers
FAQ
I tried to make the xor circuit in the example, but it couldn't find it?
That is right, you have to make one out of redstone first. The video on this page shows how to do just that. (at the very end) I didn't include those so people could get used to the circuit creation mechanisms.
The server is complaining about missing circuits. What do I do?
Remove remaining instance files of this circuit in the instances sub-folder. It could be an user deleted a circuit but the instances didn't get deleted...for whatever reason.
I tried to make my circuit instant, but it doesn't do anything
Check if there are no infinite loops going on in your circuit. If such a loop is happening, the plugin will step in at some point and stop it. If you want a loop in your circuit, give it the minimal clock rate of one tick.
@LanToaster Nope, I can add it though. It would toggle the lever that is attached to a given port of a circuit.
@Helmi_74 A strange error, I think it is a compiler error that occurred after a small change in BKCommonLib. I'll re-upload a version with a command to toggle redstone power included, just to have something in the changelog :)
ok, with the newest version of BKCommonLib installed now i can't save circuits anymore "An internal error occured while executing this command"
Here's the console log at this time: http://pastebin.com/Mvqp9Rhx
Don't know if i'm just doing it wrong but it looks like i can't seem to get Redstone Mania to work for me.
Situation: Simple Circuit that generates a blink signal with a constant on/off. I set an open redstone wire that has the on/off as port a, saved the circuit with a name. on Some distance i put a sign with the content:
[port] blinklicht (which is the circuits name) a a
and put a redstone wire and a redstone light there but the sign doesn't seem to get powered by the on/off signal from the circuit. Did i maybe not get it right? Looks so simple but doesn't work.
Is it Possible to Start/Input a Circuit on a Console Command?
@Bomberboy123 That is strange, did you really install it properly? (it goes in the plugins folder)
OHHH lol, I took a glimps at it, then went straight to the download, although despite having that plugin I'm still getting the same error.
@Bomberboy123 Click download. Don't you see the huge banner on this page?
@bergerkiller no, all it says is "Please stop the server correctly by using /stop command" or w/e why? and yes I do use the /stop command
@Bomberboy123 Did you really just miss the gigantic banner on the download page?
I can't load the plugin :( getting "[SEVERE] Could not load 'plugins\RedstoneMania.jar' in folder 'plugins' org.bukkit.plugin.UnknownDependencyException: BKCommonLib at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:195) at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:222) at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:198) at net.minecraft.server.ServerConfigurationManagerAbstract.<init>(ServerConfigurationManagerAbstract.java:50) at net.minecraft.server.ServerConfigurationManager.<init>(SourceFile:11) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:105) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:378) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)" And I don't know why, I'm running a beta build of bukkit, don't remember what version exactly :( I really want this plugin plz help!!!
Download link? Please?Awesome plugin! It was really easy to understand and now I am making computers with it. Thank you so much!