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! ;)
Are you sure this is working as intended ?
seeing that fences now connect to blocks around it, if you have built your gate so that any of the fences connect to a block around it and then try to move the gate. thats when my server screamed in horror and everything just ends up freezing untill server restart.
@AnotherP
It's because nothing about the file itself has changed, but the plugin is 1.1 compatible. Therefore, you don't need to download anything, but you can be confident that the plugin works as intended :p (not counting unexpected bugs that haven't happened yet)
um...it says their is a 1.1 update for this plugin, but it says it was posted here october 21st...
@moose517
I don't know, I haven't looked into it. The plugins work normally in Bukkit 1.1, what's the advantage of the new event system?
Will this plugin be updated with the new event system? I really hope so as my players Love this!
Hey tiga06,
Go ahead and click on Reccent Files on the right as if your going to download the file and then the Changelog will appear on the left side of the website.
For those who are new:
Be sure to make the fence part cover most of the gate otherwise the gate will never come down
(P.S Thanks Captain for updating this)
Where is the Changelog?
@brianm97
I've also ran across a glitch ONCE where it didn't work in a certain area due to some kind of Minecraft Chunk issue. Try moving it a couple blocks over and try again. Alternatively, give me a server to connect to, and I'll try to do a bit of basic troubleshooting for you.
@brianm97
The line in the log file means the plugin is being loaded and activated. If you really built the portcullis correctly, according to the video, or the picture above, using exactly the same materials, and paying close attention to where the redstone goes, then it must be another plugin which is preventing mine from working.
Have you tried temporarily disabling all the other plugins, like I suggested? I'm afraid that's the only way to find out if another plugin is causing the problem, as I am not aware of any incompatibilities.
@captiain_chaos it says plugginversion1.2.6 by you enabled. I made one exactially like the video and no movement.
@brianm97
Make sure that the plugins are actually being loaded (you should see a line for each of them in server.log when you start up the server). If they are it's not hard to get them to work. Read the instructions above carefully, and check out the videos Raptor2213 posted below.
With regards to the config file, read the Configuration page carefully. It explains that the config file is not automatically generated, you have to create it (and the directory it goes in) yourself. That page explains what to call the directory and the config file.
As far as I'm aware my plugins are not incompatible with any other plugins, but I have not tested that myself, so I can't give any guarantees or tell you which plugins might cause problems. If you suspect another plugin might be conflicting you could test that by temporarily disabling all other plugins to see if PorteCoulissante and RetractableBridge work then.
Hi. I am building a castle with my server now and I would love to use this. I have been trying for ever and a cannot get it to work. Also the config. file never generated so I cannot check it Thanks. Same with retractable bridge I would love to use both actually the pluggins we are running are, backup, bedhome, clear, Commandbin, confess, creeper heal, worldguard, fldt detector, mob ambush, mchange, plg essentials, yours, publicwarp, ranged wolves,regrowingsheepcoat, tim the enchanter, treeasist, worldedit, worldguard. I didn't see a conflitcing pluggins section but could you see if they are conflicting please. Thankyou for an amazing looking pluggin
Basic tutorial video: http://youtu.be/Oc5JuTuzYbk
And RetractableBridge, (which needs it more, IMO): http://youtu.be/455b-6U2KSk
@Selphiron
You can add custom block types yourself, check the Configuration page for details.
Very great plugin Merci beaucoup
Great plugin!But add also Netherfence pls!Would be awesome.
This plugin is pretty amazing, but could you update it to make it compatible with 1.0.0 blocks?
@MerlenMage
Also not a new build. ;) Just updated the CraftBukkit compatibility information. More people have asked for a sliding door plugin. I may build such a thing, but definitely not any time soon, and it would probably be a separate plugin if I do.
:O HOLY CRAP there is finally a new update! I have been using the same one for as long as I can remember now. Good thing I looked for it again to see if there is an update for it. Was working as always with 1.0 but with an actual build for 1.0 I cant wait to see whats new.
Amazing plugin. :)
I just thought of something so im editing into this post. Would it be possible to have this plugin also be able to be made to go sideways like a sliding door? I love that it allows madival gates but just thought it would be cool if the plugin allowed for sliding glass doors as well as the gates that go up. Just a thought. :)
@TheGurw
Thanks! I was waiting for DevBukkit to add the 1.0.1-R1 version number. They have, so I updated the file compatibility information.