Skip to content
Rutger Kok edited this page Jul 27, 2014 · 3 revisions

I want to have a public chest only, and no private chests. How can I do that?

Enable the public chests in the config file, and, if you have Lockette or LWC installed, don't add the Ender Chest to the custom block list of those plugins. Now it is impossible to open the private chests.

I want to have more than 6 rows / more or less columns / scrollbars. Could you implement that?

No. Client limitation. I also cannot at scrollbars like in the creative inventory menu. Some "page control buttons" like you may have seen in other plugins are possible, but I'm not going to implement it. (Pull requests are always welcome :) )

However, more than 6 rows are already possible, you just get some visual bugs. I haven't really found a limit yet but for BetterEnderChest I have set the limit at 20 rows.

Why does this plugin need an update on almost every Minecraft update?

A long time ago, I chose NBT as the save file format for the plugin. As Minecraft uses NBT too, it is guaranteed that all properties of the items are saved. There's no API in Bukkit to access the NBT data, so I need to bypass it, which breaks the plugin on almost every Minecraft update.

Bukkit nowadays has its own save format for items for plugin developers to use. However, after a Minecraft update Bukkit's implementation is lagging behind Minecraft. For example, many early dev builds of CraftBukkit for 1.6 didn't save item attributes. If I had used Bukkit's save system, those properties would be lost when players store items in their Ender Chest.

Can this plugin be used with Multiverse-inventories/MultiInv/etc.?

Yes, this plugin also has support for world groups. The plugin will automatically copy the group structure when it is run for the first time. You can modify the group structure in BetterEnderChest afterwards, see the Multiworld guide.

Promoted users have a larger Ender Chest. Will they lose items when I demote them?

No. When the demoted owner opens his/her Ender Chest, BetterEnderChest will simply throw all items on the ground that don't fit anymore.

Why does the plugin have it's own file format at all?

Originally, back in the Minecraft 1.3 snapshots, there was one public Ender Chest. This plugin would make Lockette/LWC protected Ender Chests private. It had to save the Ender Chests somewhere, so I made a NBT saver and loader.

Jeb then made the Ender Chests private. I decided that I could still make this an useful plugin. I made a list of features that I would like to have. One of them was larger Ender Chests for certain players (I had already implemented this as a global option). This feature would still require separate chest saving. Having my own save/load system made it also easier for me to work with offline players. And later on, I could add the "different Ender Chest inventories for different world groups"-feature.

There are also some downsides. The original implementation saved all chests at once, which could be quite slow for >20 loaded chests. And there is always the risk of having some bug that prevents loading or saving. And of course, there is the importing/exporting thing.

Still, I think that it is worth it.

What are the upcoming features? Can you add this?

2.3 will most likely contain an option to save and unload chests on logout, and to convert all chests at once. Feel free to request other features at BukkitDev.