SecretSwitches
SecretSwitches is a simple plugin which will allow you to create and organize hidden lairs ! If you seek something to hide your buttons or levers without to configure a lot of stuffs, it is for you.
It has the same function as the SecretLever plugin. Right click on a torch and it will check if there is a button or a lever behind the block. If so, the passage will open / close as if you right clicked on the switch !
I made this plugin for two reasons : the first one is SecretLever is no more updated, while the second one is other plugins like that were not suitable for my needs, or didn't support buttons and levers at the same time. It was also the best moment to add other items than AIR to interact with them, as I guess many people (like me) don't always have an empty slot in their inventory.
STEPS : - Download - Put the .jar file in your Plugins directory - Reload the server - Enjoy it :)
HOW TO USE : - Just put a torch on the wall - And then a switch on the other side - Some redstone - Then right-click the torch and the door will open !
ITEMS TO USE : - Tools (any of them) - Weapons (any of them) - A stick - Air
Note : even BOW and ARROW are ok
I wanted to allow the player to interact with any item of the game. The fact was blocks can't be used as objects due to a bug on the PlayerInteractEvent. So as I couldn't make a list of them, I added some of the most used (by me) items. If you want any of objects to be added, feel free to let me know, and I will try to update the list.
-
View User Profile
-
Send Message
Posted Nov 11, 2013@ajgeiss0702
Yes, you can use a button behind a wall as well. However, there's a bug which needs you to put some repeaters to oblige your button to act like a "normal" button and not with a longuest delay.
Is that your question ?
-
View User Profile
-
Send Message
Posted Nov 11, 2013can you change the lever behind the wall to a butten?
-
View User Profile
-
Send Message
Posted Jun 15, 2013Thank you !!
Your comments are the best motivation I can receive here. I really want to provide you the best experience, and doing that by myself is a great pride. Have fun ! :)
-
View User Profile
-
Send Message
Posted Jun 15, 2013Thanks for the update. This plugin is way better than using hidden bud switch doors :D
-
View User Profile
-
Send Message
Posted May 25, 2013@senorderp Ok, I think I can hide the message, it will be here instead, on the main page :) I just hope people will see it before complaining it doesn't work with everything. However, I don't think the new update will come before the next Bukkit version, unless it takes too much time or I have many stuffs to add. Keep in touch !
@shadvalentine I will try to see how I can do that. What is your vanilla world ? I mean, is it instead of the Nether or the End world, or is it a second "World" slot or something ? This information could help to understand, even if I'm not sure to need it.
-
View User Profile
-
Send Message
Posted May 23, 2013There is something I would like to see added .. Can you add a permission to use the plugin .. reason I ask is I have a "vanilla" world and would like to disable this plugin on that world .. but leave it working on all the rest
-
View User Profile
-
Send Message
Posted May 22, 2013Hey, awesome plugin. I was just wondering if you could add an option to completely remove the "You can only interract with TOOLS, WEAPONS, STICK or AIR in hands." message.
It would put my mind at ease on my server as im now hiding an entire railcraft workshop from a friend :P
-
View User Profile
-
Send Message
Posted May 10, 2013@Chipatopti
Thank You .. testing now
-
View User Profile
-
Send Message
Posted May 3, 2013Plugin updated.
This version does not have a config file for the moment, because I think it's pointless to create one if there's only one row.
However, I'm thinking about a command which could allow players to set a delay for buttons. Maybe the next update will have that, and some other stuffs I have no idea yet. Let me know about them.
Enjoy !
-
View User Profile
-
Send Message
Posted Apr 30, 2013@shadvalentine
Ok, I will have a look on this as soon as I have enough time to code, but please keep in mind that's my first plugin, so I can't give you any guarantee of success.
For the config file, I'm not sure but it would be a good way to fix it, right. I will think about it too.
-
View User Profile
-
Send Message
Posted Apr 29, 2013@Chipatopti
I would like the button to work like a button if possible .. you can add any delay you want with repeaters and more reliable of a delay that way too
Edit:
maybe you can add a option in a config file to let ppl set a delay on the buttons
-
View User Profile
-
Send Message
Posted Apr 29, 2013@shadvalentine
Well, I changed most parts where you were supposed to see the message. It actually says the error when you try to put a block on a torch, but as it's not so common I don't think I should change that again. Just tell me.
Yes, indeed, it does that. The funny fact is that's a bug I didn't really wanted to fix, because of the delay. I guess it varies for the time, but when you activate a torch for a button, it acts like a lever for just... about 30 seconds, didn't count, before to close. It's a mix between buttons and torches.
Does it really bother you ? I myself use it to make some other kind of traps :)
-
View User Profile
-
Send Message
Posted Apr 29, 2013@Chipatopti
ok .. no more spam .. ty
however I tried this with a button so that the torch would act like a button but it instead acts like a lever .. so you click the torch and the button activates then you have to click it again to deactivate
-
View User Profile
-
Send Message
Posted Apr 27, 2013@shadvalentine
Yes, thank you for reporting bugs, I figured it out few minutes ago. Sorry for that, I'm uploading a fix. Hope you enjoy :)
-
View User Profile
-
Send Message
Posted Apr 27, 2013when building we get spammed with You can only interact with TOOLS, WEAPONS, STICK or AIR in hands ... every time we place a block
-
View User Profile
-
Send Message
Posted Apr 26, 2013@dylamb6
Thank you ! :)
-
View User Profile
-
Send Message
Posted Apr 26, 2013Cool