Inactive [MECH] PorteCoulissante - Easy and realistic portcullises

Discussion in 'Inactive/Unsupported Plugins' started by Captain Chaos, Mar 6, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Captain Chaos

    PorteCoulissante moved to BukkitDev!

    PorteCoulissante has moved to BukkitDev! I will no longer be updating this thread, please use the BukkitDev page to keep track of developments, download the plugin and source code, read how to configure it and other details, etc.

    PorteCoulissante - The easy and realistic portcullis plugin:

    Build redstone powered portcullises, without using commands! This is my first ever Minecraft plugin, so please be gentle! I needed a project for my first plugin, and I've always wanted a working portcullis in my town gate, so I decided to write this. I subsequently discovered that there already is a portcullis plugin (which is why I named mine after the French word that the word portcullis was derived from), but I think mine has enough distinguishing features to be useful.

    Download the latest release from the BukkitDev page.

    Also check out the new sister plugin, RetractableBridge, which does basically the same thing, only horizontally.

    • 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.
    • 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:

    Hints and tips:
    • 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.
    More information:

    For download links, source code, configuration information and change logs, please see the BukkitDev page:
  2. Offline


    Please list your questions and suggestions with some easy english sentences.


    question number 1: ...
    question number 2: ...

  3. Offline

    Captain Chaos


    The questions are the sentences that end with a question mark ("?"). You should be able to find them. I can't make the English any easier, sorry, but I think you should be able to understand them.
  4. Offline



    Cant do this, because too many players are online.
    Iam not able to stand up at night and sacrify my sleep for it.

    It happens after reload via /rel or /reload - but it could happen after server restart, too.
    Iam not restarting my server, so i cant test it.
    Its linux, last restart was 1 year ago, when changing some hardware parts.
    Next restart will be at the end of september, when upgrading to java 1.7

    Dont know whats a suggestion in your novel, which punctuation mark is responsible for it?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 11, 2016
  5. Offline

    Captain Chaos

    Thanks for the information. Unfortunately there's not much I can do. I think one of your plugins is causing this, but without testing there is no way to tell which one.

    So I'm going to recommend that you ignore the issue. Like I said, it's not an error, so you can safely ignore it, and it happens only rarely so it shouldn't clutter up your log file.
  6. Offline


    Okay, thanks
  7. Offline


    Thanks! Easy to make and works like a charm. At first I forgot to place blocks above it to stop it. It rose up up up into the sky and didn't come back! hah!
  8. Offline

    Captain Chaos

    I just released a new version of the plugin! It is version 1.2.2, and it contains the following changes:
    • The portcullis now stops moving if it is damaged.
    • If a portcullis reaches the top of the level without a block there to stop it, it will explode.
    • The portcullis is no longer stopped by unsubstantial blocks such as tall grass, flowers, mushrooms, snow, etc.
    • The plugin is now configurable via a configuration file. The following aspects can be configured:
      • Whether entities standing or lying on top of the portcullis are moved along with it.
      • The allowed materials for the portcullis.
      • The speed with which the portcullis moves.
    See the top post for details about how to configure the plugin, if you so desire. Please note: if you change the portcullis materials, or the portcullis speed, you will void your warranty! In other words, if it causes problems on your server, don't come complaining to me! Be especially careful about allowing new block types as portcullis materials. You don't want random walls or other vertical surfaces on your server which just happen to be next to a bit of redstone to start flying away!

    Also, please note that the distribution format has changed! It used to be a .zip file, but that caused problems, so the plugin is now distributed as a .jar file. Take this into account when upgrading!
  9. Offline


    This is a great plugin!
    Really enjoy having it on my server.
    Good news is that with Spout we can have custom sounds :D
    Haekon likes this.
  10. Offline


    I just can't get this to work. I've added it to plugins hosting, reloaded server, restarted server, and nothing. No gates for meh. Although the retractiblebride is pretty epic.
  11. Offline

    Captain Chaos

    Is the plugin being loaded? There should be a line saying "[PorteCoulissante] plugin version 1.2.2 by Captain_Chaos enabled" in server.log if it is. The plugins are very similar to each other so it would be strange if this one didn't work and RetractableBridge did.
  12. Offline


    Love this! But would it be possible to make a SSP version of it? You're super.
  13. Offline

    Captain Chaos

    I'm rather hoping it won't be necessary, since Notch has said that the Singleplayer mode will be changed to a local client/server mode, in which case you could use the same plugin. If that doesn't happen I may create a Singleplayer plugin when the official modding support is released.
  14. Offline

    Captain Chaos

    Oops, I just noticed that I didn't update all the download links in the top post. If you tried to download the latest release but you got a .zip file instead of a .jar file then you got an old version. I fixed the link, so please redownload from the top post!
    Xordaii likes this.
  15. Offline


    Love this and RetractableBridge!
    Keep up the good work.
    Captain Chaos likes this.
  16. Offline


    Awesome! In no time I have nice portcullises! They work like a charm.
  17. Offline


    Any chance of you making a sliding door plugin? Like the portcullis, but it goes sideways instead of up?

    I'm building a huge starbase, and I'd like to have sections of the wall slide out of the way to admit ships. I've already used the portcullis plugin to make a couple elevators, and I plan to use the bridge plugin to make sliding panels on the ceiling. Your plugins are so much better than the gates and bridges that just appear and disappear!
  18. Offline

    Captain Chaos

    I may make one at some point in the future, but don't count on it any time soon. I'm currently busy with WorldPainter.
  19. Offline


    This is a great plugin.. I miss using it. But until permission support is added so I can control which users can make a them... sadly, no use for me. =(

    Running a class based server using Heroes in a medieval them. The ports would be a wonderful edition over the less impressive falsebook gates and bridges... which DO have permissions support. So I know it can be done.
  20. Offline

    Captain Chaos

    Source code released!

    I released the source code for this plugin. It's hosted on, and you can get it via the web, or using Subversion. Check the top post for the details.

    Note that it is open source and uses the GPL v3 license. This means that you are free to use and modify the code, but if you redistribute it (unchanged or modified), you have to do it as open source under the GPL as well.

    The stateless design of the plugin makes it next to impossible to restrict who can create portcullises, since all anybody needs to do to create one is to place blocks in the correct configuration. There is no command or something like that to which you could apply permissions.

    Check out my discussion with ravyn on the RetractableBridge thread for more details. I will probably never implement permissions support myself, due to the reason stated, but also because I don't like it, it feels artificial and not an organic part of the game to me. If you can build it, it should work, is my feeling.

    However, I did just release the source code, so you're free to try (or have someone try) and add permissions support! If you manage it in an elegant manner I might implement it in the official plugin. (You're free to distribute your own version, but I'd appreciate it if you didn't, it would be a shame to get a proliferation of many different portcullis plugins, all slightly different... ;))

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 11, 2016
  21. Offline


    I'm wondering if you can make a single player version of this also? It would definitely rock tremendously if you can.
  22. Offline

    Captain Chaos

    Someone else already asked that question on this very page... ;)
  23. Offline


    And that will be....?

    I think Mod Support is only coming out when Version 2.0 is released and that's a LOOOOOONG way off.
  24. Offline


    Not really a long way off, as the official release date is November 11th or so. Only a few months off.
  25. Offline

    Captain Chaos

    I don't think Notch said mod support would only be released when the game is released officially. It might be sooner.

    But it doesn't matter. I'd love to create singleplayer versions of my mods, but creating singleplayer mods is much harder and much more work than creating Bukkit plugins, because there is no neat Bukkit-like API to program to. I don't really want to put that much work into it, only for it to become unnecessary when the official modding API (or at least source code access) is released.
  26. Offline


    Is there any reason that this plugin will not recognize 1.8 blocks, or is this likely that bukkit itself does not recognize the new blocks?
  27. Offline

    Captain Chaos

    I haven't updated the plugins for 1.8 yet, so they don't recognize new block types yet (I assume you mean as the frame for a portcullis, or the support of a bridge deck). I'll update the plugins once the 1.8 compatible version of Bukkit is released.
  28. Offline


    Very Cool I am really looking forward to Iron Bar Gates!!
  29. Saying Iron Bars sound silly, ill use iron fence instead. Id like to be able to switch out wood fence for iron fence in the actual gate. If possible.
  30. Offline


    I was trying to use the offical Mojang terms :p But once he updates to the latest RB it should be possiable by adding the Data Value to the config file.

    And should be able to make the "frame" from new blocks and it work as well.
  31. Offline

    Captain Chaos

    You can already do that! The plugins work in 1.8, they just don't recognize new blocks types for the frame. I've seen a working iron fence portcullis already.
    Sorken likes this.
Thread Status:
Not open for further replies.

Share This Page