SecretDoors
This plugin requires Java 8
This is a continuation of MrChick and Dill's work.
Plugin originally made by MrChick.
Plugin based on this request.
Features:
- Create SecretDoors with a wooden door and any blocks
- Secret Trapdoors (can be disabled in config)
- Open the trap door (or right click the block above it) to open the door
- Trapdoor is replaced with a ladder for ease of climbing out
- Click the ladder to close the door
- Open the trap door (or right click the block above it) to open the door
- Permissions support
- Signs, torches, ladders, vines, buttons and levers are all place-able on SecretDoor blocks
- Signs retain their text
- SecretDoors can now be opened and closed with Redstone power (can be disabled in config)
- Configurable timer to close doors and trapdoors automatically
Usage:
Thanks to VariationVault for the video!
Config:
- use-permissions: true/false - Enables/Disables the need for Permissions.
- use-redstone: true/false - Enables/Disables Redstone being able to open SecretDoors.
- enable-trapdoors: true/false - Enables/Disables Secret Trapdoors.
- enable-timers: true/false - Enables/Disables automatic closing of doors.
- close-time-seconds: integer - Time in seconds before a door will automatically close.
- enable-whitelist: true/false - Determines whether or not to use the whitelist of blocks.
- blacklist: MaterialList - List of materials that cannot be used to create SecretDoors (see here)
- whitelist: MaterialList - List of materials that can be used to make SecretDoors, if enable-whitelist is true.
Commands:
- /secretdoors reload - Reloads config file.
- /sd reload - Alias.
Permissions:
- secretdoors.use - Defaults to OP, allows users to open and close SecretDoors.
- secretdoors.create - Defaults to OP, allows users to create SecretDoors by placing blocks in front of the door.
- secretdoors.reload - Defaults to OP, allows users to use /secretdoors reload and /sd reload.
NOTE: See known issues!
Source Code:
- Click here!
Planned Features:
Make the Block Blacklist configurable.
Possibly add a configurable timer to close SecretDoors automatically.
Known issues:
- Permission node secretdoors.use will NOT prevent players from opening SecretDoors via Redstone power. To truly protect doors from being opened you will need to disable Redstone use in the config file.
- Redstone torches placed on the doors bug out because they provide power to the door - They have been blacklisted as a result. If people REALLY want Redstone torches place-able on SecretDoors let me know and I'll look into a workaround.
- Doors with a torch on them cannot be opened while the player is also holding a torch.
- Double doors are a little screwy if you use a mod that opens both doors when you open one.
- Please let me know about any other bugs you find.
Changelog:
- 1.4.2 - Compiled with SpigotMC for 1.8
- 1.4.1 - Secret Trapdoors must now have the trapdoor be placed on the upper part of the block.
- 1.4.0 - secretdoors.create/secretdoors.use permission node separation.
- 1.3.1 - Configurable blacklist and whitelist
- 1.3.0 - Timers!
- 1.2.1 - Blacklisted iron doors to fix a duplication bug
- 1.2 - Double doors and bug fixes
- 1.1 - Trapdoor support
- 1.0 - Initial release by Snnappie
- Older versions by Dill and MrChick
@Snnappie
I'm using Java 8, SecretDoors 1.4.2, and Spigot 1.8, getting this error
@Layania
Oh yeah, probably worth mentioning that it requires Java 8 now.
Nice to see this plugin back !!!
But i have a little problem with spigot 1.8 release :)
Any chance of a 1.8 update for the new doors? :D
Amazing plugin. Thank you for this. Can you add a LWC support?
@Octyenoch
Haha, cool - glad it works.
@Snnappie
oh for petes sake...I KNOW I had use-perms set to true at one point....it must of got overwritten though, after reading your message I doublechecked it and it was set to false again, so it must of gotten overwritten at some point...disregard, it works...another ID10T error...works fine :P
@Octyenoch
Another thing I forgot that I did (and I'm not entirely sure why - I guess I wanted the plugin to be completely self-sustained and not rely on permissions) - there is a config setting: `use-permissions`. If it isn't already, set it to true.
Regardless, I'll take a look
@Octyenoch
I don't know. It seemed like it was working when I developed it. I don't really play Minecraft much so I wouldn't notice if it broke with an update to Bukkit. I'll take a look - thanks
does secretdoors.create permission node work? I cant get it to work correctly, anyone can create them even though I have it limited to a specific group... not sure if I am doing something stupid or it still doesn't work correctly in the plugin (based on the previous comments)
Hi, I use LWC and the auto-close function and it seems to have a few issues with this plugin (I just had it switch so the blocks only appear while the door is open and disappear when closed)
Is there a way to fix the compatibility?
It works fine if I manually unlock the door, btw.
@Kraiitu
That'd be kinda awkward, given that doors are determined on the fly. A door is 'created' as soon as it is opened and destroyed upon being closed.
One solution would be that no one could place a block in front in a way that could be used as a secret door and they couldn't place a door in a way that would enable it to be a secret door - but that's what I mean by it's awkward. The way it's designed, secret doors aren't created until they are opened.
I'll try that and see how it works out
Could you make a permission which allows a certain Group to create Secret Doors? I'd like to put it on my server allowing only VIPs to create Secret Doors, but also that everybody could use them.
Is it possible to have compatibilty with WorldGuard, Region, Towny, Faction and other such things?
I tested with Towny, Vault, Gringrotts and Secret Doors on a fresh server. You can still switch the secret doors even though you are not allowed to switch doors. Maybe a quick check to see if you are allowed to switch the door behind the blocks would be in order.
@nicopop
I was actually thinking about something like that earlier today. I like the idea, I'll look into it
could you make that secret door only work if placed on a block that could be set in the config...like diamond or lapis
@onitsoga
I, uhhhh, forgot to upload it... Got distracted. Woops. Will upload now, should be available tomorrow (Bukkit takes some time to review plugins before they are available).
Expect another release soon-ish to make that list configurable. If you find any others/have suggestions, let me know!
@Snnappie
Haha! you're amazing! Thanks! When will it be available for download?
@onitsoga
Fixed it - needed to add IRON_DOOR_BLOCK to black list, not IRON_DOOR.
Will soon make blacklist configurable.
@onitsoga
Strange. I have iron doors blacklisted, actually.
I seem to have broken my build environment - I'll get to debugging it as soon as I fix this.
-Snnappie