LockPick
IMPORTANT NOTICE: Leveling is still a work in progress, but it is stable!
Silently, the thief runs across the yard, heading for a large chest, but when he arrives, he has a nasty little surprise waiting; IT IS LOCKED! The thief, prepared for this, takes out 1 gold ingot, and attempts to pick the lock, nearly dead from failing, taking damage after each fail, he finally opens the chest only to find out, that the owner of chest heard him lurking around, they duel, but with the thieve's health low, he doesn't stand a chance. LockPick, a wonderful plugin made by LegoPal92 and calebbfmv, adds a more, realistic touch to the RPG aspect of minecraft, allowing users with the right permission to open a locked chest, with some skill!
Protection's we support!
- All of them
Description
What LockPick allows user the ability to open chests/doors of other players, adding a more realistic theme to the RPG playing style of minecraft. It is lightweight, simple to use, and we also threw some permissions in there, that way you don't have TOTAL chaos!
Installation
1. Download the most recent version from the download link
2. Put the downloaded .jar file into your plugins folder
3. /reload or /stop your server and start it up again!
4. Enjoy!
Usage
All someone has to do is right click the item that is pickable, with a pick in their hand, an then vala, his percentage and other variable go into account and we determine if the lock is picked, or he dies!
Commands
There are some commands now!
1. /Xp LockPick 2. /Xp Enchanting
Permissions
- Lockette.Pick - LockPick.PickPocket
To do/Planned Features
1. Add a message to the player who is being picked - Done
2. Add Tekkit Items. (I want to, don't know about lego.) [Lego doesnt want to, because he knows nothing about Tekkit!] - Done
3. Failing to open makes to lose pick. - Done
4. Add leveling. -Done
5. Add ability for players with the right perm, not to be picked (Ideal for admins and Donators)
6. Add ability for command to be run on fail.
7. Add tiers of picks.
Suggestions, bugs, thank you's?
Post in the comments below, or if its a bug, make a ticket as well, please!
Idea (officially) from
Thanks for an awesome idea!
@Not_saying
Expect a new Release around 8 P.M central time on Sunday 8/26/2012 This will be an Alpha Release, but should fix old bugs and add more flexibility with configurations.
@LegoPal92
ok, lol /me
@Not_saying
new version to hopefully (/me crosses fingers) that fixed that error. if not, CREATE A TICKET, please
ok i got an error for you! if i hold any item thats not the lockpicking item and left click anywhere i get this error: 2012-08-25 20:37:30 [SEVERE] Could not pass event PlayerInteractEvent to LockPick org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:147) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:920) at net.minecraft.server.Packet18ArmAnimation.handle(SourceFile:41) at net.minecraft.server.NetworkManager.b(NetworkManager.java:276) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at com.bethkefamily.LockPick.LockPick.lockpick(LockPick.java:121) at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) ... 16 more
and if i hold any item thats not the lockpick and right click anywhere i get this error:
2012-08-25 20:37:29 [SEVERE] Could not pass event PlayerInteractEvent to LockPick org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177) at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:147) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:619) at net.minecraft.server.Packet15Place.handle(SourceFile:58) at net.minecraft.server.NetworkManager.b(NetworkManager.java:276) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.NullPointerException at com.bethkefamily.LockPick.LockPick.lockpick(LockPick.java:121) at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) ... 16 more
hope you fix this!
@calebbfmv Great! i cannot wait!!!
@Not_saying
I have added the lose of the pick, and fixed the "No perm error" <Total derp> Working on adding some leveling to it. Plus, I am making the items to be picked configurable, just so you guys can choose what you want! I am thinking about making an API for this, if you guys could find a use for it. Lemme know with the Poll!
@LegoPal92
okay then! keep up the good work!
@Not_saying
1: a bug i need to look into 2: another bug to look into 3: intended as of now 4: it gives you 1 xp orb, i might make that configurable 5: that would spam your chat window 6: intended as of now 7: intended as of now 8: not going to implement this because i want users to have some sort of protection for not getting picked. If you feel this needs to be changed, let me know
non-existent number nine, eventually i will make it so that most of theses things are configurable.
well the op thing was in the first release so it could have been fixed but i have found many more issues! 1: people with out the permission can still lockpick 2: it will attempted to lock pick non locked items 3: does not lockpick trap doors(if you like i can get LWC and test that) 4: it will tell me i successfully lockpicked and i get valuable xp??(is this enchanting xp? because i get non) 5: it does not say when i failed to lockpick (not much of a problem.) 6: it does not lockpick brewing stands 7: it does not lockpick fence gates 8: it does not lock pick iron doors so yeah this is what i found out using lockette
@Not_saying
wierd, i have never experienced this problem, if you could send me your server log errors and create a ticket about that, that would be awesome, ill take a look at that.
@LegoPal92
i thought something else up but its not really important, being able to configure how much damage is dealt when you fail to pick a lock! and i also remembered that when i was an op i lock picked i opened the chest every time but it still hurt me.
@Not_saying
I wondered, so i asked. thanks for the confirmation, keep coming with the good ideas, though!
@LegoPal92
i see you point there! there is no need for a cooldown.
will you elaborate on why we need a cooldown? i feel that if the person wants to pick themselves to death, they should be allowed to, so if you can please share your idea of why we need a cooldown, that would be appreciated.
i got another suggestion! add a cooldown for lockpicking!!! the cooldown time should be configurable!
@archysix
We had actually talked about this. THese are all plans, as I am learning leveling so most likely in the next major release, minor ones (v0.3a) are just big fixes and minor stuff
@archysix
i am not that skilled with java, but i can give some of these a try, i know that i can do number 4, but im not sure about the rest, i will try though.
Suggestion :
@LegoPal92
I see! I'm away from my computer for the week so I can't really get it yet, I might be on sometime soon.
@Not_saying
v0.3a has been approved!