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

    EnlightendDead

    I found the "never going down problem" The switch needs to be touching the Portcullis.
    So if the Portcullis is raised and the switch isnt touching a block connected to it, then the switch wont work.
    Btw porte coulissante is Gliding Door
     
  3. Offline

    Zheren

    Yes. I added discosheep arround the time the new bukkit version came out. By that time i was using version 1.0.2 of portecoulissante.

    After upgrading to 1.1.0 the gates were stil not working so i first removed discosheep since it was the plugin i added at last. I tested it again and the gates were working fine once more.
     
  4. Offline

    Captain Chaos

    Alright, I'll look into it. In the mean time you'll have to choose between working gates or dancing sheep... ;)

    Thanks!

    Let me know if you think there's really a problem in my plugin with the redstone. I haven't heard from anybody else about gates sticking down though.

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

    xorvious

    edit; Its working now. Spent some time messing with the circuit to replicate it, drove myself crazy trying to figure out why it didn't work, turned out to be my button was too close the the portcullis frame and must have been freaking it out, I moved the button farther away and it works great. Sorry for the mistake!

    Just last night I was setting up a 6x5 gate, and had to run the redstone rather far (20 blocks) to get to the RSNOR latch I am using to control it. The gate works fine from a switch, but if the power from the latch goes through a delay/repeater it only seems to work once and breaks in the down position until the repeater is taken out and replaced, even though you can see the active redstone line connected to the gate. Maybe related to the bug where redstone repeaters break if used as a timer? I didn't have enough time last night to dig into it, but I will today after work.
     
  6. Offline

    Captain Chaos

    No problem. Glad you got it to work! Yeah, it can be tricky to keep all but the right piece of redstone away from the portcullis frame. But also redstone support in Bukkit is still a bit spotty, so it wouldn't surprise me if there really are bugs like this. Let me know if you find something you think should work, but doesn't...
     
  7. Offline

    andy1992

    This is such an awsome plug-in. But could you make the speed customizable?
    Ideally it would be great if you could have a sign somewhere on or near it. But i have no idea if this is achievable. if not would it be possible to have a properties file?
    Anyway great plug-in i didn't see any glitches and it worked like a charm :)
     
  8. Offline

    valdark

    I use a plugin from narrowtux called RedRemote to solve the space issue. The two work flawlessly together.
     
  9. Offline

    Captain Chaos

    Thanks! :)
    Not unless many more people ask for it. I like to keep things simple and organic. I don't like having to mess around with signs or commands or configuration files, so I like to make things so that they just work, even at the cost of a little flexibility...
     
  10. Offline

    valdark

    Amen. What I love most about this plugin is that there are zero commands. As a server Admin though I can see the use of a properties file to adjust the speed of all gates serverwide.

    But truth be told it would just be so that I could flee those mobs without having to wait for the gate to lift.

    Andy1992... just put your switches farther from the gate and you won't have to wait to get in :p
     
  11. Offline

    andy1992

    Arr okay I see what you mean, it is so very simple in operation and instillation, which is another thing I like about it. But i was just thinking it be nice to tinker with a properties file or something :)

    Oh and valdark I actually wanted to make it slower :D
     
  12. Offline

    slay_mithos

    I love your plugin, it enables to make doors of any size that also interact with fluids, so a lot more possibilities.

    Currently, I am playing with it and made a double door using it:
    [​IMG]

    [​IMG]

    [​IMG]

    Just two levers with a XOR gate that open/close the water and the main gate at the same time.

    Also working on a nice above ground port with it.

    Thank you so much for this.
     
  13. Offline

    Greylocke

    fyi - this plugin is working on [600] -- you might want to up date the thread title. A lot of other plugins broke with the syntax changes in 600
     
  14. Offline

    Captain Chaos

    I see they quickly released a new recommended build: #602. Can you confirm that it works in that version too?

    I'm trying to test it myself, but as you say, other plugins are broken and I'm having a hard time of it...
     
  15. Offline

    Greylocke

    1. updated cb to [602] & restarted the server.
    2. PorteCoulissante plugin loaded with no errors
    3. Login, push button. Door goes up. Push button again, door goes down.
    4. Check the server logs, no errors reported.

    I'd call that success! Congrats. There are many unhappy devs with broken plugins right now. Although the bukkit staff did give some warning that it was coming...
     
  16. Offline

    Captain Chaos

    Alright, thanks for testing it out and giving me the heads up! I'm glad to know it still works... :)
     
  17. Offline

    valdark

    Also working on 602... great plugin.

    #Edit
    Any chance you can add a horizontal bridge structure that is this simple to configure?
     
  18. Offline

    Captain Chaos

    @valdark: you're not the first to ask for that... ;) I'm thinking about it, but it's harder to come up with a configuration that can't be mistaken for something else (you don't want things to start sliding just because a bit of redstone happens to touch them).
     
  19. Offline

    valdark

    Very true... hmmm

    Why not use fences for this too. Since the 1.3 update you no longer have to worry about getting hung up on them. The only downside that I can see is that it doesn't look solid.
     
  20. Offline

    Captain Chaos

    Nah, that would look terrible. I'm thinking wooden half-blocks.
     
  21. Offline

    valdark

    I considered that as well, was just worried about it being too commonly used.

    However, now that you mention it... I don't think I've seen much use of them except for roofing... which could be cool too.

    Home with sunroof.

    Now, are you going to require a full frame? Because if so it would defeat the purpose of sliding bridges.
     
  22. Offline

    Captain Chaos

    Well, it will at least have to be constrained on two sides, otherwise it won't know in which direction to move, but it doesn't have to have a frame along its whole length.

    My current thinking is: the bridge would be a rectangular area of wooden half-blocks, at least two by two, constrained to move in one direction by blocks on two opposite sides. You would operate it by powering a block below it with redstone. Powering the block would start the bridge moving north or east, removing power would start moving it south or west. It would keep moving until it hits something (same deal as the portcullis).

    Now I want to actually make this. This is very clever of you, engaging me in a discussion about it. That's the way to get me to do things... :D
     
    Shenlong likes this.
  23. Offline

    valdark

    :D Glad I could help. I was using MagnetBlock to do this but the plugin has so many issues and yours works so flawlessly that I was hoping you'd be interested.

    I have to say that this is my kind of plugin. I really dislike command prompts to accomplish anything. It makes it more fun if everyone can just jump in and start building.
     
  24. Offline

    Shenlong

    I like this idea :).
     
  25. Offline

    Captain Chaos

    Digi likes this.
  26. You know what would be more awesome ? To be able to make gates and bridges from diferent types of blocks... you should add such option, like "supportedBlocks=4,5,6,7,8" or something :}
     
  27. Offline

    nicholaslimck

    This plugin's awesome! Only thing that made me annoyed was the redstone circuitry, was annoying to wire up to each side. If buttons worked, things may have been made easier.
     
  28. Offline

    Captain Chaos

    What do you mean, wire up each side? You only have to wire up one block, on one side of the portcullis (it doesn't matter which side).

    Not likely. I just answered a similar question in the RetractableBridge thread, so I won't repeat myself here... ;)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 11, 2016
  29. That's another plugin, I'm asking for this one... and to make things easier you should just mix them together and provide optional config to disable vertical or horizontal modes :}

    And I've read that post, that's another thing too... I asked so we could use whole bridge out of other types (like a bridge of iron blocks), there was asked of mixed types.
    It's down to each server owner's logic to figure out if their picked blocks would be a good ideea and I'd really like the feature :} But sand, gravel, etc should be ignored from that list ofc xD
     
  30. Offline

    Captain Chaos

    Yes, it is a different plugin, and yes, you didn't ask for exactly the same thing, but the answer still happens to be the same, that's why I didn't repeat it. ;)

    Namely, that fences make the most sense for a portcullis, and that other block types might cause unwanted bits of scenery to start moving because they happen to be next to some redstone. But mainly, it's because I like to keep things simple.

    Having said that, if many people ask for it I may consider it.
     
  31. Offline

    monkeymii

    hey we made a video tut for this check it out
     
Thread Status:
Not open for further replies.

Share This Page