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


    Oh, maybe I was testing the iron with the Stone Brick frame. . . . . . Be right back lol
  3. Offline

    Captain Chaos

    In the new version of the plugin iron fences will be supported by default, without having to customize the configuration.
  4. Offline

    Captain Chaos

    New release!

    I just released version 1.2.3 of the plugin, which supports the new 1.8 materials (bricks for the portcullis frame, iron fences for the portcullis) out of the box.
  5. Offline


    Any chance of this working with the new fence blocks? I'll be perfectly happy if it doesn't, but it's worth asking.

    I fail at reading.
  6. Offline

    Captain Chaos

    But you're learning, that's the important thing. ;) :p
    Justin The Cynical likes this.
  7. Offline


  8. Offline


    Until it's fixed, you should be able to get it to work by using the config file and changing the last line from
    [85, 101]
    Here's an older version that should work as well. (I'm not sure which version, but it was a 1.7.3 version).
  9. Offline


    Edjumacayshun: Lurnt meh uh buk.
  10. Offline

    Captain Chaos

    Thanks for bringing this problem to my attention! I just released a new version of the plugin, version 1.2.4, which should work on pre-1.8 versions of Minecraft as well. I can't test it, so please let me know if it works!
  11. Offline


    Well Ive tried your plugging but nothing happens at all. Its like bukkit isnt even reconising it. I used your plugging on my server in 1.7.3 and we all love it. Great work.
  12. Offline

    Captain Chaos

    Are you sure the plugin is being loaded? There should be a line saying "[PorteCoulissante] plugin version 1.2.4 by Captain_Chaos enabled" in the server.log file.

    If it's not being loaded you need to find out why. Is it in the right place? Is there an old version under a different name lying around somewhere? If it is being loaded then it should work. Are you sure you're building the portcullis right? Did you build a new one, or is this an existing one that stopped working?

    Is anyone else having this problem?
  13. Offline


    Ive had alook in that file and cant find anything about your pluggin. Ive done exactly what I done last time. Put it in plugins folder. I started a new world and built afew test ones even copied one you done just to make sure. I had to remake a plugins folder tho to put it in but thats in the right place and spelt as "plugins" so that shouldnt cause a problem should it?...

    (EDIT) Dont worry. I got it working. Bukkit wasnt even running when I thought it was.

    Silly me.
  14. Offline


    These plugins dont work properly all the time... i created two gates at a few blocks distance from each other... one worked for a few times, now it does not want to come down no matter what i do, it will go up, but not come down... the second gate does work, up or down... they are perpendicular to each other, if their position matters at all... it seems it works very inconsistent... i dont know if it is now, but the powered block that makes it go up should have nothing to do with the block that makes it go down, they should be independant of each other, and of the gate... as in, when blocks are powered next to or under the gate, the gate should move in the one FREE direction, be it up, down, left, right, till it hits something.... same thing on the way back, another powered block/blocks would be turned on, and gate again would move in the one free direction....
  15. Offline

    Captain Chaos

    No problem, glad you got it working. I thought it might be something like this, it usually is when it does nothing at all... :)
  16. Offline


    I love how this plugin is always updated and always works without problems (for me at least). :)
    Captain Chaos likes this.
  17. Offline

    Captain Chaos

    As far as I know, if the plugin works at all (i.e. it's being loaded correctly, etc.), it works consistently. If your portcullis goes up but doesn't come down, usually the problem is that when it is in the up position it is no longer in contact with a redstone powered block, so it doesn't notice the power going off in order to drop down again.

    If that's not the case I'd look carefully at all the redstone surrounding the gates to make sure no redstone is unintentionally contacting the frame of the portcullis from either side. The orientation of the portcullis should make no difference, but if they are very close together their redstone circuitry could be interfering with each other.

    Let me know if you still can't get it to work after double checking these issues.
  18. Offline


    seems strange it would block lava.. its always been my experience that fence would burn
  19. Offline


    Okay, got it on my server for about 20min now, and here are my impressions:

    • first of all: FINALLY portcullis! Our city was definetely lacking that feature ;). Thanks, thanks, thanks! The retractable bridge thingy is next :D
    • I experienced a severe lag after a really stupid mistake by myself: I tested a portcullis without (!) upper restrictions, so, once powered up it did go up ... and up ... and up ... to the skies ... and than lag ;).
      Somehow I assumed it wold stop once the structure was not touching powered redstone - it clearly didn't. Anyhow, it isn't your fault, but maybe that additional stopping condition ("moving structure not touching powered redstone anymore") would be nice.
    • Wouldn't it be neat if there was a feature activated when spout support is detected, so that it plays a custom "portcullis up/down) sound? mcMMO has a similar feature for level-ups, which is great to have :)
    Anyhow, thanks (again!) for that really great plugin :D
  20. Offline

    Captain Chaos

    It doesn't stop on purpose, to give you maximum flexibility. I did change it so that if you do this (you're not the first ;)), the portcullis will self-destruct once it reaches the top of the level. Did that not happen? Also, it should not cause lag, I don't know how that could happen and it's the first I've heard of it. Can you reproduce it?
    Yeah, I've been thinking about this. It's a good idea and it will probably happen in the near future.
  21. Offline


    Well, I kinda experienced a "rain of fences" once the portcullis were out of sight, but around that time there was a tremendous amount of lag, too :oops:. Could be connected to another thing I tried afterwards, but that's to difficult to put in words. I'll try to reproduce this within the next days and test - and maybe attach some pictures.

    And I would definitely like that sound thing. It would make you my hero of the day ;). If you happen to have some spare time, please dedicate it to this feature *g*
  22. Offline

    Captain Chaos

    Maybe the creation of all those fences caused lag, although I haven't noticed that before. How large was the portcullis? Anyway, let me know if you can reproduce it.
  23. Offline


    It was just a small passage way, 3x5 or 5x5. Nothing too extreme I'd say. Though the lag was so extreme it kicked me from the server ("socket error ..."), and McMyAdmin showed complete CPU usage for around 30secs (it totally crippled the virtual machine it's running in on the way, too ;) ).

    So, whatever it was I'll find out when I'll have a look at this within the next days. I'll keep you informed ;)
  24. Offline


    Those that complain that it doesnt work by it not coming back down. Read the instructions. Your doing something wrong. If the redstone by the gate isnt next to the gate once raised then it wont bring it back down.
  25. Offline


    Did u read my original post? If i was able to make a few gates work properly (going UP and DOWN), how can you say i dont know how to make the one next to it work? Does that even make sense to you? I said SOME gates dont work, and i was wondering what the reason would be? The two gates i'm talking about are about 20 blocks away from each other, one is positioned NORTH-SOUTH while the other is EAST-WEST if that makes any difference. I have tried many different things, trust me, i dont give up easily... for some reason it seems that one gate is now in a spot that just wont let the plugin work.
  26. Je me demande si avec Spout, les blocs pourrait coulisser de manière fluide.
  27. Offline

    Captain Chaos

    Can I take a look on your server? I'd like to see this gate. I'm not saying it can't be a bug in the plugin, but it does seem unlikely, as I have never heard of gates not working in specific locations before.
  28. Offline


    i'm sure you could look at my server... would you also want all my files and test them on your computer? i mean entire folder, everything, that way you can look at anything you want... i can upload it to my site...
  29. Offline

    Captain Chaos

    I'd like to take a look at your server first. If I can't see what's wrong, then I'd like a copy of your world so that I can debug the problem. Just send me the address of your server in a private message. My Minecraft name is Captain_Chaos.
  30. Offline


    Okay, I tried very hard, but couldn't recreate that strange lag thing I reported earlier. Therfore it must have been something different that made Java go wild. I guess everthings just fine - and my users are still enjoying their portcullis :)

    Keep up the good work :)
  31. Offline

    Captain Chaos

    Thanks! I'm glad to hear it's running problem free on your server.
Thread Status:
Not open for further replies.

Share This Page