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

    Arcwolf

    /dfill mydoorname cobblestone

    or if you prefer
    /dempty mydoorname 20

    or what ever item you want. Single state doors need to be told what you want it to turn into when you toggle it. Thats classic blockdoor from the days of Hey0 right there. Once you do that it will turn into that block type every time you toggle it.

    There is also tutorial in the readme. Just FYI...
     
  3. Offline

    DarkSoja

    Hi,

    I also have a problem: I am the Serveradmin and I also have all Permissions. But if I enter a command it says: "You dont have permissions".
    I use Bukkit 953 and with the older Version I was able to create doors and triggers. But now I cannot use the existing doors or create a new door. Also I am not able to list the existing doors (only in the Console of the server).

    Do you have any idea?!
    Thank you for this Plugin!
     
  4. Offline

    Arcwolf

    Sounds like you have a permissions problem not a blockdoor problem. I'm using 953 and nothing has changed with blockdoor. I have all permissions and am able to still use doors and create them. I recommend double checking your permissions to make sure nothing has changed when you transitioned from the older version to Bukkit 953.
     
  5. Offline

    DarkSoja

    Well, I checked my permission-file several times - and all of the other plugins are working quite well.

    I am in the group "Admins":

    Admins:
    default: false
    info:
    prefix: '&4>> Admin >>&f '
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    - '-residence.admin'
    - '-stargate.free.use'
    - 'blockdoor.*'

    I added - 'blockdoor.*' just to make sure it is not an error of permissions...
    The file is in the folder "plugins\permissions\Worldname"...
     
  6. Offline

    Arcwolf

    What permissions plugin are you using and what version.
     
  7. Offline

    DarkSoja

  8. Offline

    Arcwolf

    I will test against that shortly and get back to you.

    Just FYI, currently supported in blockdoor are GroupManager 1.0 alpha 5 and Permissions 3.1.3
     
  9. Offline

    DarkSoja

    Ok, then I have to wait until it supports 3.1.6 :D
    Thanks for your help!
     
  10. Offline

    Arcwolf

    Tested with version 3.1.6 permissions. Fresh install only blockdoor v0.05f and permissions 3.1.6 Yeti
    11:42:13 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-904-g9277096-b953jnks (MC: 1.7.2)
    Code:
     groups.yml
    
        Admins:
            default: false
            info:
                prefix: '&4'
                suffix: '&f'
                build: true
            permissions:
                - '*'
    
    users.yml
    
    users:
        Player:
            permissions:
            - '*'
            groups:
            - Admins
    /dlist worked.
    toggling pre-existing mydoors created by me worked.
    /ddoor testdoor1 worked
    /dtoggle testdoor1 worked

    I'm not sure why you are having problems. I have now tested it and blockdoors permissions system is still functional and appears to work with Permissions 3.1.6
     
  11. Offline

    DarkSoja

    I added the permissions to my Player profile -> Still doesn't work
    I reloaded all Plugins and got this error:
    "[Severe] Another plugin is trying to enable Groupmanager manually. Don't do this! It's probably plugin.arcwolf.blockdoor.BlockDoor "

    I get this error also when I restart the whole Server. So it's not only a reload error...
     
  12. Offline

    Arcwolf

    You know whats really weird about that error. The code that would be causing it is

    Code:
                if (!this.getServer().getPluginManager().isPluginEnabled(p)) {
                    this.getServer().getPluginManager().enablePlugin(p);
                }
    it is part of Groupmanagers plugin hook code for plugin developers to put into their plugins. The creator of groupmanager recommended that in GroupManagers main post on this forum.

    I'd say its become apparent that something is really wrong with your server... none the less, just for your benefit I have removed that piece of code. Will that fix your real problem? I doubt it, but it will prevent you from seeing that error message. There really is nothing more I can do to help you. I'm sorry. I can find nothing at fault with blockdoor.
     

    Attached Files:

  13. Offline

    DarkSoja

    I do not get this error any more, but I still cannot create Doors...
    I don't think that there is something wrong with my server in general, because all plugins work correctly and also your plugin works - but only in the console... Probably it is a problem with permissions... I will deactivate permissions to check this out...
    Thank you for your help!

    Edit:
    Okay, I just deactivated Permissions (I removed the Permissions.jar) and I still get the same error: No Permissions...
    I will create a testserver for blockdoor... Maybe there is a problem with another plugin...

    Edit2:
    It's running now :D
    There was an error in Groupmanager's groups.yml
    I took the original file of blockdoor (with the error) - the error is still there but it works...
    Thank you again!
     
  14. Offline

    Arcwolf

    Just so you know, without permissions BlockDoor defaults to server ops. So if you put your player name in the server ops.txt file you will have permission for every blockdoor command. Without your username in ops.txt you wont have permissions and will see the No permissions error.
     
  15. Offline

    DarkSoja

    I got the "no permissions" error also without permissions plugin. I am the ServerOP... This is quite strange^^
    I just insert my World, the Craftbukkit.jar, the server.properties and the ops.txt. But there was still this error...
     
  16. Offline

    Arcwolf

    According to your post only common link with your setup is the world you are using. Unless you are using the same craftbukkit jar.

    A fresh install, is a fresh install. New world, fresh craftbukkit download. Craftbukkit in a empty directory. Run craftbukkit. Stop the server and put blockdoor into the new plugin folder. Insert your player name into newly generated ops.txt

    Run craftbukkit again.

    Test blockdoor, when it works (unless you 're in some alternate reality) You are'nt are you? Sorry, my plugin isnt compatible with alternate realities O_O lol :D

    Anyway, slowly add things from your old server to the new server. One at a time. That should nail it down.

    I just tested with the version I uploaded for your setup. It works too. I'm not doing anything special. <shrugs>
     
  17. Offline

    DarkSoja

    First of all: I live in the same realitiy as you (I think I do) :D
    But you should add Multi-reality-support!

    It's now working with my world - there was a problem with Groupmanager...
    My Testserver dir:
    - craftbukkit.jar (Same Version as my normal Server).
    - Worlddirectory
    Nothing else...
    I added my name to the ops.txt and restarted the server.
    But it didn't work... I will try it without the existing World tomorrow - but now it works and I am happy^^
     
  18. Offline

    Arcwolf

    Updated to use the new Bukkit piston methods for twostate door protection and incorporated Bukkit permissions support. TNT protection for twostate doors as well.

    This version REQUIRES bukkit 1000+ to function correctly.

    See the change log for full details.
     
  19. Offline

    matze134

    can you add, that i can create myzones for other players?
     
  20. Offline

    Arcwolf

    That sort of defeats the purpose of a myzone and also zones created by you can only be linked by you.

    IE

    johndoe1 can /dmyzone myzonename
    janedoe1 cant /dlink myzone myzonename door toggle

    because janedoe1 doesnt own johndoe1's myzonename.

    How about a zone that detects other specific players or entities. Something like

    /duzone uzonename janedoe1

    Then the zone would only listen for janedoe1 to enter the zone? That I might be able to do and I wont have to rewrite the entire command structure. Would that be acceptable?
     
  21. Offline

    matze134

    yes that would be nice i want, that
    admins could create zones for players, so i must not explain all users how they set up a zone
    and i think that would be work with your solution :)

    sry for my bad english^^
    and you made a great plugin ;)
     
  22. Offline

    Arcwolf

    Very good, then you wont mind testing /duzone out for me. :)

    Here are the specs for a /duzone

    /duzone uzonename johndoe
    /dlink uzone uzonename johndoe doorname toggle 1
    /ddel uzone uzonename johndoe
    /dlist uzone

    The /dlink needed to be expanded for the uzone to allow for the trigger. Since a uzone can have the same name but different triggers. Meaning that you could have a uzone named "myuzone1" that would trigger on johndoe. And you could also have "myuzone1" that would trigger on janedoe. But they would be different uzones to the plugin.

    So you must specify the uzone name and the trigger to use the dlink command for a uzone. No other dlink command has changed. Just specific to the uzone.

    Valid trigger types are as follows:

    CraftPig, Pig, CraftCow, Cow, CraftChicken, Chicken, CraftSheep, Sheep, CraftSkeleton, Skeleton, CraftZombie, Zombie, CraftPigZombie, PigZombie, CraftCreeper, Creeper, CraftSlime, Slime, CraftSpider, Spider, CraftGiant, Giant, CraftWolf, Wolf, CraftSquid, Squid, and Player Names. Player names are case sensitive. JohnDoe is not the same as johndoe.

    Remember: Linking a door with a uzone requires an additional argument. EX:

    /dlink uzone uzonename johndoe doorname toggle 1

    This would tell BlockDoor to link the single state door "doorname" to the uzone "uzonename - johndoe" and set it to toggle.

    This would cause the door "doorname" to toggle when ever johndoe entered the zone and only johndoe. Nothing else would trigger the zone.

    Valid permissions nodes are as follows:

    blockdoor.link.uzone
    blockdoor.uzone

    One final note, only one trigger per uzone. I may do multi triggers later but for now. I just want to get the concept working. Its pretty well tested but I need a few test subjects :D

    Give it a shot... Thanks!

    --file removed--
     
  23. Offline

    GoSox2525

    I'm probably making a really obvious mistake somewhere but my doors are not saving. I type /ddoor and choose the 2 points. Then if i do /dlist, it says no search results. I thought mayeb the door creating process isnt finished after just choosing 2 points, but after i do select the 2 points, it lets ,e link a trigger, so it seems to be complete. Then when i restart the server, all doors are gone and dont work. Also, i cant use the /dfill command, every single block comes up as "INVALID BLOCK ID". Where am i supposed to put the accepted_blocks.txt file?? or is that just a reference?
    Help a noob out? :/
     
  24. Offline

    Arcwolf

    accepted_blocks.txt is just reference. Inside the \plugins\BlockDoor folder is a file called items.txt. That contains the valid block types.

    As far as it not saving, thats difficult to say. Since the plugin is programming to save when you create a door, when you create a link and again when you shutdown the server. Its a basic function of java and pretty fool proof. I dont see how it would not save unless something is wrong with your server. Like you dont have permissions to create new folders and files. Then you might have an issue because blockdoor would not be able to generate the files it needs to persist between server restarts. Sorry I cant be of more help but there may be something else wrong not related to blockdoor. Tthat would be outside my control.
     
  25. Offline

    GoSox2525

    But im server owner, i have all permissions. Actually now that i think of it, ever since about 3 days ago, i dont have any permissions in any new worlds i create either. But old ones i have all permissions working, even though the permissions YML's are exactly the same for every world. Could one plugin be causing this? (not accusing BlockDoor, i download a new plugin just about every other day.)

    EDIT: Also BlockDoor never even created a BlockDoor file in the plugins folder, so thats obviously the problem, but im not sure why its happening
     
  26. Offline

    Arcwolf

    BlockDoor is designed to create a folder and all the datafiles it needs to operate. If the plugin loads correctly there is no way to avoid it creating those items. Maybe some plugin is bombing before blockdoor even gets a chance to load. But really, TBH I am grabbing for ideas here. I dont know why you are experiencing the problems you are noticing. However, I can say this with total certainty, the problem you are having is outside the control of blockdoor. There is something else wrong. I recommend starting your server install from scratch and making sure everything works before adding plugins. Thats all I can say on the matter.
     
  27. Offline

    dupsmckracken

    Could it be possible to add a link to other doors so that a no cubic/rectangular door can be made? I like making doors that are arches, but in order to do this I have to have a a door more basically each row of the door, then link the triggers to each section. What I envision possibly have a /ddoorsection or something like that. then somehting like /dcomplexdoor <complex door name> then you do something like /dlink complexdoor <door section> <complex door> <add/remove> where add adds the section of the complex door and remove removes it. then the /dlink <trigger, zone, etc..> <complex door> <toggle, on, off>. Granted this would take some time, and it isn't necessary, something like this would be awesome. Is it theoretically possible or does it require too much code revamping?​
     
  28. Offline

    Arcwolf

    hmmm, I'm not sure I'm understanding the request. Isnt this something that a twostate door should be able to accomplish? Granted it is a cubic shape but the contents of the door can be any block. So you could have a door that looks like an arch but is in fact a cubic shape.
    Code:
     _______
    |  III  |
    | I   I |
    |I     I|
    |I_____I|
    Something like that? Where "| & _" is the defined twostate cubic area, and "I" is a block? White space being air.
     
  29. Offline

    seanster789

    just wanted to let u know that when linking a zone to a door it does not work. this is wat i type in "dlink zone nameofzone nameofdoor 1 toggle" when i hit enter blue text comes up saying "usage: /dlink <trigger type> <triggername> <doorname> <type> <doortype>" so if you could at least include zone (like when ur doing /dlink zone <zonename>" into the list of acceptable trigger types to use. so unless im doing something wrong could you fix this please cause its kinda annoying.
     
  30. Offline

    Arcwolf

    sorry your having trouble but here is the correct command

    /dlink zone nameofzone nameofdoor toggle 1

    NOTE: the 1 is in the wrong place

    Its kind of unfortunate how big the commands seem to have gotten I guess, but I cant think of any other way to do it. Too bad a gui isnt possable <sigh>
     
  31. Offline

    dupsmckracken

    N
    Acutally this can work, I didn't think of it. I'll give it a try, since I haven't played around with the two state doors yet.
     

Share This Page