EnderHoppers For GriefPrevention

Version 1.3

Updated for Spigot 1.8.1 API and GriefPrevention 10.7.1. I'm as surprised as anybody, given my long hiatus.

This Plugin works with GriefPrevention and allows Hopper functionality to work with EnderChests by dealing with the EnderChest inventory of the claim owner.

Configuration can be done by editing the file /EnderHoppers/config.yml in your plugin directory, and currently allows for the adjustment of how often items are taken from or given to appropriate EnderChest Inventories. The default is currently once every three seconds (60, as the configuration is in game ticks) which makes them slower than when Hoppers are used with a chest as well as reducing performance implications. Configuration also presents the ability to define a whitelist through an EnderHoppers.WhiteList configuration option within the aforementioned configuration. If this whitelist has entries, this Plugin will only transfer items to and from EnderChests for Players who's name are in the whitelist.

Better Ender Chest
Version 1.2 has added support for the Inventories managed by Better Ender Chest. Since I don't know a lot about Better Ender Chest's various expanded capabilities, I may have missed some functional requirements. It has however worked in my testing. This should not affect the functionality of GP Ender Hoppers without Better Ender Chest installed, in which case it will of course default to the standard Player Ender Chest.


When installed, this will allow Hoppers to Work With EnderChests within a Claim. That is:

  • When a Hopper is underneath an Ender Chest, it will extract contents from the EnderChest Inventory of the Claim owner, as long as they are Online.
  • When a Hopper is attached to an Ender Chest, it will pipe it's contents into the EnderChest Inventory of the Claim owner, as long as they are Online.

Items are removed and added at the Interval specified in the configuration file, which defaults to 60 (or three seconds). Each time One item is taken from the Hopper and placed into the Ender Chest or vice versa. Nothing happens if the Destination is already full, the source is empty, or if the Player that owns the Claim is not online. thus making this function almost identically to the Vanilla Hoppers and Chests, aside from the Online requirement for the Claim owner.

Another side effect is that if you create very complex structures, sometimes items can end up in unexpected locations. This is particularly the case if you have more than one Ender Chest Inventory being "sucked" from. In this case the actual order is more or less undefined. However, what this will usually mean is that the first Hopper that was loaded will take precedence. Since you cannot predict the order they will be loaded, however, it is best not to try to rely on this behaviour.

Another caveat to consider is that this means that anybody with build permissions in a claim can essentially take or put items into the claim owners EnderChest Inventory. There isn't much of a way around this, since the functionality is essentially just added to Hoppers themselves and associates with the EnderChest inventory of whoever owns the Claim.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of erickxaviers erickxaviers Sep 23, 2015 at 23:19 UTC - 0 likes

    Does this works with unclaimed Ender Chests?

  • Avatar of BC_Programming BC_Programming Feb 20, 2015 at 22:44 UTC - 0 likes

    I've updated the plugin to Spigot 1.8.1 and tested it with GriefPrevention 10.7.1, pending approval.

    I apologize for the long delay.

  • Avatar of verservarlin verservarlin Dec 26, 2014 at 17:37 UTC - 0 likes

    a plugin i so wish wold be updated

  • Avatar of verservarlin verservarlin Apr 17, 2014 at 21:04 UTC - 0 likes

    So sad still no update...

  • Avatar of verservarlin verservarlin Jan 15, 2014 at 20:37 UTC - 1 like

    please update to 1.7.2

  • Avatar of Mercury92 Mercury92 Sep 21, 2013 at 09:16 UTC - 0 likes


    GP EnderHoppers 1.3 for GP 7.7/7.8 and Bukkit 1.6.2 file is named as GriefPrevention.jar.

    + error log http://pastebin.com/yiMhGpQ6

    Last edited Sep 21, 2013 by Mercury92
  • Avatar of woodzykiler woodzykiler Aug 30, 2013 at 15:34 UTC - 0 likes

    can u add a way to allow use of this outside of a claim?

  • Avatar of rutgerkok rutgerkok May 28, 2013 at 16:59 UTC - 0 likes

    @BC_Programming: Go

    Nice work! I have added a notice on the BetterEnderChest page that your plugin is compatible.

  • Avatar of slimedog007 slimedog007 May 25, 2013 at 20:15 UTC - 0 likes

    @BC_Programming: Go

    You da man! Nice work. I'm excited to download the update :)

    Follow us on Twitter! @keepablock
    Keep a Block - Minecraft Server dedicated to the Keep a Breast foundation to support breast cancer!

  • Avatar of BC_Programming BC_Programming May 25, 2013 at 20:03 UTC - 1 like

    Version 1.2 adds support for Better Ender Chest inventories, and should be approved shortly. :)


Date created
May 10, 2013
Last update
Feb 20, 2015
Development stage
GNU General Public License version 3 (GPLv3)
Curse link
EnderHoppers For GriefPrevention
Recent files