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/enderchestor/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
-
View User Profile
-
Send Message
Posted May 10, 2013Thanks for merging /bec viewender with openender !
Greatly appreciated.
Critical Issue: Along with your shift clicking change, players are now able to access the vanilla enderchest. Biggy for me, as the bec chest is smaller than the vanilla one.
-
View User Profile
-
Send Message
Posted May 8, 2013@largo7
I'm afraid it isn't. I haven't looked at Gringotts' code yet, but I think that it checks the vanilla Ender Chest for emeralds. BetterEnderChest uses it's own Ender Chest system, which isn't compatible.
-
View User Profile
-
Send Message
Posted May 8, 2013it's not compatible with gringotts (eco plugin) ? I use emerald as money and enderchest as bank but with your plugin, emeralds are not in player 's account. (with /money command) so if I put emeralds in enderchest, i haven't money ...
-
View User Profile
-
Send Message
Posted May 6, 2013@godgodgodgo
I cannot reproduce it either, so I'm thinking that they are using some glitch. I'll make BetterEnderChest eject all items in disabled slots when the inventory closes.
Edit: done. I'll release it once I have improved the /enderchest command.
-
View User Profile
-
Send Message
Posted May 6, 2013@godgodgodgo
I cannot reproduce that.
-
View User Profile
-
Send Message
Posted May 5, 2013Players are able to bypass the limit for enderchests by shift clicking items into the chest rather than dragging and dropping. I'd appreciate it if you could fix this soon :)
-
View User Profile
-
Send Message
Posted May 5, 2013@rutgerkok
Well then dont do it if it would just add too many lines of code, as we all know, that could add a whole bunch of bugs.
-
View User Profile
-
Send Message
Posted May 5, 2013@H8llfire
The first one can be implemented easily. I'll make /enderchest first try /bec openinv and then /bec viewinv.
The second one is much, much more difficult to implement. Ender Chests can be opened by multiple players at the same time. Both players are viewing the same inventory. Scrollong would need to be implemented in a way that when one player scrolls, the view of the other player shouldn't change. So I'll need seperate inventory views for this. Of course, the items in both inventory views need to be kept in sync. The way in which Bukkit is coded, I would need two separate inventories that constantly update their contents to reflect the other inventory, which is very tricky to do correctly.
-
View User Profile
-
Send Message
Posted May 4, 2013As great this plugin already is, there are just 2 things.
a. Could you please alias /bec viewinv directly to /enderchest name? Basically merge the commands and if the node for viewinv is in place, only do viewinv and if you have openinv also edit. Would be easier for donators. They are complaining about that stupid command :D
b. I know you shut this down, but the arrows on the inv to have more pages, are they really too hard to do?
regards
-
View User Profile
-
Send Message
Posted May 4, 2013@ferrybig
Completely agreed. The current NBT save and load methods, combined with the "safeguard" prevent this from happening. I could add an option to save as YAML.
-
View User Profile
-
Send Message
Posted May 4, 2013it would be nice if the versions have support for multiple minecraft versions
-
View User Profile
-
Send Message
Posted May 4, 2013@HitmanPL47
For BetterEnderChest 2, I wanted to have a plugin that you can just drop in. All worries anout lost items should be a thing of the padt. I had completely automated the converting process for this. I the plugin also won't explode anymore when used on the wrong Minecraft version, it just shows a nice error. Everything seemed to work fine, it imported correctly, and items persisted between server restarts. One look into the actual chests folder would have revealed that it was using the wrong group names. I didn't look into that folder and just uploaded the plugin, causing BetterEnderChest 2.0.1 to do the exact opposite of what I wanted: making sure that the items would always be safe.
I'll post a 2.0.3 soon which simply ejects items in disabled slots on inventory close.
-
View User Profile
-
Send Message
Posted May 3, 2013@rutgerkok
Thank you rutgerkok! Mistakes happen but you were quick to release and update and thankfully no data was harmed. Thank you Sir.
Edit: Players are still able to fill in the extra slots by shift clicking. It doesn't work when items are in the hotkey slots, though.
-
View User Profile
-
Send Message
Posted May 3, 2013I guess I was lucky. I did a Mapreset with 2.0.1, so every chest was stored in that directory. I could just move all the files in it in the parent dir and that fixed it all ;)
-
View User Profile
-
Send Message
Posted May 3, 2013@OceanPrison
Yeah, the permission nodes changed a little bit. Instructions are in the "Known caveats" of the file. But the problem with 2.0.1 was that it saved/loaded from a location like "
plugins/BetterEnderChest/chests/nl.rutgerkok.betterenderchest.WorldGroup@b827ac84/playername.dat" instead of "plugins/BetterEnderChest/chests/groupname/playername.dat" or "plugins/BetterEnderChest/chests/playername.dat".-
View User Profile
-
Send Message
Posted May 3, 2013As far as i could check it worked on my server, There were some problems starting up, people suddenly didn't had bigger enderchests anymore, but when i re-added the permission it worked again. This could also be the permission plugin, i am currently at work and dont have the time to look at it, but i can look at it this weekend if you want me 2.
-
View User Profile
-
Send Message
Posted May 3, 2013@JKnetz
I'm terribly sorry for this. I have put up a big warning. I completely understand it if you don't want to use my plugin again. However, I'll still maintain this plugin.
All items from before the update should be safe. All items placed after the update are most likely lost. If you want to uninstall my plugin, please install 2.0.2 again and give your players time to rescue their items before pernamently removing this plugin.
Here's 2.0.2, the fixed version.
(This was caused by a bug which sneaked in last minute before the update. After doing a minor change, I assumed that everything would still work. Because there was a Minecraft update, I had to upload a file fast. Stupid excuses, I know.)
-
View User Profile
-
Send Message
Posted May 2, 2013I tried this on my test server. Seemed to be working at first but I can only open and use enderchests while vanished. And it is producing an error message enderchests are disabled due to not being able to load and save . If I am not vanished chests will not open and if I am vanished I still get the error message but can open them.
This plugin is the only thing stopping me from updating to 1.5.2
-
View User Profile
-
Send Message
Posted May 2, 2013I tested this plugin out... Amazing!
-
View User Profile
-
Send Message
Posted May 2, 2013Same here guys.