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
@Grave9912
I'll try, but for now I just use the old save and load system with some tweaks. However, rewriting it is on my todo list!
@rutgerkok
That would be much appreciated, it might just be a bug that's causing the lag. Is it possible to use the regular saving system with the limited slots idea? That would be a good idea since it will most likely decrease lag spikes.
@Grave9912
I'm now working on the slots.
I'm getting worried about all those people who notice performance problems. I think that I should redo the whole saving and loading system.
@rutgerkok
I don't mind about confused players, they will know how much slots they need. I'll PM you in a bit, any clue on how long a feature like this will take? Aside from that my server was also lagging after adding the plugin which I found very odd, everything was set to default and I'm running on 1.4.5 r0.2 any ideas? It's a 3GB server running on an SSD, so shouldn't be causing much problems is it just eating up CPU?
@Grave9912
I'll add it for free. It's not so difficult to add. Players might be confused with unusable slots, however.
@rutgerkok
I would be willing to pay for a feature like this.
@rutgerkok
Will that be possible?
@Grave9912
Maybe they block the slots, but they are still visible?
@rutgerkok
That's unusual another server I came across claims to have "slots" in there volt starting from 4 and I'm trying to set it up since I like the idea, you're the closest plugin to what they describe.
@Grave9912
No. :( I can only make chests of 1 to 6 rows display correctly. Minecraft limitation.
Whould it be possible to do slots instead of rows?
@mystikite
I have absolutely no idea what causes it. If you have some data that shows which code is slow, I would be very happy. I need to update this anyway, because net.minecraft.server being renamed to net.minecraft.server.v1_4_5.
@rutgerkok
a single world group that comprises the over/nether/end and a skyworld.
If there is any info i can provide to help diagnose this, i woudl be happy to.
@mystikite
That's interesting, for just one player online. Never had this by myself. Maybe the hard drive is busy with something else, so that BEC (along with the rest of the server) has to wait?
Another theory is that you have a lot of world groups that you visit, so that it has to save a lot of chests. But still, it shouldn't lag with your autosave settings.
@rutgerkok
I'm seeing an issue where even when the server is mostly idle (only me online, and /lag reports 100% ticks) about every OTHER BEC auto save complains about autosaving, and the server lags just a little bit during it.
If i remove BEC the problem goes away.
This is my save config:
@Typhoonlordgrief
It would indeed require a client mod. Currently that player has to deal with the glitches of larger chests, I'm afraid.
I must say I really do enjoy this plugin. I was wondering if there was a way you could add a scroll bar or something for chest. The reason I ask is the player on my server really like to hoard massive ammounts of material as they quarry mine and I want to add many more rows to my chest. I understand if it is not possible, I'm just curious.
@Darkblader10
Does that happen after the plugin start autosaving? Maybe you need to lower the AutoSave.chestsPerSaveTick setting and/or higher the AutoSave.saveTickIntervalTicks setting. Or does it happen at random times? That would probably mean there is a bug, because it shouldn't load chests slower than Minecraft loads the player data.
This plugin is very great, but it makes my server laggy :(
@rutgerkok
YES!!! This one did the trick! Thank you so much for the fast fixes, rutgerkok!