Sneak Thief
Downloads | Source | Bug Reporting & Feature Request
Don't have any tools in your inventory? Too lazy to find resources? Install this plugin and your players will be able to steal from other people's inventory! When they sneak and right-click a player, an inventory window will open and they can drag stuff from and to their inventory!
Quick installation
- Put sneakthief.jar in the plugins directory (e.g. C:\craftbukkit\plugins\)
- Restart the server.
- (edit the configuration)
- Done! Now steal some!
Permission nodes (1.1 and up)
Permission node | Default | |
---|---|---|
Every single node | sneakthief.* | op |
/sneakthief command | sneakthief.admin | op |
Every single pickpocket node | sneakthief.pickpocket.* | op |
Can steal from other's inventory | sneakthief.pickpocket.cansteal | true |
Cannot be stolen from | sneakthief.pickpocket.no-steal | op |
Protection flags (1.1 and up)
- Residence: 'allow-steal'. ["true", "false"] (bugged in ST 1.1, use ST 1.1_01)
- WorldGuard: 'allow-steal'. ["allow", "deny"]
- "true"/"allow" if it's allowed to rob people. Otherwise "false"/"deny".
Configuration
(^ link to page)
@Master_Zengetsu
I just tried that and it still didn't work.
@Mr_Drake
use command /region flag <regionname> sneakthief deny
that's just a guess but it seems quite self explanatory if you read what it says above
I'm trying to set it so that you will be unable to access Sneak Thief in one specific region, but you can use it everywhere else. We use WorldGuard so if you could tell me what I need to set in that region to disable it, that would be greatly helpful.
@alpaclarry
I will add maximum stacks a player can steal in next release. I know it's not really 'random', but the player can only steal 1 stack for example.
@MERCHANToDEATH
There is a plugin called "Pickpocket" already and I didn't want to create confusion with the space between "pick" and "pocket". So I just choose for Sneak Thief. I will probably implement lockpicking and other RPG things too.
Nice plugin. My only question is why didn't you call it Pick Pocket, would seem like the perfect name.
Hey you should make it so it goes through the inventory and picks one random item, I think that would be cool
@Sabinno
It doesn't depend on any plugin. And 1.0 fixes that error on load.
Could you possibly create an edition that doesn't rely on any other plugins? Your plugin apparently depends on WorldGuard, and I really, REALLY don't like WG. Not very user-friendly, ya' know? Besides the point; Your plugin fails to load at all due to this dependency. Once again, can we have the dependency removed? Thanks in advance!
could you add a command line that gets activated when someone fails?
that way peope could use commands like
/tp %name% jail
or link it in with a permissions plugin to demote players when they are caught.
also, i think the ability to change the fail percentage chance per player would be great, people could then buy the ability to get better at it
@Darkman2412
no problem
@insers
I'm going to fix that in the next release. (and sorry for the late answer)
Thank you very much! it works
@Razza23456
Try this one: http://dl.dropbox.com/u/33874811/sneakthief/custom_SneakThief.jar Overwrite the original in your plugins dir with this one. It has default: false to the cansteal node.
Well it does but in the plugin.yml when you unzip the jar it has sneakthief.pickpocket.cansteal: default: true But the thing is i don't want the Default groups in my permissions to be able to steal but i cant change it! Thanks
@Razza23456
It should work with the normal permission nodes.
@Darkman2412
But I've switch to PEX
@Razza23456
Sorry, but I won't add support for a non-SuperPerms system.
Ok i think i know the problem in the plugin yml it says sneakthief.pickpocket.cansteal: default: true is there any way you can set this to false because every time i do it does change the plugin at all Thanks
plugin works but i got error on start
2012-04-05 12:08:35 [SEVERE] Could not pass event PluginEnableEvent to Sneak Thief org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:303) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:459) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:343) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:250) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:232) at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:371) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:358) at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:187) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:422) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.lang.NoClassDefFoundError: com/bekvon/bukkit/residence/Residence at me.darkman2412.sneakthief.listeners.STListener.onPluginEnable(STListener.java:39) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.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:301) ... 11 more Caused by: java.lang.ClassNotFoundException: com.bekvon.bukkit.residence.Residence at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(Unknown Source) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:41) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) ... 17 more
@Razza23456
The permission nodes only work for SuperPerms based Permission systems (e.g. bPermissions, PEX, PermissionsBukkit, ...)
@Pandamatak
I just tested it against 1.2.5 and it doesn't throw any errors. Can you post the error you got?