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
@IndigoParadox
Lockette did update for this purpose, think they prevent placing hoppers near protected chests based on chest owners and permissions, probably integrated in some protection-checking routines, have not had a look at that lately.
FriendlyHopper integrates several other plugins to ensure you can use hoppers with your own stuff but not with other players blocks.
Minecart hoppers are completely prevented. Not sure if i will add options to allow them or to only allow if within protected regions with same owners as chests etc. - could attempt some metadata approach to allow at least placing carts and then have them affect your chests, and maybe allow to gain that metadata by going over ground of certain players, or redstone activation on ground of players, not sure about these ones.
I am really happy to find and to try this. I'll let you know of any bugs or anything. I have never coded java before and I was attempting to edit Lockette source and man I just can't. I have no idea what's going on. I was getting the idea of it but i will study your source and perhaps it will teach me what I need to do. Thanks for releasing this. Someone needed to fix this.
@kalvin807
FriendlyHopper 0.1.0 will contain LWC support, hope it works :).
can u support LWC too?
@deaddude22
It is possible to prevent players from crafting it. I mostly use ModifyWorld for such task, it allows you to have permissions based crafting and also works fine for hoppers.
@asofold
I have minecraft hoppers blocked because there is a major glitch with them in 1.5
But is it possible for you to make it so players aren't able to craft hoppers.
Thanks a bunch for this :)
Will sure save a lot of problems, going to be updating my server to 1.5 today xD
@deaddude22
I have not changed anything since. Do you want to make minecart hoppers possible ?
The problem with those is that they don't have an owner, like pistons also don't have one. So one can not really determine if the cart has been placed by someone with access.
@asofold
You can only prevent placement/use and etc. but not crafting the item. Because i wanna add hoppers in but only allow users to get a hopper by purchasing it in the market and not being able to craft it.
@laacis2
It's a very young plugin :9 - most people probably use plain blacklisting to prevent all hoppers. And a good percentage might forget about the minecart-hoppers anyway ...
This plugin seem to be quite essential.. Why everyone look at it like it's not really neccessery? Have i missed something?
@deaddude22
Block all hopper crafting / placing?
If you have WorldGuard, ModifyWorld, Essentials or another plugin with the capability, can't you use their blacklist/permissions features to prevent crafting/use/placing-in-general?
Otherwise it is possible to add it in general...
Could you add a option to block players from crafting hoppers?
Besides that the plugin is a great idea for a 1.5 server ^_^