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.
is residence and worldguard protection a planned implementation?
i remember suggesting it a month or so ago just wondering if it will ever be implemented
You are the greatest, this will come in handy for my anarchy server, no ones stuff is safe anymore '/me Uses His Evil Laugh'
@nighteyes604
You sir, are fantastic.
@rasnyderiii
Yup I'll start to look into that
@nighteyes604
Its awesome! Any chance of "towny" protection as well as the faction protection?
@rasnyderiii
Glad it works :)
fixed.. I changed durability back to -1.. and now it works =)
@nighteyes604
Although the error is gone - allowlockpicking.canpick - is not letting test user lockpick. No messages given. Nothing shown on attempt.
towny / lockette / chestshop / pex
config http://pastebin.com/PsEGrDRi CB 1.2.5 2149 - ALP latest link INFO [AllowLockPicking] Enabling AllowLockPicking v2.1 - allowlockpicking.canpick (only permission)
@rasnyderiii
The permission for just lockpicking is allowlockpicking.canpick
There are other permissions (allowlockpicking.canprotect and allowlockpicking.admin) which give the user the ability to prevent things from being picked and reload the plugin. Allowlockpicking.* is probably giving the user all three, which you may not want ;)
@nighteyes604
That works! no errors.. but on my online server is
- allowlockpicking.canpick
the permission need to lockpick? I can get it to work with - allowlockpicking.*,
using pex.
@rasnyderiii
Do you have the ChestShop plugin? I can't try to fix this error for the next hour or so, but I'll edit this post with a dl link once I have one.
Edit: Try this version, let me know if you still get the error: http://dl.dropbox.com/u/10933866/Minecraft/AllowLockPicking.jar
@nighteyes604
Thank you!
large error when attempt to use http://pastebin.com/XVhkHfJS
cb 1.2.5 2149 - latest ALP
lockette / towny
@rasnyderiii
I uploaded a sample .csv for you here.
I think you can use google spreadsheets to make one if you're having difficulty. If you can't get it let me know and I'll look into adding back the .yml format.
anyone able to pastebin a sample lockpick.csv? Everytime I edit it - it doesnt save correct formatting with my scalc program I use.
@rellac
You can click the donate button in my signature, and thank you in advance :)
@nighteyes604
Thanks a lot for considering my feature :)
Do you have a donation box? I'd gladly hand over some excess donations if I have some.
@SydMontague
Currently it won't, it will only use whichever you define first in the config, but I'm looking into changing it.
@nighteyes604
Will the plugin work if I define 2 lockpicks which use the same item? I would use it set different chances to different container.
@number1Master
At the moment it doesn't support decimals, but after this weekend I'll begin rewriting it so that it does - thank you for your suggestions!
Two things. For the chance, does it support decimals??? Also, when a player is in a Towny town, a Faction faction, or just a WorldGuard area, they shouldn't be able to pick locks. Can you add a feature in the config.yml to disable or enable lock picking in "protected" areas. THANKS!!!