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

Discussion in 'Inactive/Unsupported Plugins' started by Paulpkyou, Sep 30, 2011.

     
  1. Offline

    Paulpkyou

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    [IMG]
    SecretSwitch - Create a hidden switch on any block:

    Version: v1.5

    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.

    Tutorial:
    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.
    Features:
    • 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.
    Permissions:
    • SecretSwitch.create => Allows you to create a SecretSwitch.
    Change Log:

    Version 1.5:
    • Updated for 1.5.
    Version 1.4:
    • Added support for 3 more permission plugins.
    • Added Group checking.
    • Added redstone torch toggle.
    • Changed button speed a little.
    • Cleaned up code.
    Version 1.3:
    • Updated to support 1.2.3.
    Version 1.2:
    • Added support for permission plugin.
    Version 1.1:
    • Fixed a bug that allowed you to activate the button/lever by clicking on blocks near it.
    • Fixed a small bug with the sign.
    • Fixed the sound effect so now everyone in the area can hear the button/lever tick.
    • Added a message for when you don't get the sign correct.
    • Increased button off time by 200 ms.
    Version 1.0:
    • Just Released.
    Download:

    http://dev.bukkit.org/server-mods/secret-switch/

    This post has been edited 17 times. It was last edited by Paulpkyou Apr 8, 2013.
    Michaello98 likes this.
  2.  
  3. Offline

    ~QF~Pestilence

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Awesome plugin! Works great! Is there a way you could include the possibility of using a block as a pressure plate? If so, that would make traps undetectable. Still though, good job :)
  4. Offline

    rem0nat1

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I try to use this and it says "You don't have permission to create a hidden switch." Help?
    EDIT: Added a screenshot.

    This post has been edited 1 time. It was last edited by rem0nat1 May 14, 2012.
  5. Offline

    Dodge34

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is there any ways to support RedPower2 wiring, I'm quite sure its just a matter of adding blockIDs to the SecretSwitch toggle options, tried to mess with the plugin myself but I don't understand java, a config.yml would be really awesome so people with custom mods could add the blockID they want the SecretSwitch to work with, the RedPower2 wiring is so much better than default Redstone... I'm using Tekkit right now, can't believe all of the stuff isn't in the default Minecraft already...
  6. Offline

    h2owasser

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    If I'm using only one Block RedstoneWire and put it 1 Stage down it won't send the signal : /

    One nice thing would be using a "key" for opening the switches...I tried another plugin before but I won't get it working!

    But really nice and easy Plugin ;)
    -h2owasser
  7. Offline

    Paulpkyou

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Are you using a permission plugin? If so make sure you have the proper permissions.
  8. Offline

    rasmus1595

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That would be awesome :D
  9. Offline

    Leviathanss

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    :( the plugin broke with the new bukkit version. :( the signs work but you can't click anymore.
  10. Offline

    Paulpkyou

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Does it give you an error in the console? If so please post it here.
  11. Offline

    General

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    For me, it doesn't give any errors. It's just that nothing happens. Like he said, making signs work, and is registered by the plugin, but actually activating the sign doesn't do anything. I also don't hear any clicking sounds. Maybe it's because it's not registering my right-clicking event?
  12. Offline

    Leviathanss

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No errors indeed. it's since 1.4.5. You create the sign and when you close it you can see that the plugin takes the [secretswitch] command and collor changes but when you click the block nothing happens anymore like it used to. So basicly it works but the click part to activate the button or lever does not work.
  13. Offline

    Paulpkyou

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Oh, i haven't really touched any of my plugins after everyone started moving to bukkitdev. I'll figure out the problem and fix it.
  14. Offline

    lyarinightwing

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ok so i have the worlds biggest headache from work but thats ok, I need your help for some odd reason unbeknownst to me but I cannot get your plugin to work with Essentials. I keep getting EssentialsProtect this block is locked by [username here] can you help me?

    This post has been edited 1 time. It was last edited by md_5 Feb 2, 2013.
  15. Offline

    Paulpkyou

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    People have reported the plugin not working anyway, it's going to be updated very soon.
  16. Offline

    Killermic

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I took a stab at it and found the problem: It's in the PlayerListener, in the method where you check the block attached to the sign. The numbers don't match up with the directions anymore, it should be:
    2 -> SOUTH
    3 -> NORTH
    4 -> EAST
    5 -> WEST

    hope this helps.

    This post has been edited 1 time. It was last edited by TnT Mar 16, 2013.
  17. Offline

    Paulpkyou

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This has been fixed for some time now.

Share This Page