HiddenSwitches
NOTE: This is my first plugin. Please, if you've created plugins before, check the source and let me know if there are better ways to implement this. Also, this plugin requires you run Bukkit 1.4.6. If you are using a different version of Bukkit and would like to use this plugin, please let me know and I'll make a version that will work on earlier builds of Bukkit.
This plugin allows for hiding buttons and levers with any block and then activating them by right clicking that block with nothing in hand.
Features
By placing any block except those listed below near one or more levers or buttons and right clicking on that block, the button(s) or lever(s) will be activated.
Blocks that this doesn't work with
- Levers
- Buttons
How to place your blocks
When right clicking a block with nothing in hand, this plugin will check to see if there are one or more levers or switches 1 square to the left, right, in front, behind, above, or below the block. If there is at least one, then it will toggle those buttons or switches like if you would toggle them directly. You should be able to right click any block except those listed above and this should work.
Permissions
No permissions are provided by this plugin. This is intended to be simple, and I didn't see the need for permissions, but may add them if anyone needs them.
Installation and Configuration
No configuration is required by this plugin. Simply place it in your config folder then reload your server plugins. You'll be able to start using it immediately.
Downloads
For 1.4.6, download this file and place it into your plugins directory. For 1.4.5, download this file.
Source
The source is available both through the repository here on BukkitDev and also through Github.
-
View User Profile
-
Send Message
Posted Feb 22, 2013Mmmk so tried using this on the server i'm helping run and it doesn't work with 1.4.7 Tekkit Lite can you get it working with it please?
-
View User Profile
-
Send Message
Posted Jan 21, 2013@smartboyathome
I understand, the simplicity of this plugin is very nice. The reason I mentioned it is that I use the Lift plugin as well, and if you try to change floors with an empty hand you end up activating the lift.
-
View User Profile
-
Send Message
Posted Jan 21, 2013@apa240
I'm glad you enjoy using this! I was afraid that it wasn't working since one person had told me it didn't even start up for them.
Anyway, I could have this plugin do that, but unfortunately that would mean either making a config or using a database. Not that I'm opposed to that, I just feel it takes away from the simplicity of it a bit. :)
-
View User Profile
-
Send Message
Posted Jan 21, 2013I've been using it for about a week now and really like it compared to some of the bigger plugins that let you do this.
Possibly in a future version have an option to ignore certain block ids?
-
View User Profile
-
Send Message
Posted Jan 2, 2013@nicerman1
The source code should be on wherever Bukkit puts it with its git repository, but its also available on Github.
-
View User Profile
-
Send Message
Posted Jan 2, 2013So, where is the source code? By the way, i'm also a noob in bukkit plugin developping ;)