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! ;)
I have created an updated version of this plugin for 1.16.2. You can download it here.
Seems to work still with iron fences on 1.14.4 (PaperMC) - has anyone managed to configure it correctly, or does it need an update? If an update, does anyone have the source? :) I miss my portcullises and sliding bridges!
Code is here: https://sourceforge.net/p/portecoulissant/code/HEAD/tree/
It would be nice if you are able to update :)
Same here for rectractable bridge https://sourceforge.net/p/retractablebrdg/code/HEAD/tree/
I've got it working in my 1.12.2 craftbukkit server as of 02/07/2019. It works with oak and iron fences. Doesn't work with other types of fence (tested with darkoak).
hi! would it be possible to update it against the last paper spigot?
Thanks!!!!
I also use this plugin since a lot of versions ago. It's an amazing plugin!
Thank you very much Developer!
Unbelievable, but still working in 1.12.1 - Captain_Chaos you rock dude!
1.12 works well!!! :O
Using since first release...
This is the UNBREAKABLE plugin, still working on 1.11.2!
Thanks for making this plugin 1.8 all lot of other plugins were only 19. and 1.10.
Hi all,
currently I'm running Spigot 1.10.2 with PorteCoulissante v1.4.3 from Feb 23, 2014 and it's working flawlessly.
Could anybody change the text of 'Recent files' from CB 1.8 to CB 1.10.x?
I've used PorteCoulissante v1.4.3 also in older versions of Spigot (1.8/9) without any problems.
Thanks,
Pixtar
@Captain_Chaos
Do you plan to update to sponge?
EDIT: Ignore my ignorance, sorry about that though id love to see this ported to sponge its a great plugin
Thanks for this plugin that i have since the beginning from April 2013 ;-)
@Captain_Chaos
Thanks for the update. This has been an amazing plugin over the years so thank you for working on it through all the releases.
@Durand1w
No, no plans in that direction.
I was wondering if there were any plans to make a Sponge or Forge version? I know it is open source but wasn't sure if these were being considered.
Wish there was a way to get sound effects. Spoutcraft doesn't work on anything 1.7 or higher. Spout.org has nothing on it but a picture lol. Spoutcraft.org has the forums.
Just gonna write a quick review.
Several years ago my friend recommended this plugin. I'm glad I looked into it. My server has never been without this plugin. It doesn't need updating for the most part (the only time it did the author was EXTREMELY quick in releasing a working update). It is extremely lightweight, requires almost no configuration, NO PERMISSIONS WHATSOEVER, and gives towns and castles an AMAZING unique aspect. My only complaint is that you have to make the gates in squares, which sometimes limits the creativity, or at the very least makes some extra planning go into it. But all in all, there is NO reason you shouldn't have this plugin on your server.
Update for 1.8? :)
Just a big thank you for this plugin, its a great addition to my server and my players love it.