FriendlyHopper
FriendlyHopper is a plug and play simple plugin preventing some griefing scenarios with hoppers and droppers. It hooks into Lockette, LWC, ChestShop and WorldGuard, prevents placing hoppers and droppers next to inventory-holding blocks like chests if the player may not access that block. Further it prevents crafting hopper-minecarts and interacting with blocks with a hopper-minecart in hand. Dispensing hopper-minecarts is also prevented.
No commands, no configuration, no permissions. Since checking for protection is delegated to the other plugins those might allow bypasses for ops or players with bypass permissions.
It has been in use for a while on a couple of servers, i still recommend to test it out on your server with your specific plugins etc.
Source code: https://github.com/asofold/FriendlyHopper
@xakiru
Crafting hopper-minecarts is prevented, but normal hopper-blocks should be fine, could be another plugin preventing such?
Plugin seems to stop players from creating the hopper. Wasn't said in the plugin description that it would do this.
@asofold
Ah, ok, good to know.
@lekrosa
Ops usually have bypass permissions for the plugins that FirendlyHopper uses for checking.
If Lockette allows you access to the chest, FriendlyHopper will allow it too.
Unless I screwed something up, I HAVE tested it in 1.6.2 and the hopperminecart blocking is still in place, but Hopper placement isn't blocked. (unless me being opped has anything to do with it)
@Habbomod
It should still work. But be aware that item transfer is not prevented, this is just about placing the blocks and minecarts, yet.
585 downloads? Server admins are crazy to let grifers steal chests.
Works with 1.6.2?
@CryLegend
Thanks for the answer - this plugin does not prevent the draining (yet) but the placing of hoppers unless placed by the owner of the chest or someone who has access to that chest. So the owners should make sure all their hoppers/chests are protected if on public ground.
Sorry for late awnser, it don't work anymore: The plugin didn't make any errors, but people can drain Lockette chests with Hooper
I am actually considering extending things a little bit:
Anybody else on 1.6.2 ?
@CryLegend
What do you mean? Any errors (pastbin / bukkitdev paste)? What happens, what not?
It doesn't work with 1.6.2
I think i added that in 0.1.0. Does it not work out?
can you hook it into LWC plugin?
The thing is... that Lockette itself doesn't block MinecartHoppers, so people are still able to exploit. That's why I'm using your plugin instead of mine. xP
Although this breaks SOME contraptions that players could make, it's still better without MinecartHoppers so that your chests are safe.
@IndigoParadox
Alright, good to know...
@asofold
no, sir. Maybe there's an error but with that build of lockette people were still able to exploit. I don't know how. I had to use essentials antibuild until I found this.
@IndigoParadox
Ok might be "latest" lockette (yes on BukkitDev but beta: 1.7.12) only prevents the placing of hoppers but not item transfer.
In fact FriendlyHopper does not monitor item transfer either, it just prevents placing the hoppers.
@asofold
If you mean the inactive lockette updates on their page, it doesn't work. You can still siphon items. Where is the latest, if not there?