[MECH/MISC/FUN] SecretSwitch - Create a hidden switch on any block. [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by Paulpkyou, Sep 30, 2011.

  1. Offline


    SecretSwitch - Create a hidden switch on any block:

    This plugin will allow you to create a hidden button or lever on any block, this is very easy to do and can be useful in many ways. I'm not sure if I'm going to add permissions to this but if someone requests that i do i will. Please post any (constructive) suggestions and ideas here.

    1. Place any block where you want your switch to be.
    2. Place a sign on the back of the block, on the second line of the sign put "[SecretSwitch]", on the third line put the word "Button" or "Lever", if you did this properly you will get a message saying you created a SecretSwitch sign.
    3. Connect redstone to the sign and to your piston / door / other block.
    4. Right click the block to activate your switch.
    • Create a hidden Button on any block.
    • Create a hidden Lever on any block.
    • Allow hidden switches to be used by some or all groups.
    • SecretSwitch.create => Allows you to create a SecretSwitch.

    Michaello98 likes this.
  2. Offline


    Is the link broken? It wont load. It just says connecting. Eventually it times out.
  3. Offline


    Not sure if this is even alive, but if it is update it to R5 please. Thanks.
  4. Offline


  5. Offline


    How do you install it? I think i have done something wrong becose i cant get it working, and i do not get a message that it would not have gotten it right or that i would have gotten it right...
  6. Offline


    This is dead, isn't it? -sigh- That's too bad. It was a good plugin while it lasted.
  7. Offline


    Links Broken. Fix please.
  8. Offline


    Link works, plugin is running stable on the latest dev build.

    It'd be nice to be able to set a delay (in ticks) on line 4 of the sign.
  9. Offline


    You most likely downloaded this when it wasn't updated for the latest build of Bukkit, It has been updated since then and i will continue to develop this plugin until Bukkit or i die (Whichever comes first?).


    I am currently doing major updates on another plugin of mine but after that i could add that feature. :)
  10. Offline


    Been noticing the following error

    [SEVERE] Could not pass event SignChangeEvent to SecretSwitch
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:1350)
    at net.minecraft.server.Packet130UpdateSign.handle(SourceFile:41)
    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116)
    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    Caused by: java.lang.ClassCastException: org.bukkit.craftbukkit.block.CraftBlockState cannot be cast to org.bukkit.block.Sign
    at paulpkyou.SecretSwitchBlockListener.onSignChange(SecretSwitchBlockListener.java:40)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    ... 10 more

    I was using simplesignedit(2.0) i guess the 2 are not quite compatible, any way to fix this ?

    running 1.2.3R03 and plugin 1.3

    thanks - nice plugin
  11. Offline

    Tak Suyu

    Doesn't throw any error or anything but I think button signs don't work with inverted Piston doors


    Why do spoilers not work >:0

    Anyway I think it doesn't work cause the redstone torch is connected to the block the switch:button is on
  12. Offline


    If you want to click the block from the outside, you would remove the sign outside and replace that redstone torch inside with the sign, then you would connect redstone to the sign and cover it up, currently diodes and redstone torches do not work with it but i will soon add support for that.
  13. Offline


    Amazing, now to get wireless redstone and wa-la
  14. Offline


    This addon is super :) Im usign it with MAze pluggin.. i hide some treasures behind secret door marked with a block liek that one on image:

    they simple click it and voile secret passage open with the treasure:

    The way of make it open its like have a button or a lever inside.. easy

    Very nice plugin - Working wonderfully on 1.2.3 R0-2
  15. Offline


    Could you make a demo video?
  16. Offline


    People have already made a few videos for it, a quick search on YouTube and I've found 3 videos:

  17. Offline


    I've got to say, your the only one that responds to a question(or multiple questions) quickly within a 24hr period... impressive. and thanks.
  18. Offline


    No problem, i get a lot of messages and stuff so i check bukkit every once and a while :)
  19. Offline


    I love this plugin, but would it be possible to set permissions so that the creator can choose who can use it?
  20. Offline


    I'm going to be doing a update for this soon so I'll add a permission and support for PEX :p.
  21. Offline


    I believe we are having a small misunderstanding. Just for clarification I am wondering if its possible for the sign's creator can choose who can use his sign.

    for example:
  22. Offline


    No but I'll add something like that soon, i get what your saying. :p
  23. Offline


    Really awesome mod, one of the best I've seen so far and a lot less CPU intensive, makes it possible for admins and ops to hide our spot from regular members, (for the protection you just have to protect the sign with LWC and I'm quite sure its safe from others, will confirm monday or tuesday when my brother is back from easter vacations). Now if there was a way to make hidden traps inside of any kind of blocks and same thing for doors that could be hidden (I know we can make some with pistons and redstone, that's what I've done and wanted to use the SecretSwitch plugin first) and its awesome, but that would be insane if we could hide doors and traps in normal blocks too, I understand that for the door that could be trickier cause it takes 2 blocks space, but at least for the trap that would be insane.
  24. Offline


    its awesome!
    but one problem...
    it does not works directly to doors...

    X = Block
    D = Door
    S = Sign on block

    X X X X S X
    X D X or X D X
    X D X X D X
    X S X X X X
  25. Offline


    Yea, Its not made to do that, Its made to search for a redstone wire or torch behind the sign, not a door lol.
  26. Offline


    it would be cool if it could work on a door :)
  27. Offline


    I am having a small problem. I have the node and op but I still don't have permission to place a sign. Why?
  28. Offline


    What permission plugin are you using and is it updated to the latest version?
  29. Offline


    I am using PEx and I am assuming it is the latest version as I just re-installed it from their bukkit dev site. I am also fairly sure that this is updated as I just re-installed it. I could give you my IP and op you on my server and have you help me.
  30. Offline


    Actually, i use PEX on my server and i can verify it's working, maybe you're doing something wrong? Have you tried using other permissions for other plugins?
  31. Offline


    I got some help and it was in my permissions file. My spacing or something. Anyway Paulpkyou, thank you for this epic plugin and if you ever want to come on my server, MCRoles.servegame.com

Share This Page