Allow Lockpicking
DeathlyIceDragon will now be maintaining this plugin.
Introduction
This plugin adds the ability to pick doors, chests, furnaces, trapdoors, fence gates and dispensers with a "lock-pick" item. This plugin will not lock any of these items - it just provides players with a method to circumvent them.
In Game Usage
Players just need to be holding the lock-pick item in their hand and right click on a chest or a door to try to pick the lock. If the pick is successful, the door or chest will open.
Features
- Should work with any locking plugin (tested with LWC, Lockette, BukkitInventoryTools, Deadbolt)
- Supports permissions (allowlockpicking.canpick) - defaults to ops
- Configurable lock-pick item (allows multiple lock-picks)
- Configurable messages
- Configurable chance of success
- Option to lose lock-pick on use or just failure
- Configurable damage dealt on failure
- Teleport player to a location on failure (like Jail)
- Run a command automatically on failure (like /report)
Known Bugs
- Does not prevent other locking plugins from displaying their messages if something is supposed to be locked but the user bypasses it.
Installation
Download the jar and place the plugin into your folder. Run the server to generate the files that will let you configure the plugin.
Commands / Permissions
A list of all commands and their permissions can be found here.
Configuration
Information about the configuration files can be viewed here.
Change Log
The full change log can be found here.
If you're upgrading from pre 2.0, you will need to reconfigure the plugin
v2.5
- Removed Spout Support
- Removed Towny Support
- Removed Bukkit Inventory tools Support
v2.3
- Fixed minor errors reported
- Updated compatibility with ChestShop and hopefully LWC
v2.1
- Added ability to prevent things inside towns from being picked (with Towny)
- Fixed error with ChestShops being null
v2.0
- If you are upgrading to this version, I recommend you delete your config because you will need to reconfigure everything.
- Major upgrade to the plugin, view the full change log for all of the changes.
@Shooty_
The version I gave you was just a debug one in case we couldn't figure out the error - delete that one and download it from dev bukkit now that it's been approved.
@NoahIvaldi
LWC allows ops to open chests automatically, this is a plugin originally requested by someone who wanted to allow Rogues to pick chests/doors. I'll look into other permissions plugins now that you mention it - didn't even know they all didn't work lol :).
Correct me if I'm wrong, but LWC also allows permissions-based ability to surpass locks, right? The server that I was on last ran LWC, but mods and admins were able to open locked stuff. If LWC already allows this, is this just an alternative method?
Unrelatedly, I would like to suggest that you add support for different permissions plugins in future updates. It seems like an obvious suggestion, but I thought that I should throw it out there in case you weren't already planning on it.
@Shooty_
Are your permissions configured correctly? I'll make and upload a debug version for you to try, just give me a few minutes. I'll PM you when it's done.
@nighteyes604
Yes
@Shooty_
Which plugin(s) are you using to lock them? Lockette?
@nighteyes604
Humm seems don't works..
Config file :
i take shears in hand, try to rightclick chest/door and nothing happend no message... no error :/ ?
@nighteyes604
omg omg omg omg <3 thanks
@Shooty_
Here's a link where you can temporarily get it while the Bukkit Dev one updates.
Edit: Link removed.
@nighteyes604
You are f*cking amazing :D God bless you !
But the DL link is not update :((((((((
Dev bukkit little sucks :p !
@Shooty_
Haha, ok I'll upload another version in the next few hours :p
Edit: Added the newest version for support with Lockette, trap doors, fence gates, and furnaces.
@nighteyes604
OOoh :( can't you make it now ?
@E_HERO_Kyle
Yup definitely possible, I'll add that as well once Bukkit updates.
Are you able to make multiple items picks? i.e. diamond lock pick has a higher chance then gold, gold has a higher chance than iron, so in all 3 different picks.
@Shooty_
Yeah I'll add support for all of those when Bukkit updates to 1.1.
@nighteyes604
Can you add Lockette support, Also can you add Furnace support ? Trapedoor support ? Fencegate ? Etc ?? :D ?
@jigga_jones
Haha yeah I'll keep trying, have to learn how to get rid of the pin code thing that pops up.
will you make this work with bukkitinventorytools please :D !!
@nighteyes604 I figured that BIT would be the odd duck but thank you for looking into it.
@fuzyfeet
@GeoCraft
@Djrowling
I'll work on all of these and see what I can do.
Edit: Added configuration for damaging player on fail. Plugin now works with Factions (except for displaying a message saying you can't use things in another faction). Plugin works with BukkitInventoryTools if the player isn't using SpoutCraft - if the player is then the GUI gets frozen. I'll work on fixing these few errors if I can.
I would so love this hooked into BukkitInventoryTools.