Redstone Mania

Plugin Notice. Please read.

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.

Go to the BKCommonLib Dev-bukkit page

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of thinksenior thinksenior Apr 28, 2014 at 19:36 UTC - 0 likes

    @Me4502: Go

    rename it then to redstonemania lol worked for my server

  • Avatar of Me4502 Me4502 Apr 17, 2014 at 02:32 UTC - 0 likes

    @pnndzwdz: Go

    Bukkit doesn't support plugins with spaces in the name anymore.

    https://dl.dropbox.com/u/20806998/CraftBook%20Logo.png BFAK:Me4502,29161,4f0de51cb88cee87b6bde141dc91aad088e966ece17f83fc6225cb872dcbc2c8 Donate Moving from FalseBook to CraftBook?|My website!|Quality server hosting!

  • Avatar of pnndzwdz pnndzwdz Feb 04, 2014 at 14:01 UTC - 0 likes
  • Avatar of smeths smeths Jan 25, 2014 at 19:35 UTC - 0 likes

    @atomfitz: Go

    Yes it does, I have been using it on my test server and find it to be a very useful tool

    Check out My other plugins!!!

  • Avatar of atomfitz atomfitz Jan 04, 2014 at 19:36 UTC - 0 likes

    Does this work with 1.7.2?

  • Avatar of Davewesh09 Davewesh09 Nov 07, 2013 at 23:54 UTC - 0 likes

    Is there a way to get this mod to activate the blocks the circuit is connected to, Also is there a reason say a Fader pulse extender wouldn't work with this mod?

  • Avatar of bergerkiller bergerkiller Sep 24, 2013 at 16:48 UTC - 0 likes

    Uploaded a new version that fixes the broken compatibility with BKCommonLib.

  • Avatar of sjoshua270 sjoshua270 Jun 06, 2013 at 16:30 UTC - 0 likes

    It seems I am having the same problem as Helmi_74. I get "An internal error occurred while executing this command" when I try to save a circuit. Using bukkit 1.5.2 and the latest version of RM: 1.04 Also have BKCommonLib version 1.52

    Any solutions?

  • Avatar of cartman_2000 cartman_2000 May 13, 2013 at 19:10 UTC - 0 likes

    It would appear that this plugin is broken with the newer 1.5.2 compatible bkcommonlib versions.

    error: http://pastebin.com/XBQ7BvzD

  • Avatar of Soledge777 Soledge777 Apr 15, 2013 at 03:34 UTC - 0 likes

    cant get it to recognize a wire to set a port on 1.5.1. i read the last comment and expected it to work =P

    BFAK:Soledge,90689517,24292551a4a567b2950ea09eb17e1e0e845dffac8c2a86b94471782a05796120

Facts

Date created
Sep 22, 2012
Category
Last update
Sep 24, 2013
Development stage
Release
Language
  • enUS
License
MIT License
Curse link
Redstone Mania
Downloads
4,684
Recent files
  • R: v1.05 for 1.6.4 Sep 24, 2013
  • R: v1.04 for CB 1.4.7-R1.0 Feb 22, 2013
  • R: v1.03 for CB 1.4.5-R1.0 Dec 25, 2012
  • R: v1.02 for CB 1.4.5-R0.2 Nov 21, 2012
  • R: v1.01 for 1.4.2 Oct 29, 2012

Authors