BetterEnderChest 2.5.1

Making Ender Chests multiplayer-friendly

  1. rutgerkok
    Native Minecraft Version:
    1.13
    Tested Minecraft Versions:
    • 1.13
    Source Code:
    https://github.com/rutgerkok/BetterEnderChest
    Contributors:
    Contributions by theJ3H and mcgrizzz
    Report a bug | Read the wiki | Changelog and old versions


    [​IMG]

    The vanilla Ender Chests are not very friendly for multiplayer servers. They are strictly personal, other players cannot access them. This is a problem on raiding servers, but also on collaborative build servers where players want to share access to their Ender Chest. Vanilla Ender Chests are also unique to a player on a server, there's no way to separate worlds on the same server, or to connect worlds on different servers. Finally, the vanilla Ender Chests are not easily moderated; moderators cannot simply open an Ender Chest, nor is there a command to add an item to an Ender Chest.

    BetterEnderChest solves all of these problems, and adds a few features to the Ender Chests too. You can customize the chest sizes, you can set default contents of the chest and you can enable a command to remotely open (or just view!) an Ender Chest.

    BetterEnderChest existed previously on BukkitDev. No more updates will be posted on BukkitDev, all future updates for Spigot will be posted here.

    Some features required saving the Ender Chests in a separate file. The plugin automatically imports from vanilla, MultiInv, Multiverse-Inventories, MyWorlds and WorldInventories, no action needed on your part.

    Features
    Multiserver support
    BetterEnderChest works great on a single server, without any (database) setup required. However, if you set up multiple servers to save to the same MySQL database, the Ender Chests will automatically have the same contents across servers. This is a great way for players to transfer items between servers inside your server network.

    Lockette, LWC and BlockLocker integration
    Uses Lockette signs, BlockLocker signs or LWC protections so that you can allow other people/groups in your chest. When a chest is protected by you, and if someone else is allowed in your chest, he/she will see your items instead of his/her own items. This is completely optional. To enable this, simply add the Ender Chest to the custom block list of LWC/Lockette/BlockLocker. (See the installation instructions.)

    Public Ender Chest
    Optional: unprotected (by Lockette and LWC) chests are public chests. If you don't add the Ender Chest to the custom block list of those plugins, or if you haven't installed them, there will be no way of making private chests.

    Commands
    Adds /enderchest to open your Ender Chest from anywhere, but only for ops by default. It also adds a few useful administrative commands to open and manage the Ender Chest inventories. Commands work even when the owner of the inventory is offline.

    Chest customization
    You can set the number of slots in the chest to make the Ender Chest not too overpowered. You can decide exactly which items are allowed in chests, based on item id, name and/or lore. Players can have different chest sizes based on permissions. No client mods needed. You can also set the drops of the chest (nothing, itself, 8 obsidian, an Eye of Ender (with or without 8 obsidian), or with an Ender Pearl (with or without 8 obsidian) ).

    Multiworld support
    Inventories can be separated between worlds on a single server, so that for example you creative worlds can have different Ender Chest inventories than your survival worlds, or your Nether world can have other Ender Chest inventories than the surface world. On installation, BetterEnderChest will automatically copy the group structure from your current inventory seperation plugin, if you have one. It is possible to setup another structure in BetterEnderChest than in the inventory seperation plugin. This can be used to create very interesting ways of transporting items between worlds and even servers.

    Default Ender Chest
    You can create a default chest that all new players get when opening their Ender Chest for the first time. Edit it with /bec openinv --defaultchest or a NBT editor. Changes will be applied after the next (auto)save, which is almost immediately on the default settings. Each worldgroup has a different default chest.

    Translations
    Most messages can be translated. You can find translation files for Dutch and Russian on this wiki page. If you have made your own translation, please add it there!

    Save file format
    The plugin has it's own saving/loading mechanics, either using NBT files or MySQL. This is necessary to make some of the features possible. The plugin automatically imports an Ender Chest when it is opened for the first time. The owner of the Ender Chest doesn't need to be online for this. The importer supports vanilla as well as some other plugins (MultiInv, Multiverse-Inventories and WorldInventories).
    It doesn't save too often: every five minutes all changed chests are added to a save queue. You can set how fast chest in the save queue get saved.
    whitespace hack

    Installation and configuration
    Just drop the plugin in the plugins folder. Most features will be disabled by default. Read the guide for starters here or read here about every configuration option. Download translation files here.

    Permissions
    You can view a complete list of the permissions here. The basic permissions are:
    • betterenderchest.user - build, craft, open and destroy Ender Chest. Given to everyone by default.
    • betterenderchest.command - use all commands. Operators automatically get this permission.
    • betterenderchest.command.openinv.self - just the permission to open your own Ender Chest (or the public one, as defined in the config.yml) from anywhere using /enderchest or /betterenderchest openinv.
    • betterenderchest.slots.upgrade1 - get the number of slots in the Ender Chest as defined in the config.yml.
    • betterenderchest.slots.upgrade2 - get the number of slots in the Ender Chest as defined in the config.yml.

    Commands
    <required argument> [optional argument]
    • /enderchest [player] - opens or views an Ender Chest. Alias for either /betterenderchest openinv or /betterenderchest viewinv, depending on which permission nodes were granted.
    • /betterenderchest deleteinv <player> - delete all items in someone's Ender Chest.
    • /betterenderchest give <player> <item> [amount] [damage value] - give an item to an Ender Chest inventory.
    • /betterenderchest list - list all cached Ender Chest inventories. Useful for debugging.
    • /betterenderchest openinv [player] - open an Ender Chest remotely.
    • /betterenderchest viewinv [player] - view anyone's Ender Chest from anywhere. Editing is disabled.
    • /betterenderchest reload - reload the configuration.
    • /betterenderchest swapinv <player1> <player2> - swap two Ender Chests.

    Tips:
    • Instead of typing /betterenderchest you could also type /bec.
    • As seen in the permissions section above, it is possible to allow /enderchest but disallow /enderchest [player].
    • /enderchest and /betterenderchest openinv (both without the playername) normally open your own Ender Chest, but there is a setting in the config.yml to open the public Ender Chest instead.
    • Use --publicchest as a player name to refer to the public Ender Chest, and use --defaultchest for the default chest.
    • Use the syntax groupname/playername to open chests from another group. Example: /bec openinv cavegroup/Notch
    Nightshade73, Frozon, Patryk and 3 others like this.

Recent Reviews

  1. Nightshade73
    Nightshade73
    5/5,
    Version: 2.4.8
    Yet to find any bugs. I do wish there was a White-list option as well rather than only a black list for "illegal" items but... It does it's job and it does it well.
    Very reliable.
  2. StupidDrew9
    StupidDrew9
    5/5,
    Version: 2.4.8
    Definitely the most reliable enderchest plugin out there, never ran into any problems after 4 years of use (besides being stuck open)
  3. Nightshade73
    Nightshade73
    5/5,
    Version: 2.4.7
    I love this plugin.
    Have good plans to use it, and so far it works perfectly.
    If it had a bit more features and fixs.. Id even buy it.
    :D
  4. ElmitoMC
    ElmitoMC
    4/5,
    Version: 2.4.7
    Hi, I want to report an error that I have every time my users ever attempt to use the / enderchest command or any other plugin command and the error is as follows
    Ender Chest has been disabled, because chest can not be saved or loaded. Ask the admin of this server to look in the console.
    That is the error that appears can you give me the solution?
  5. CopyPaste
    CopyPaste
    5/5,
    Version: 2.4.4
    Hello. I would like to ask you for advide. I have two worlds: world_A and world_B. Each of these world have a different enderchest. So when I got to a third world(spawn) it could be possible to switch between world_A and world_B's enderchest.
    Thanks
  6. Roadhog360
    Roadhog360
    2/5,
    Version: 2.4.4
    26.07 14:53:30 [Server] ERROR [BetterEnderChest] - ---------------------------------------------------------- - 26.07 14:53:30 [Server] ERROR [BetterEnderChest] Saving and loading had to be disabled. Here's the error again: 26.07 14:53:30 [Server] ERROR [BetterEnderChest] (Use "/bec reload" to try again to save and load.) 26.07 14:53:30 [Server] ERROR [BetterEnderChest] Failed to access the net.minecraft.server classes. The usual cause of this is that the plugin is outdated, so please look for an update. Another possibility is that your Spigot build is outdated. 26.07 14:53:30 [Server] INFO java.lang.Throwable
    Spews in console and error appears in chat when I try to use an ender chest. 1.8 with compatible version.
  7. Draver10
    Draver10
    4/5,
    Version: 2.4.4
    Loving this plugin, but when I try to set extra upgrade perms they don't seem to take effect. f.e. slotsUpgrade3: 54 only gives the perm from slotsUpgrade2: 45
  8. AcidicChip
    AcidicChip
    5/5,
    Version: 2.4.2
    This is an awesome plugin. It's much better than the other ones I've used. I'm looking forward to 1.9.4 support!
  9. Jacohun1
    Jacohun1
    2/5,
    Version: 2.4.2
    Great plugin, however, when you limit it to less than 27 slots, you deal with items disappearing. I find this very detrimental.
  10. Frozon
    Frozon
    5/5,
    Version: 2.3.1
    Absolutely outstanding plugin! The best Enderchest plugin I have ever seen. The developer is extremely friendly, supportive and active. I'm surprised this plugin isn't premium with the quality it has. I love how the author is open to all suggestions. 10/10 :D