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
Your a life saver!
@fifty_seven
Thanks :) - i might upload a "new" version for new year to make it more inviting, probably.
Using this with lockette on my 1.8 server. Works fine for me!
WORK FINE ON 1.72 R3 :D
@FlashLight32
No it is a feature...
It is planned to support carts though.
i tryed your plugin 0.1.2 on my 1.7.5 with worldguard and lockette to prevent minecart-hopper grief and i cant place any minecart-hopper anywhere in a region or outside so maybe its a bug?
@ChengZi368
How do the griefers get the minecarts if they can't craft them?
Add Hopper minecarts plz...instead of prevent crafting them
Some griefers put those under chest. player is complaining about it.
@szebi1999
It's working as expected isn't it? Maybe i can add new features for hopper-minecarts soon-ish.
Hy,pls update 1.7.2 :(
Thanks!
@rayblon
A more simple solution, also working without knowledge of server implementation, would be to prevent transfer between hoppers and protected chests, simply.
Using protected chests with hoppers but without region protection, does not seem to make too much sense, because the tracks of the carts can also be manipulated.
So in any case i would implement the more simple concept as suggested by @CryLegend.
@asofold Perhaps you can add an NBT tag to the minecart entity that has the player's username. Unless the owner of the protected chest places the minecart, it can't interact with his/her chests. However, then you'd need to lock hopper carts so other players can't open them.
@ServidorMineSire
FriendlyHopper prevents crafting and placing of Hopper carts as of now - there may be additions soon to make it usable while maintaining dynamic protection.
Have you block the minecart hopper?
@lekrosa
That should be possible in general.
Hmm, I wonder if you could add multi-world support? (being able to disable it in particular worlds?)
@yunho3
QuickShop is not supported yet.
It could be added though.
quickshop Invalid
@xakiru
FriendlyHopper really only prevents hopper-minecarts from being used/crafted/dispensed, crafting hoppers should be possible, also placing in a neutral area or where you have access.
Probably someone tweaked build permissions and forgot to take that back after installing FriendlyHopper?
I will upload the same code compiled against Bukkit/1.6.2 for the case of something weird, but i don't know of such issues from other places.
@asofold
Our players alerted us of the exploit with hoppers and Lockette. Since they were able to create hoppers prior, no other plugin affected creation until we added your plugin as a fix.