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
Duplication glitch :/ maybe blacklist doors? Latest version of MC. Thoughts? If you need to test it out on our server let us know. https://www.youtube.com/watch?v=15iIOPN9eWo
@TheGeek55
Are you sure? I could not reproduce.
For 1.7 the door will close but it wont be covered
Hello friends - I have returned (although likely not for long) with an update. I fixed various bugs, added support for double doors and updated to CB 1.6.4-R2.0
Post any bugs you find in the comments and/or PM me - I check on it periodically.
-Snnappie
Alright, so I re-built with Bukkit 1.6.2. Turns out most everything to do with data and ID values for Blocks is deprecated. Currently it looks like everything works, however I think that was done in anticipation of Minecraft 1.7 (I dunno though, haven't been keeping up with Minecraft/Bukkit lately). I'll consider looking into different solutions that don't rely on Block ID/Block Data (I've lost familiarity with the Bukkit API) to ensure future functionality.
For some reason, permissions are not working on my server. Any player can use the secret doors. I got the plugin for my donators originally, but atm that doesn't seem to be working.
@Snnappie
it would be cool if you get there
@PapyFrey
I'd have to look into Iron gates - I don't know how they function. I'll look into that.
As for double doors, they were originally removed by first developer because they were buggy. I never looked into a solution for it - hadn't even thought about it. I'll get around to it eventually.
-Snnappie
hi, would it be possible to make the system with iron gates, and also with double doors?
i will a video for this such an amazing plugin
Just uploaded built on 1.5.2 - Awaiting approval from Bukkit.
If anyone finds bugs, let me know!
-Snnappie
@farleyman2
Haven't tried it. Does it not work on 1.5.2?
Would it be possible to get this for 1.5.2?
@sambrainiac
So essentially it could be like having a 'hidden button' almost, right? Like you have the door on the right wall and you click on the left wall and the right wall opens, right? That is a pretty cool idea. No promises, but I'll look into an implementation.
-Snnappie
now this is an amazing very simple plugin! i have one suggestion though. maybe in a future you could link a block in a different place rather than right in front of the door! so maybe you could do /sd link and then you could right click the blocks you would want to go away. this is just a suggestion but it is still a very usefull plugin! thank you
Made a plugin review as well! :]
http://www.youtube.com/watch?v=R8hMETFdNUk&list=UUM5hx5HSrWAkg516AeOd27w&index=1
@Mc_Drizzle
I could, but it is awkward, given the way trap-doors hang on walls. Since trap-doors only attach to the bottom part of a block, there is a space of air in-between the trap-door and the block above it, making it impossible to climb upwards, but only fall into the secret trap-door.Never mind; I added trap doors.
Could you add hatch-doors/trap-doors as well? :]
@kool27
My updated version is still awaiting approval from Bukkit - Look for SecretDoors v1.0
Not working right with 1.5.1 .. Made blocks beside the door disappear. Couldn't get it to work right in front of door got nothing. Didn't make a folder either
Thanks,