PickPocket
This plugin allows players to pickpocket and steal from each other.
By right clicking the desired player it will bring up the other players inventory where you can attempt to take an item out with a chance.
The chance depends on how much experience you have.
Currently only minerals, armor, and weapons have a chance.
Added chance for almost all items except armor.
This plugin is in very very early development since I only started back at it a couple of days ago
but I will make sure to keep updates coming fast since I realized that the other pickpocket plugins
are outdated.
Future version v1.5
Strikeout = done
- Levels
- Reputation
Overhaul pickpocket items
Won't be able to steal items with custom names
Github Repository (Always most recent)
https://github.com/TTGTRE/Pickpocket
Command | Permission | Description | |
---|---|---|---|
/pickpocket profiles | pickpocket.use | View a list of loaded pickpocket profiles. | |
/pickpocket items | pickpocket.use | Open a GUI containing pickpocket items collected. | |
/pickpocket steals | pickpocket.use | View how many steals you have. | |
/pickpocket giverandom | pickpocket.developer | Give yourself a random pickpocket item. | |
/pickpocket exempt <true/false> <optional name> | pickpocket.exempt | Exempt a user from being stolen from. | |
/pickpocket bypass <true/false> <optional name> | pickpocket.bypass.cooldown | Allows user to bypass cooldown between steals. | |
/pickpocket admin <true/false> | pickpocket.admin | Displays pickpocket information to admins. |
@TTG_TRE
Alright so i'll wait :) Thank you
@Thithi2121
I'm releasing a pre-release of v1.1 which should hopefully fix a lot of issues.
@TTG_TRE
Hello thanks for the reply ! So i installed v0.9.9 on my server as you said, the right-click is working but i got this error (spamming my log) :
[Server thread/ERROR]: Could not pass event InventoryClickEvent to PickPocket vv0.9.9org.bukkit.event.EventExceptionat org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1564) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:31) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at net.minecraft.server.v1_8_R3.PacketPlayInWindowClick.a(SourceFile:9) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60]at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60]at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:673) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:335) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:629) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:537) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]Caused by: java.lang.NoSuchMethodError: org.bukkit.event.inventory.InventoryClickEvent.getClickedInventory()Lorg/bukkit/inventory/Inventory;at logan.pickpocket.events.InventoryClick.onInventoryClick(InventoryClick.java:30) [?:?]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_60]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_60]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_60]at java.lang.reflect.Method.invoke(Method.java:497) [?:1.8.0_60]at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]... 15 more
And you said in you description that there is a "chance" to succeed or not from stealing but i tried with a non-op player and he achieved to steal everything without failed once !
Any idea ?
Thanks :)
@Thithi2121
For now, use the older version 0.9.9. I'm going to release 1.0 again once I get everything fixed and working properly, sorry about the inconvenience.
Hello !
I'm running my server on bukkit 1.8.8 and when i right click on a player i got this error in my console:
[Server thread/ERROR]: Could not pass event PlayerInteractEntityEvent to PickPocket vv1.0org.bukkit.event.EventExceptionat org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:501) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:486) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at net.minecraft.server.v1_8_R3.PlayerConnection.a(PlayerConnection.java:1249) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at net.minecraft.server.v1_8_R3.PacketPlayInUseEntity.a(SourceFile:52) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at net.minecraft.server.v1_8_R3.PacketPlayInUseEntity.a(SourceFile:11) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at net.minecraft.server.v1_8_R3.PlayerConnectionUtils$1.run(SourceFile:13) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_60]at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:1.8.0_60]at net.minecraft.server.v1_8_R3.SystemUtils.a(SourceFile:44) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at net.minecraft.server.v1_8_R3.MinecraftServer.B(MinecraftServer.java:673) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at net.minecraft.server.v1_8_R3.DedicatedServer.B(DedicatedServer.java:335) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at net.minecraft.server.v1_8_R3.MinecraftServer.A(MinecraftServer.java:629) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at net.minecraft.server.v1_8_R3.MinecraftServer.run(MinecraftServer.java:537) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]Caused by: java.lang.NullPointerExceptionat logan.pickpocket.events.PlayerInteract.onPlayerInteract(PlayerInteract.java:29) [?:?]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [?:1.8.0_60]at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [?:1.8.0_60]at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [?:1.8.0_60]at java.lang.reflect.Method.invoke(Method.java:497) [?:1.8.0_60]at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:300) [craftbukkit-1.8.8-R0.1.jar:git-Bukkit-d3e0b6f]... 15 more
Any idea or solution to give me ? Thanks :)
@TCTbennious
I really like the idea of the stolen item going back to the original owner. I might do that once I have the logo system finished. Thank you for the suggestion :)
Also with only allowing thieving in certain areas will take some time. But I think world guard has a flag for player-interaction? I could be wrong.
Dude. i love the idea of reputation. what would happen to the pickpocketer if a bounty hunter killed him. would they get money and the item goes back to the original owner. or maybe if the pickpocketer dies, the stolen item goes back to them.:) P.s. could u make a command so we could only put it im pvp areas?Thx
Re-uploaded v1.0 since there was an issue that prevented the plugin from loading o_o
@zainmz
I'll put that on my todo list.
I have a suggestion, what about a log system where a player can check who stole what from them?
@0ct0ber
This has already been added in the github release of Pickpocket which is two versions ahead of this one. Thank you for your suggestion though!