BetterEnderChest
Secure and configurable Ender Chests! Disable the Ender Chest for certain players, while giving others more rows. Let your players protect their Ender Chest with Lockette and LWC, and let them share their chest. Give some players access to the /enderchest command to open their chest from anywhere. Give your mods the ability ot open anyone's Ender Chest. Ender Chests can be separated between world groups.
BetterEnderChest 2.2
Quote:Spigot 1.8
All updates for Spigot 1.8 won't be posted here, but on the Spigot forums instead: http://www.spigotmc.org/resources/betterenderchest.2073/
See you there!
This plugin makes Ender Chests secure and configurable. Disable the Ender Chest for certain players, while giving others more rows. Let your players protect their Ender Chest with Lockette and LWC, and let them share their chest to their friends in the same way they are already doing that with normal chests. Give some players access to the /enderchest
command to open their chest from anywhere. Give your mods the ability ot open anyone's Ender Chest. Ender Chests can be separated between world groups, so that the plugin is also usable on servers with separated inventories.
Some features required saving the Ender Chests in a separate file. The plugin automatically imports from vanilla, MultiInv, Multiverse-Inventories and WorldInventories, and there is a converter to convert back to vanilla.
Mojang.com UUID conversion
BetterEnderChest 2.2.* automatically converts names to UUIDs. To achieve this, BetterEnderChest uses evilmidget38's UUIDFetcher, which was modified a little bit. This requires access to https://api.mojang.com
. In BetterEnderChest 2.2.1, it is possible to continue using names instead of UUIDs, so that no access to mojang.com is needed. Set useUUIDs
to false
in the config.yml. However, you need to enable this option before any chests are converted, otherwise items will be lost.
For more information, see this wiki page.
whitespace hack
Features
Lockette and LWC integration
Uses Lockette signs or LWC protection 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 your LWC/Lockette custom block list. (See the installation instructions.)
whitespace hack
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.
whitespace hack
MySQL support
Running multiple servers in one network? BetterEnderChest supports MySQL as of version 2.1. If you use the same database and world group, chests will be shared. Flatfile is also supported, so don't worry if you don't have a database.
whitespace hack
Commands
Adds /enderchest
to open your Ender Chest from anywhere. 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.
whitespace hack
Chest customization
You can set the number of slots in the chest to make the Ender Chest not too overpowered. 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) ).
whitespace hack
Multiworld support
Inventories can be separated between worlds, 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.
whitespace hack
Default Ender Chest
You can have 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. Each worldgroup has a different default chest.
whitespace hack
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.
whitespace hack
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.
whitespace hack
Commands
<required argument> [optional argument]
- /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.
- /enderchest [player] - alias for /betterenderchest openinv [player]
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 (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
whitespace hack
Translations
Not all messages can be translated yet, but the most common ones can. See here for more information, along with a premade Dutch translation file.
whitespace hack
@rutgerkok
The method to fill the full inventory is by shift-clicking. But yes, the maximum they can do is 9 since the rest doesn't show up. The full inventory is only an OP glitch which isn't an issue.
Not a huge issue but if you ever have some time would be great to see if you can somehow block that. Great plugin, very useful!
@rutrerkok thank you, that is what i was wanting to know :)
also everytime I load the plugin i get this error in my console, but i have the most recent plugin installed, and it seems to be working fine, so i'm not sure where this error is coming from
@HitmanPL47
When using 5 slots, the inventory shows one row (9 slots) where the plugin does it's best to disable the four remaining slots. This usually works, but it looks like a player has found a way to force an item into a disabled slot. :( I'm almost sure that it is impossible to use additional rows.
Evil plan: delete all the items in disabled slots when the inventory closes (or maybe just drop the on the ground).
I gave my players a maximum of 5 slots to use but they are able to glitch a full 9 in somehow, any idea how or if its fixable?
Sometimes the full inventory opens I'm hoping they can't store 27....
@Codyl16
I don't understand what you mean, ;( but here is some guesswork:
The plugin supports world groups, so that for example your creative worlds have another Ender Chest inventory than your survival worlds. Additionally, it can import the Ender Chest inventories from some other plugins which also offer this functionality, like MultiInv and Multiverse-Inventories. (BEC has it's own save format, so importing is needed.) The world groups in BEC don't need to match the world groups in the other plugin, so it is possible to create very interesting ways of transporting items between world groups.
But maybe this page can help?
ok, so "You can have different Ender Chests for different world groups (there is importing from MultiInv, Multiverse-Inventories and WorldInventories)." you're saying I can have different on'es or my Multiverse-Inventories, plugin will make it not for because of importing?
I'm currently working on BetterEnderChest 2. I have already cleaned up and rewritten large parts of the code. I also want to include translation support.
The bug with the chest opening animation is fixed.
I'm looking into MySQL support, as people keep asking for that. I don't know yet if this will be included, but I'll certainly try.
I'll also add a safeguard for when the BetterEnderChest is outdated. It simply won't open, load or save any Ender Chest when loading fails.
@JKnetz
For each player.
Also does it generate a data file for each player or only players with the upgrade permission node?
Ah it's open source, alright thanks.
@JKnetz
For a very long time. Even if I suddenly drop off the planet, the plugin is open source, so I'm sure that someone else can maintain it (changes needed to keep it up to date are minimal). And there is a converter to convert back to the vanilla format.
The save format is just plain NBT. While this means that BEC, for now, needs an update every Minecraft version, it also means that the save format is reliable (no chances of certain properties of items not being saved). Plugins like MultiInv constantly need to be updated to save the newer properties of items while I just need to change thing like
org.bukkit.craftbukkit.v1_5_R1.inventory.CraftItemStack
toorg.bukkit.craftbukkit.v1_5_R2.inventory.CraftItemStack
.Planning to use this plugin, wondering how long will you maintain this? I don't want players to lose their enderchest items when bukkit updates.
Uploaded a file for Minecraft 1.5.1, it still needs to be approved.
@bad339
Not in the near future, sorry.
@TheD4n
Just restore from a backup. Ender Chests are saved in a different file, so this should affect player inventories. Edit: just copy the old chests folder from plugins/BetterEnderChest and overwrite the current one. Provided you made a backup just before the update, no items will be lost.
Broke on 1.5.1 and now everyone on my server lost their enderchest items.
Can you add support for MySQL databases? I think along with that some would also appreciate SQLite
I updated server to 1.5.1, now everyone's stuff is gone.
@Snaggles
Indeed, I'll update it tomorrow. But don't worry, 1.5.1 clients are compatible with 1.5.0 servers.
i think it isnt compatible to 1.5.1
@crazy1900chris
Indeed, to quote the description of the old file:
See also here.
@rutgerkok
sorry plugin doesn't work ?! (1.5 dev build)