Inactive [MECH] BlockDoor - Doors out of Blocks [BUKKITDEV]

Discussion in 'Inactive/Unsupported Plugins' started by Arcwolf, Jun 13, 2011.

  1. Offline

    Arcwolf

    UPDATES AND DOWNLOAD ON
    or​

    BlockDoor bukkit re-work/port! With ho0ber's permission and using parts of his code. Credit goes to him for the original concept and the original hey0 plugin this is based on.

    Single state door Tutorial Video: HERE

    Two state door Tutorial Video: HERE

    Hybrid state door Tutorial Video: Soon...
    or check the readme for basic info.

    Source: HERE

    Idea Video:
    HERE .......&...... HERE

    Intro:
    This is a port and re-working of the BlockDoor plugin originally created by ho0ber for Hey0 server mod. The basic jest of the plugin is to allow players to define and use "doors" made out of blocks. The term "doors" doesn't really cover all the possibilities a creative player might come up with though.

    Features:
    • Player created doors made from blocks of your choosing in any shape or size
    • An admin editable item database
    • Many different ways to trigger doors: Clicking triggers, redstone, and different detection zones
    • Mapping of as many triggers and zones as you please to any number of doors you create
    • Multiworld safe
    • Permissions support with GroupManager 1.0 a5, permissions that GroupManager emulates or Bukkit permissions.
    • Permissions plugin is not a requirement. If no permissions available plugin defaults to Server OPs mode.
    Detailed Changelog

    So there ya go, enjoy!
    ArcWolf

    [​IMG] if you like this plugin and want to support me. Its much appreciated.
     
    MoatimusPrime, Samkio and mattmoss like this.
  2. Offline

    dak393

    Was just reading through the wip thread so surprised I haven't seen this yet. This plugin should get some more attention! :D Gonna download and test. This is gonna be awesome!
     
  3. Offline

    scriptsrfun

    This is so awesome! I love the redstone triggers! Thanks Arcwolf!
     
  4. Offline

    sebbe118118

    This is the first mod I downloaded and I think its brilliant!
    keep up the good work! :)
     
  5. Offline

    JamesS

    Two state doors don't work. The mod complains that it cant find the door when attempting to bind a trigger to it, despite the fact its well and truly set. Any ideas?

    Update

    Well I have a twostate door working, I figured out the problem was no space inbetween the toggle and 2. However, now its deleting the ground beneath it everytime I open the door...

    Update

    I am clearly Handicapped with every new mod I install. I sorted it all now and have wanted this for ages :D Wooden doors just don't cut it! Thanks for the mod.
     
  6. Offline

    Arcwolf

    They may not seem to work for you but they do infact work as shown in the tutorial. I didnt use some different working for me only version. Its quite well tested.

    Did you make sure that when you attempt to link you used a 2 at the end of the /dlink command. It will not work if you do not do that. Example /dlink trigger mytrigger mydoor toggle 2

    Then the door is defined larger then you think. It only deletes the area for the second state and only within the defined area. Recreate the door and try again.

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

    JamesS

    Aha nice! Thanks for the help! I have two very sultry doors that work :D
     
  8. Offline

    Arcwolf

    I'm glad it worked out. Enjoy :)
     
  9. Offline

    Tulips

    doesnt work with permissions plugin
     
  10. Offline

    Arcwolf

    Thats not particularly helpful. Maybe you could elaborate. WHAT permissions plugin is it not working with?

    Tested and seems to work ok on 928

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

    YaGotMilk

    I really like this idea and plugin but the only issue I'm having is when i set a 2 x 2 door to be made out of bookshelves, and bookshelf is in the acceptedblocks.txt when i toggle it, it comes back as stone blocks :(

    Update: This happens to any kind of blockdoor i make :(

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

    Arcwolf

    That sounds like a single state door you are creating. If that is the case then you need to tell the door what you want it filled with...

    /dfill YourDoorNameHere bookshelf

    should do the trick.
     
  13. Offline

    YaGotMilk

    noob alert;
    target:
    - me

    Cheers man, I can be a little dumb sometimes.
     
  14. Offline

    Arcwolf

    Not a prob :)
     
  15. Offline

    ValBGaming

    Hey Arc, I haven't commented here for a little while, but I have a bit of a request, not for the plugin itself, but for this thread.

    Where you list the permissions for the plugin would you be able to put beside each one what command it is for or what it does, it's not because its hard to figure out what each one does, its just a bit of a hassle to have to scroll between commands and permissions to figure it out. :p

    It would be much appreciated. :)

    EDIT: Since you've done such a great job on this plugin and I think its a really nice plugin I decided to do it for you. :)

    The only one I wasn't really sure about was 'blockdoor.admin.twostate', also you may want to go over it and make sure everything is correct, I'm fairly sure it is though. :p

    P.S - I've come up with two, one is a bit more organized than the other, pick what you like. :)
    Permissions 'List' (open)
    - 'blockdoor.door' / Ability to use '/ddoor'
    - 'blockdoor.player.twostate' / Ability to use '/dtwostate'
    - 'blockdoor.admin.twostate'
    - 'blockdoor.trigger' / Ability to use '/dtrig'
    - 'blockdoor.mytrigger' / Ability to use '/dmytrig'
    - 'blockdoor.admin.breaktriggers' / Ability to break all triggers
    - 'blockdoor.player.breaktriggers' / Ability to break your own triggers
    - 'blockdoor.redstonetrigger' / Ability to use '/dredtrig'
    - 'blockdoor.link' / Ability to use '/dlink'
    - 'blockdoor.link.trigger' / Ability to link triggers to a door
    - 'blockdoor.link.mytrigger' / Ability to link mytriggers to a door
    - 'blockdoor.link.redtrig' / Ability to link redtrigs to a door
    - 'blockdoor.link.zone' / Ability to link zones to a door
    - 'blockdoor.link.myzone' / Ability to link myzones to a door
    - 'blockdoor.link.azone' / Ability to link azones to a door
    - 'blockdoor.link.pzone' / Ability to link pzones to a door
    - 'blockdoor.link.ezone' / Ability to link ezones to a door
    - 'blockdoor.link.mzone' / Ability to link mzones to a door
    - 'blockdoor.admin.toggle' / Ability to toggle all doors
    - 'blockdoor.player.toggle' / Ability to toggle your own doors
    - 'blockdoor.admin.toggle2' / Ability to toggle all twostate doors
    - 'blockdoor.player.toggle2' / Ability to toggle your own twostate doors
    - 'blockdoor.fill' / Ability to use '/dfill'
    - 'blockdoor.empty' / Ability to use '/dempty'
    - 'blockdoor.zone' / Ability to use '/dzone'
    - 'blockdoor.myzone' / Ability to use '/dmyzone'
    - 'blockdoor.azone' / Ability to use '/dazone'
    - 'blockdoor.pzone' / Ability to use '/dpzone'
    - 'blockdoor.ezone' / Ability to use '/dezone'
    - 'blockdoor.mzone' / Ability to use '/dmzone'
    - 'blockdoor.info' / Ability to use '/dinfo'
    - 'blockdoor.usetriggers' / Ability to use triggers
    - 'blockdoor.usezones' / Ability to use zones
    - 'blockdoor.player.list' / Ability to list your own doors, zones, and triggers
    - 'blockdoor.admin.list' / Ability to list all doors, zones, and triggers
    - 'blockdoor.admin.delete' / Ability to delete all doors, zones, and triggers
    - 'blockdoor.player.delete' / Ability to delete your own doors, zones, and triggers
    - 'blockdoor.reload' / Ability to use '/dreload'
    - 'blockdoor.cancel' / Ability to use '/dcancel'

    Permissions 'Organized' (open)
    Player Permissions
    Use
    - 'blockdoor.usetriggers' / Ability to use triggers
    - 'blockdoor.usezones' / Ability to use zones
    Door
    - 'blockdoor.door' / Ability to use '/ddoor'
    - 'blockdoor.player.twostate' / Ability to use '/dtwostate'
    Trigger
    - 'blockdoor.trigger' / Ability to use '/dtrig'
    - 'blockdoor.mytrigger' / Ability to use '/dmytrig'
    - 'blockdoor.player.breaktriggers' / Ability to break your own triggers
    - 'blockdoor.redstonetrigger' / Ability to use '/dredtrig'
    Zone
    - 'blockdoor.zone' / Ability to use '/dzone'
    - 'blockdoor.myzone' / Ability to use '/dmyzone'
    - 'blockdoor.azone' / Ability to use '/dazone'
    - 'blockdoor.pzone' / Ability to use '/dpzone'
    - 'blockdoor.ezone' / Ability to use '/dezone'
    - 'blockdoor.mzone' / Ability to use '/dmzone'
    Link
    - 'blockdoor.link' / Ability to use '/dlink'
    - 'blockdoor.link.trigger' / Ability to link triggers to a door
    - 'blockdoor.link.mytrigger' / Ability to link mytriggers to a door
    - 'blockdoor.link.redtrig' / Ability to link redtrigs to a door
    - 'blockdoor.link.zone' / Ability to link zones to a door
    - 'blockdoor.link.myzone' / Ability to link myzones to a door
    - 'blockdoor.link.azone' / Ability to link azones to a door
    - 'blockdoor.link.pzone' / Ability to link pzones to a door
    - 'blockdoor.link.ezone' / Ability to link ezones to a door
    - 'blockdoor.link.mzone' / Ability to link mzones to a door
    Toggle
    - 'blockdoor.player.toggle' / Ability to toggle your own doors
    - 'blockdoor.player.toggle2' / Ability to toggle your own twostate doors
    Tool
    - 'blockdoor.fill' / Ability to use '/dfill'
    - 'blockdoor.empty' / Ability to use '/dempty'
    - 'blockdoor.info' / Ability to use '/dinfo'
    - 'blockdoor.player.list' / Ability to list your own doors, zones, and triggers
    - 'blockdoor.player.delete' / Ability to delete your own doors, zones, and triggers
    - 'blockdoor.cancel' / Ability to use '/dcancel'
    Admin Permissions
    - 'blockdoor.admin.twostate'
    - 'blockdoor.admin.breaktriggers' / Ability to break all triggers
    - 'blockdoor.admin.toggle' / Ability to toggle all doors
    - 'blockdoor.admin.toggle2' / Ability to toggle all twostate doors
    - 'blockdoor.admin.list' / Ability to list all doors, zones, and triggers
    - 'blockdoor.admin.delete' / Ability to delete all doors, zones, and triggers
    - 'blockdoor.reload' / Ability to use '/dreload'

    Enjoy! :D

    EDIT: Didn't want to double post so I'm putting this in this post.

    I have a bit of a feature request, would you be able to make a feature using permissions to allow players to only use certain items in the '/dfill' command, so that players cant farm diamond and such. Admins however would remain able to fill with anything.

    Maybe a 'blockdoor.fill.<itemID>' along with 'blockdoor.fill.*' or 'blockdoor.admin.fill' to give Admins ability to use any item. :)

    Would love to see something like that implimented! Currently I can't give my players '/dfill' for fear they'll abuse it and farm diamonds and such from their doors.

    Keep up the great work with the plugin! :D
     
  16. Offline

    Arcwolf

    That was the whole reason for twostate doors. They cant farm diamonds with a twostate door since a twostate door is a 0 sum entity. IE what you put into the door is what you get out of the door. If you break a block in the door, that block is removed from its toggle state. The /dfill is for creative servers and not really intended for survival. Adding permissions like that makes since if I never created a twostate system. Why not give twostate doors a try and see what you think. You wouldnt even have to worry about what blocks are ok. because if a player can not get the block then they wont be able to make the door out of it and farming is impossible.

    Thanks for the permissions organization. - edit - twostate admin node allows the admin to edit any players twostate door.
     
  17. Offline

    ValBGaming

    Oh -- I'm going to be completely honest with you, I had absolutely no idea how twostate doors worked... I'm going to give them a try next time I get the chance, I've been fairly busy recently getting my server ready to go public. :p

    Also -- Glad you like what I did with the permissions, happy to help! :D

    EDIT: Just took a look at the permissions, noticed that the "Player Permissions" isn't in bold. :p

    Also probably would be a good idea to Underline the "Player Permissions" and "Admin Permissions"... I don't mean to be rude or anything -- But I'll admit I'm a bit picky about organization... You wouldn't believe how many times I'll edit a post to make sure its perfect. :p

    EDIT: I just watched the twostate door tutorial video, and whoa, that is awesome! :D

    EDIT: Whoa wait -- This is a new topic? I didn't even realize, no wonder all those old pages of comments aren't here anymore. :p

    EDIT: Oh... Was moved from WIP to Official? I need to be more observant...

    Also, now that I know how twostate doors work... I've made a windmill on my server! :D Its awesome! Hmmm -- I wonder how good a threestate windmill would look... Would probably use a bit of resources though -- I mean compared to twostate... Anyways enough of me babbling on... :p
     
  18. Offline

    Arcwolf

    Yes, the formatting was lost when I copy pasted. I just reformatted it from memory. Its fixed now though :D

    On my server I made a really nice elaborate windmill... I wish I could get a fraps vid of it but my computer cant handle the HD video capture and the massive memory load of minecraft at the same time. To bad too, it reminds me a lot of the windmill on Legend of Zelda OOT.

    But really, windmills are just one possible animation and animation is only one of this plugin's many uses. With a little time a creativity just about anything is possible... From traps, to auto-reloading cannons, and animations... you name it you can probably do it.
     
  19. Offline

    ValBGaming

    Ah, yeah C&P doesn't do well with formatting. :p
    That sounds awesome, I wish I could see it.
    Yeah -- This is an amazing plugin and I hope to get lots of use out of it -- I imagine I will considering I now know how to work twostate doors! :D Also -- I had an idea that I'm unsure about -- How is BlockDoor at placing torches properly? If at all?

    I'm thinking to build a T.V. of sorts that will have moving pictures and whatnot using redstone torches, that would be awesome. But if this plugin can't do it... It would be a real pain to build it without the help of a plugin. :p
     
  20. Offline

    Arcwolf

    Single state doors can place torches easily, twostate doors must have special blocks enabled because of block popping that can occur when I deconstruct the door in preparation for switching states. I have to do some more work behind the scenes and it takes up more processing to swap door states. So I disable that by default to save on processing.

    Version 0.05f is uploaded

    Fixed a small bug I've been noticing in the /dcancel command. It wasnt showing the command that was canceled before it canceled it. Cosmetic error. No functionality was broke.

    Added the /dsave command. This command allows a user to click on a unlocked twostate door and save the current blocks in the visible door state. This is useful if you are editing a door with a plugin like worldedit that doesnt fire destroy events or the /repl command which I dont know what it would even fire... a replace event? anyway. It can come in handy.

    One thing to note about it. If you have destroyed ALL the blocks in a given door state there wont be any blocks to click on to save. I have done this on purpose. It helps if you happen to loose track of what door you were editing in the first place. You must click on the door to save the door. So if you are down to your last block in the door. Break it naturally AFTER you /dsave and click on it. Thats the only caveat :) Not to hard to remember.

    I dont know why I didnt put this command in before actually... It makes a lot of since to be able to force a save after a lot of editing. And with worldedit you can edit a door pretty quickly and not generate any events for BlockDoor to catch. Well now you dont have to worry about that.

    Enjoy :)

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

    Kevin C.

    Greetings. First off, nice plugin. It does exactly what you describe, and what I want it to do...however, is there any way you could make it an option to not ignore water? Specifically with twostate doors. Its a rather long-winded example to spell out exactly what I'm working on, but the short version is, make a door in water, that has a "swung-open" state, and a "closed" state with water in the middle (I'm working on dam locks, in conjunction with elevators). Everything works great, but water is problematic since it ignores it. I'd rather have it not ignore it in this case, where I need the state of the water in the open state to be saved, and the state of the water in the closed state to be saved as well. I'll try to get a video up on youtube of what I'm talking about, but maybe my description is enough of a start?

    Thank you...
     
  22. Offline

    Arcwolf

    Sorry, not at this time. Water required too many physics checks and events were firing quicker then I could get the plugin to keep up with. Eventually a twostate door would fill both doors up with water even if you didnt want that to happen. It was a mess. Not to mention that water has a nasty habit of knocking objects from walls creating yet another event to watch for and make note of. It became quite process intensive just to allow water into a door. If I could easily do it I would have and for a couple of days water and lava were saved. But to get it to work right. No, I could never get that to happen and gave up for the time being.

    Maybe some day but right now... nope. Even if I made it an option it most likely still would not work the way you are planning.
     
  23. Offline

    Kevin C.

    Thanks for the info... here's a video anyways. Basically, when I open the door, the "still water" that was in place completely disappears because it's ignored during the door selection, causing the flowback. Also as you can see when I drop down in the water, the wood blocks under the water dissapear for the same reason.

    I tried building the door two different ways. one was without any water in place, and then adding the water later, and the other (which is what the video is based on) is with the water in place when I selected the door area.

    I understand where you're coming from, but it would truly make this design fully functional (unless someone knows of a plugin that does an "autofix" for water??)

    http://www.youtube.com/watch?v=IWpWAd3B5mk
     
  24. Offline

    Arcwolf

    Hmmm, I know it might be a pain but what about some kind of twostate / onestate hybrid? The onestate for water the twostate around the onestate. It would require a couple of extra doors but I think it would work. at least until I can figure out how to do water correctly.

    functionally works with 1.7 mc however with some caveats. Pistons can compromise a twostate door and create infinite items because there is no event in the bukkit api for pistons to block and prevent. Pistons are not known about by the door architecture and so no special care is taken if you choose to use them inside a door object.

    I am investigating solutions however we may have to wait for the bukkit api to catch up with the new features in 1.7 to truly solve the piston exploits.

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

    h4ndicapparking

    ...this plugin rocks.
    One thing though. I can't seem to list any twostate doors using the /dlist command. Twostates do not even show up when using /dlist all. Any thoughts?
     
  26. Offline

    Arcwolf

    does the listing have more then 1 page. if so they may be on another page. Look for TSDOOR that is what twostate doors are listed under.

    Just tested this as I have like 10 twostate doors in my test server.
    /dlist tsdoor
    or
    /dlist twostatedoor
     
  27. Offline

    dupsmckracken

    when i enter /dmyzone zonename it tells me unknown command. I have permissions set as 'blockdoor.*'
     
  28. Offline

    Arcwolf

    if its telling you unknown command then thats not a permissions error. A permissions error would tell you, you do not have permissions for that command.

    I'm not sure why it would be telling you that but its not a blockdoor bug causing it. Try running your server with just blockdoor and you as an OP. If the command works then you have another plugin running interference and causing problems.
     
  29. Offline

    dupsmckracken

    Will do this. It may take me awhile to let you know what the interference is, since I have like 30 plugins installed.
     
  30. Offline

    ferrousphantom

    it always turns to stone? i just went through a glowstone door, to find it turns to rock after.
     

Share This Page