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)
Im just using essentails group manger
I tried it on 1.2.5-R1 and it isn't working...
Fails to load at the beginning
@Razza23456
What permission system do you use?
@Darkman2412
Yeah preety much i did the groups yml right but what are super perms?
@Razza23456
Are you sure you did it right? :P We're talking about SuperPerms (Bukkit's builtin permission system).
The permissions for me still don't work when i add the node to my selected group it doesn't do anything and what happens all the other groups can use sneak thief instead of just one Please answer Thanks!
@LordKainzo
I'm currently adding cooldown, max tries per cooldown and max stacks a player can take.
@Darkman2412
Yeah, when I said power, I meant overpowered. Without checks and cooldowns, this stealing ability really runs a muck, when i'd rather have balances to make thieves smart... have risk etc.
As for the onMove checks... there probably isn't a better way to handle it, async tasks can create a lot of problems and running through all the names probably isnt any more efficient.
the onMove checks from 1 year ago to now are a bit different as well, I may just be making a big deal out of nothing but the note is, it can reduce performance of a server greatly if misused.
@LordKainzo
What do you mean by its power?
Anyways, like you said, I hook into the onPlayerMove(). But I don't run the check code if the block locations of getFrom() and getTo() are the same. Also, I don't use location.distance() because the sqrt function uses much resources. What would you do to check if the player is too far away? Running an asynchron task and loop through all the players being robbed?
Edit: I just found out that SneakThief 0.2 still uses the location.distance() method :/
@Darkman2412
First off, love the plugin. Is there any ways to manage this power?
Also to check if the player is too far away or has moved what events are you hooking into? onMovement is quite laggy for servers above 50-80 players and will be the cause of a lot of slow downs.
Would love to see a cooldown on how many items the player can steal or how many times they can retry stealing after a failure.
@Pandamatak
Sneak Thief 0.2 has success rate.
I would like to see an option that allows you to configure the success rate and if it fails, then a message would be sent to the target saying "<player> tried to pickpocket you but failed!"
Sorry, the last file had some Maven issues. I'm waiting for the new file to get approved.
@Razza23456
I uploaded a new version, but it needs approval. :)
Hey Please may you add permissions nodes to this plugin ASAP Thanks
@devakail
Sorry for the late reply, but I'm working on a new version which has steal success and other nifty features :P
how about add some steal success or random steal?
btw nice plugin, i stole many stuff from others players.
@macronin
I'm currently working on a new version, which has permissions , Residence and (probably) WorldGuard support! You will be able to set the maximum distance a player will be able to steal, too.
Sorry for the late message btw.
@Axel_97
It's fixed now :)
When i try to download it just refreshes the page.. It doesnt download anything.. =( Sad cause it seemed to be a good plugin.