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.
99.38.96.41, I've temporarily told all 300+ players to get off the next 12 hours for sever fixing (issues with other plugins as well) so youll have free reign. Thanks so much for your help.
@Maklegend1
Do all of the other messages appear normally? Try adding text in the protected message part of the config, something like "You shouldn't see this".
If you don't mind - send me a message with the server ip. I'll log on and try to see what's wrong. If we can't figure it out I'll give you a debug version of the plugin and we'll try that.
Edit: Glad it works now :) .
I have factions installed as well, and i went into the config.json file of the Factions and set it so chests are NOT protected by factions, so it should work. Help, very confused.
Here we go, my entire config- settings: numberoftypes: 1 allow-non-op: true teleport: teleportonfail: false teleportlocation: 0,0,0 command: runonfail: false runasconsole: false commandtorun: say You failed to pick the lock. messages: failure: ' The Pick Broke...' success: Item Successfully Opened! cooldown: Too Tired factions: friendly: ' Dont Steal from Freinds!' protected: ' ' factions: allow-friendly-picking: false protect-factions: false worlds: - MilleniaCraft lockpick1: properties: datavalue: 265 datavalue-damagevalue: 0 successchance: 15 loseonsuccess: false loseonfail: true damageonfail: 0 cooldown: 2 pickable: door: true chest: true furnace: true trapdoor: true fencegate: true
Btw i love the plugin so much, so i will do everything i can to help you. Thank you for the fast response as well. My next post will contain everything that is configured
@Maklegend1
What is your config like? There are some messages in there and they default to blank. It sounds like it could be a cooldown message (even though I thought I had removed them if they were blank).
Well on occasion my players will encounter an issue where an "invisible message' will pop up and they cannot pick the chest or whatever it is they are trying to pick. i cannot get into the chest either using the ironingot even when im opped, i too get the invisible message. Also, i have the newest download and the ironingot is the specified picking device. Its very strange, whats the issue?
@nighteyes604
fantastic work, however, still have never been able to get a pick to work. butwill try right now and report back
@dunem666
Added in the newest version, 1.4. Let me know if there's anything else :) .
@nighteyes604
a teleport would be great, or even the option to make them run a command for example.
ifpickfails: /report playername i just picked a lock
this will allow server to use any jail/officer system with your plugin especially using report as officers will be able to tp direct to the scene of crime, just by allowing something like the sudo command on fail.
if you get me... lol
@rellac
Glad you got it working :) What was the problem? Is there something I can make more clear?
EDIT: all dandy :)
@nighteyes604
thankyou!
@datwerd86
I'll work on plugin specific enabling / disabling now.
Is it possible to have worldguard and residence chest protection unable to lock-pick and have only lwc chests pick-able similar to your first version(s)?
@MCBuncey
In the config there is a "protect-factions" option, set that to true and reload the function. If it's not working let me know and I'll fix it tonight.
Can you add a feature to completely disable pick locking on faction lands Because if your not a member of that faction land you can pick lock.
@jisaacs1207
I'll look into it and update it tonight, or I'll update this comment if (for some strange reason) it's not possible.
Any way you could circumvent worldguard? :)
@dunem666
What sorts of penalties would you like? I may be able to tie in the ability to teleport the player, or adding potion effects.
@Anim8r
I'll add iConomy support in the next update (next few days).