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.

    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.
    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:
    [​IMG]
    • 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:
    [​IMG]

    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:

    http://dev.bukkit.org/server-mods/portecoulissante/
     
  2. Offline

    valdark

    Works flawlessly on 733
     
    Captain Chaos likes this.
  3. Offline

    Captain Chaos

    The plugin has been tested with the new recommended build, 733, and it seems to work fine! Let me know if you experience any trouble.
     
  4. Offline

    xsolar66

    Using build 733 - The gate won't drop once the power is released.
     
  5. Offline

    valdark

    In your redstone setup... does it connect with the gate when it is raised? If not you will have to add power to a block connecting to the gate in the up position and then remove it.
     
  6. Offline

    xsolar66

    apologies, you're right - you need two restone inputs for the gate - one in the up position and one in the down position (if the gate is in a totally new position, and doesn't have overlapping segments.)

    cheers, fantastic mod!
     
  7. Offline

    Justin Deguire

    i was wondering if its possible to allow slabs and subsequently double slabs to move with the portcullis(for a more aesthetic appeal when creating elevators or crushing traps) hopefully its feasable
     
  8. Offline

    Kuja_Diartua

    Plugin is damn great! i made a flood gate, and regulate water floods. Also, you can make enternance thru the waterfall, using gates to regulate water
     
  9. Offline

    valdark

    I was about to request the same. I use a one block wide row to stop one edge but if I stand in the wrong place I am doomed
     
  10. Offline

    Grimmy777

    Are there permissions for this that I can use and if not, can you add them? I am trying to make a flashy bank vault but if I can't block the use of the switch for the gate then it is no good. Thank you and great plugin btw!
     
  11. Offline

    valdark

    You'll either have to use another plugin to protect the switch or you will have to set up a lock circuit.
     
  12. Offline

    Captain Chaos

    No, there is no support for permissions, and no plans for adding it. I like my plugins to be an organic part of the world, and to use the regular game mechanics. You could for instance make a combination lock using redstone, or put the switch in an inaccessible (to third parties) or well guarded location. Also, make sure the frame of the vault door is not accessible from outside anywhere, as otherwise someone could just stick a redstone torch on it to raise the door.

    It's feasible, but I prefer not to do it, as this plugin is really meant for creating portcullises, not elevators, and I like to keep things simple. Such a feature would add significant complexity to the code, and for something which is tangential to the plugins actual purpose. Sorry, I hope you understand!

    Maybe one day I'll create an elevator plugin (although I'm not promising anything, and it may not be possible to create a reliable one).

    You could use steps to block the portcullis at the top. You will go right through those without suffocating.

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

    valdark

    Great Idea.. I will test this. I understand about not wanting to delve into a separate plugin. I will do some more testing and post a video if I get a reliable elevator working.

    And this time I'll add sound ;)
     
  14. Offline

    xorvious

    I toyed with the port-i-vator before, and gave up on it, just too awkward, but I did find out that you can stop the portcullis at the top with signs and then there is no chance of smashing yourself. Hope that helps!

    And here is my +1 for a simple elevator plugin from Captain Chaos! :D
     
    Captain Chaos likes this.
  15. Offline

    valdark

    Great idea using signs. I have an idea to make multiple floors with bridges as stops. If it works I will update.
     
  16. Offline

    ThatGuy295

    It does not seem to work for me I built it like you said, the plugin shows up as a plugin,but it just dosent work for me.

    Is it me or its having a problem with my other plugins?

    EDIT: Never mind it works and its great!

     
  17. Offline

    valdark

    Not exactly a bug since I'm using this for purposes it was not intended for, but if you build a portcullis from bedrock to sea level then it will only raise about 12 blocks in the air before stopping unless you get within 10 blocks of either the top or bottom of the portcullis.

    However, it will fall properly even when you are at sea level as long as the gate has lifted to max height and not stopped under the previously listed conditions.

    In case you are wondering I intend to use the gate as a scaffolding for a tower that will self build using the sister plugin RetractableBridges.

    I hope to use it in an upcoming RP event that I'll be hosting.
     
  18. Offline

    Captain Chaos

    Is there a frame around the portcullis for its entire height? There is a bug in the Minecraft client where if a horizontal slice of a chunk contains only fences and air, the fences will be invisible. Is it possible that the gate in fact does not stop, you just can't see the top part of it?

    If not then I can't explain this. I don't think it can be a bug in the plugin, as it does not take your location into account at all, so your proximity can have no effect on its functioning.

    Sounds very interesting!
     
  19. Offline

    valdark

    It does not have the frame around the entire structure as this would partially defeat it's purpose. I have the bottom 64 blocks framed but the top 64 completely open. (probably my issue)

    I noticed the bug you are describing and at first thought this to be the case. However when looking down the containing shaft you can clearly see that the bottom posts are not moving upward until you drop near the bottom. Not sure if the bug with visibility is contributing. Running bukkit 733.


    [edit] I tried again after a server restart and the issue no longer occurs... could have been due to an error with another plugin.


    I'll definitely invite you over to have a look if I can work out the kinks.
     
  20. Offline

    Kaskeetian

    Using on 740, works fine so far.
     
  21. Offline

    Captain Chaos

    Thanks for the report! Do you happen to know if RetractableBridge works without trouble as well?
     
  22. Offline

    RecoJohnson

    Hey Captian Chaos i seem to be having a problem with buttons making the porteCoulissante go up. It goes down fine, but going up i have to hit the button and break it. Here is my setup.
     

    Attached Files:

  23. Offline

    Captain Chaos

    A button only delivers momentary power, and is not suitable for raising a portcullis (at least not without some redstone circuitry). Try using a lever.
     
  24. Offline

    xorvious

    I'm using Portcullis 1.2.1 and Bridge 1.3.5 on RB740 and they are both smooth as ever! I have a new project using both of them that ill try to get a video uploaded of when its done, so much fun to be had when you can move things around :D
     
    valdark likes this.
  25. Offline

    Matthewbri

    Hey! I'm currently running a server that is running the following:

    Permissons
    War
    MCC restart
    McMMO
    Minecart mania
    Mobileadmin
    Dynmap
    Gastronomic
    BOSEconomy
    Aimcannon
    Secret doors
    Seats
    RetractableBridge
    PortCoulissante



    Portcoulissant does not work- despite building a replica of what you have in the OP, it does not go up or down. Running CB 740. I have not tested the bridges yet( have not had a chance)
     
  26. Offline

    Captain Chaos

    I have not heard before about the plugin not working at all. It's possible of course, but it could also be that you did not build the portcullis 100% correctly. Could you post a picture of what you built (one that clearly shows where the redstone goes)?
     
  27. Offline

    Kaskeetian

    Have it downloaded, but haven't tried it out yet. I'll let you know as soon as I do though!
     
  28. Offline

    valdark

    I am also running 740 both plugins are still smooth as silk.

    You rock sir.
     
  29. Offline

    xorvious

    Here is the video I promised showing my latest project using both Portcullis and RetractableBridge. I really like how this turned out, cant stop playing with these mods!

    http://www.youtube.com/watch?v=QrCJSkyIQS4
     
    Captain Chaos likes this.
  30. Offline

    Captain Chaos

    Very cool! :)

    And yeah yeah, I got the hint... ;)
     
  31. Offline

    Matthewbri

    And just like that it's working! Weird, perhaps my server decided to go meh. It's an excellent plugin and i applaud you, sirrah.
     
Thread Status:
Not open for further replies.

Share This Page