PorteCoulissante
Build redstone powered portcullises, without using commands!
Features:
- It doesn't use commands. Just build the portcullis and it will work.
- Stateless, i.e. it does not have to save anything on the server.
- It's redstone powered, giving you flexibility in controlling it.
- It is realistic. The portcullis does not disappear, but moves up and down just like a real one would.
Demo server: mc.pepsoft.org
Check out the PorteCoulissante and RetractableBridge demo Minecraft server at mc.pepsoft.org. It shows examples of both plugins in use, so you can see what you can do with them, and how you use them.
Note that you can't build or break anything or go too far from the town. You can use chests, beds, furnaces, etc. Hostile mobs won't spawn inside the walls at night, but they do spawn outside the walls. If you want to have some fun, there is food in the inn's kitchen, and weapons in the armoury. Note that the gates don't open from the outside!. If you lock yourself out or you get stuck, use the /kill command to kill yourself and respawn. Please let me know if you encounter any problems, if the server is full, or if you find any evidence of griefing!
Server admins, feel free to direct your users to this demo server so they can see how to use the plugins!
Usage:
- Build the portcullis itself by stacking rows of fences (wood or iron), at least two wide and two high.
- Build the wall around it to contain it. Leave enough empty space above the portcullis to allow it to go as high as you want it to go.
- Power the portcullis by powering one of the blocks adjacent to it on either side, by attaching a lever or redstone dust. For now, the power has to come from the side.
- The result should look something like this:

- When the block is powered, the portcullis will start moving upwards, and will keep going until it hits something and can't go any further. It moves slowly, since a portcullis is heavy!
- Important: make sure that when it is in the up position, it is still in contact with a powered block (the same one, or a different one).
- When the power goes off, the portcullis will drop down (a lot faster than it went up).
- Decorate the gate by building walls in front of and behind the portcullis to cover the empty space and to make it appear the portcullis is moving in a groove. Of course you can make it look any way you want! Here is an example:

Tutorial:
Check out this tutorial created by the folks of UK Gaming Troops:
Hints and tips:
- It is possible to create diagonal portcullises! You do it be having a series of small, two block wide portcullises next to each other in a staggered fashion. You have to be careful with the redstone layout though. See the DiagonalPortcullises page for details. There are also two examples on the mc.pepsoft.org Minecraft server.
- The portcullis can be any size you want, as long as it is at least two blocks wide and two blocks high. It must be rectangular though, and have no holes. If the portcullis breaks, it won't move any more until you repair it.
- Try to make the empty space above the portcullis one block less high than the portcullis itself (like in the first picture above). That way, you only need to power one block (the one in the middle on either side), since that block will always be in contact with the portcullis.
- Of course the empty space can be even smaller, if you want. The portcullis only has to go up two blocks to let people through, or three if you want the passage to be a little less claustrophobic.
- The portcullis will go through (and hold back) water and lava, so you can make water gates and water or lava traps with them.
Configuration:
The plugin is configurable via a configuration file. See the Configuration page for details. Aspects you can configure include: the hoisting and dropping speed; which materials the portcullis can be made from; which materials are allowed as power blocks (the frame blocks through which the redstone power is delivered to the portcullis; by default they can be any type), whether "floating" portcullises are allowed and various aspects of the sound effects.
Known problems:
- If a chunk containing a moving portcullis is unloaded by the server (because you log out, or leave the area, or teleport away), the portcullis stops moving. When you come back, it may be half way up. Just power cycle it to raise or lower it fully again. If it stopped while not being adjacent to any redstone powered block, you may have to stick a button or lever on the side temporarily to get it to move. (I recommend to build it in such a way that the portcullis is always adjacent to a redstone powered block; the same one, or different ones.)
Source code:
The source code for this plugin is hosted on sourceforge.net. See the Source Code page for details.
Feedback:
Please let me know what you think of this plugin! Are there any bugs? What can I improve about it? Leave a comment on this page to let me know. And if you're a server admin and you're using my plugin I'd love an invitation! ;)
-
View User Profile
-
Send Message
Posted Apr 28, 2012@LanToaster
What makes you think that my plugin can't be used with heights more than 128?
And why do you start random words with capital letters?
-
View User Profile
-
Send Message
Posted Apr 28, 2012Can youm Update your Plugin so it can be Used with Heights more than 128?
-
View User Profile
-
Send Message
Posted Apr 27, 2012@SkylaWinsong
I can't follow exactly what you're doing there, but you should be able to figure it out. The basic principle is very simple: if a block either side of the gate receives redstone power, the gate starts to lift; if a block either side of the gate (where the gate is at that moment, not where it was originally) loses redstone power, the gate drops.
I'm not sure, but the way you describe it sounds a bit like you might be thinking that the gate needs a constant source of redstone power and a separate signal to make it raise or lower. That's not the case.
Also, note that the power has to come from the side. I notice circuitry beneath the gate in your pictures, but it's not clear whether that's actually meant to power the gate, or if that's just where it happens to be.
Buttons only provide momentary power, so unless the button is on the lowest level, so that the gate leaves its influence before it turns off again, the button turning off will drop the gate again before it can even start to move.
One very common source of problems is multiple redstone sources touching the frame of the gate. The mixed signals will confuse the gate and likely prevent it from operating correctly. Make sure that is not happening in your case.
Exactly how you should set up your redstone depends on how you want it to function. Are you trying to get the gate to raise when you press a button, and then lower again automatically after a short time? Or do you want it to raise when you press a button, and then lower again when you press any button? It the latter is what you want you don't need any timing circuitry, a simple T flip-flop will do.
-
View User Profile
-
Send Message
Posted Apr 26, 2012I have been using this for sometime and had another minecraft server admin add it to their server also Keep up the good work.
However I have come across an issue.
I have set up the gate to use buttons for opening and closing. I have found the setting of hoist = 6 and drop = 20 works on my server. However on a second server which uses the default settings of hoist 40 and drop 10, the buttons will not lift the gate due to the short power time associated with the buttons.
So I have build a elongated power circuit. Thus the power is changed from just a few ticks to an extended time. By using 35+ relays set to four ticks that should provide 140 ticks of power which based on 40 tick movement should lift the gate 3 times.
However when powered the gate does not move when a button is pushed. But put a lever on it and it lifts. And after the 140 ticks it will close the gate. which then requires a full cycling of the lever to get it to move again.
The problem it seems, is the gate is using the time of the button for power and not the actual power from the circuit. Could you check to see why it is not getting power from the circuit?
The circuit is the buttons on opposite sides of the wall power a single redstone wire. It then goes to an xor gate to allow the use of buttons on the other side of the gate.
I then split the signal between a loop that stays powered until a piston breaks the circuit. The piston is powered by a string of 30- 40 relays allowing the loop to stay active for about 7 seconds.
4 photos of the circuit http://www.flickr.com/photos/79529872@N04/with/7117515869/
-
View User Profile
-
Send Message
Posted Apr 19, 2012I absolutely love this addon and your retractable bridge. I use them all the time! I can't stop using them!
-
View User Profile
-
Send Message
Posted Apr 7, 2012@guthriearmstrong
you can configure it to work with nether fences in the config.yml
-
View User Profile
-
Send Message
Posted Mar 11, 2012I love the plugin! Especially how there's no need to configure any .yml's :)
But do ya think you'll make it compatible with nether fences any time soon?
-
View User Profile
-
Send Message
Posted Mar 9, 2012Thank you so much for updating your plugins! I was getting worried that i might not be able to use them any longer!
-
View User Profile
-
Send Message
Posted Mar 9, 2012@Captain_Chaos
ok thank you for your answer
-
View User Profile
-
Send Message
Posted Mar 9, 2012@akira38
No, I want to keep things simple and only support rectangular portcullises. I think it would decrease performance, and increase the chance of things that are not mean to be portcullises flying off by accident, if I added support for irregularly shaped portcullises.
-
View User Profile
-
Send Message
Posted Mar 9, 2012Hi:
I test your plugin with a no square door, not work with around door. It's possible your modify your plugin for work with any form door.
Thank, I'm sorry for my very bad english.
-
View User Profile
-
Send Message
Posted Mar 8, 2012@Captain_Chaos
It´s fixed, thanks for the fast work. It was not the size of the gate... the gate was destroyed on block 128. Now all went right. :)
-
View User Profile
-
Send Message
Posted Mar 7, 2012@DonDav1
I just uploaded version 1.2.8, in which this bug should be fixed. Could you please test it (once it is approved) and let me know whether the problem is indeed fixed?
-
View User Profile
-
Send Message
Posted Mar 7, 2012@DonDav1
Interesting. I don't think it has to do with the size of the gate. The gate is normally destroyed like that if it hits the top of the world, but I may not have updated that code for Minecraft 1.2's 256 block high worlds, so the gate is destroyed when it reaches half the world height. Could that be it?
-
View User Profile
-
Send Message
Posted Mar 7, 2012@Captain_Chaos Hi have you ever tried a really big gate? I have no Problem with my gate at 30x30= 900Blocks of Iron-gate.
but with another gate of 100x62= 6200Blocks of iron-gate something went terrible. i give the gate redstone-power and it starts to move up, but then suddenly my server starts to lag and the gate destroys hisself and all the 6200 irongate-parts begann rain down to bottom and got Entities. As result my server stops responding, thanks worldedits /stoplag-command for rescue.
So have you ever tested such big gates and is there a building limit? I use cb1.2.3-r01 beta & PorteCoulissante 1.27
Anyway your Plugins are both a great addition for my server.
-
View User Profile
-
Send Message
Posted Mar 7, 2012It's always best to just try my plugins out on any new version, usually they work fine. I haven't tested them yet on the 1.2.3 beta, but I have tested them on the 1.2 beta and they functioned correctly so I have no reason to suspect they won't work on 1.2.3...
-
View User Profile
-
Send Message
Posted Mar 6, 2012This plugin is perfect. So lightweight and it does exactly what you want it to. We offer it on our hosting services and its an integral part of our server (currently in development.) Here's a shot showing both our portcullis and our retractable bridge.
http://t.co/cnKkKBIT
-
View User Profile
-
Send Message
Posted Mar 6, 2012@Wolf314151 It does not show a download for 1.2.3 yet, so I am assuming not.
@Captain_Chaos I am very glad to hear you are not abandoning your amazing work :) These plugins (Port and Bridge) are the main plugins we add to the server as they are very important to our builds. Thank you! We just updated our server to the beta 1.2.3, looking forward to the updates!
-
View User Profile
-
Send Message
Posted Mar 6, 2012Is this compatible with 1.2.3 craftbukkit?
-
View User Profile
-
Send Message
Posted Mar 4, 2012@cosherboy
You can't be playing Minecraft 1.2 on version 1.1-R6 of CraftBukkit...