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
Can I disable Enderchests for like normal players? For example I wanna give my first donor rank 9 slots, and so on. Can I disable the Enderchests for normal players?
It would appear that after the conversion that some of my players data was erased.
A lot of players' enderchests were either wiped completely or reset to the starter kit - I don't recall any errors in the console. I do have a backup of the old database, I am not using SQL - Any idea what can be done to fix this?
2:57:45 PM CONSOLE: WARN]: [BetterEnderChest] Task #19554 for BetterEnderChest v2.2.2 generated an exception 2:57:45 PM CONSOLE: quotation: Diamond Pickaxe
I get this when a certain player on my server (Johblade) tries to open his enderchest. He cannot open it at all. Just him, too. Any idea?
@rutgerkok
Would you please check and see if checking enderchests offline has any issues? Because it does not seem to be working for me at all. The UUID conversion version of this plugin stopped me from being able to check offline enderchests. This is a problem and I'm just wondering if anyone else is having the same issue. I've tried every command to try to view enderchests offline. It just opens a normal enderchest with normal slots, even though the players have bigger enderchests. It is still using your plugin also because I can see the changed enderchest name on the top. It just doesn't show their enderchest.
@AlwaysPvP
There are hundreds of things that can cause this. The first step would be to investigate the console, check if there are errors. If there are errors, read the message, and if it seems to ve something you can't fix, post a ticket. If there are no errors, you can try enabling debug mode (see the config.yml) to see if the chests are being saved according to the console.
Have you had problems with other plugins that save data?
Mhhh, awesome plugin, but when I put items on my chest, they are deleted when I close it... In my server, I just want one enderchest in the spawn, and only 9 slots. The number of slots is already all right, but not the save of my items, thanks to help me.
Is anyone else having issues opening enderchests when players are offline? I have the most up-to-date version of betterenderchest
@therennon
Answered over here.
@GamerKing195
This is already possible! Just change the translations-en.yml file.
Awesome plugin Just what I needed! but one thing could you make it so you can set the name of an enderchest like in the top right corner to {player}s bank or something custom? Thanks!
Gamer
Hello, What time "auto-save" must be used in a "BungeeCord" network?
If I set: autoSaveIntervalSeconds: 180 then the objects can be duplicated.
But if I set: autoSaveIntervalSeconds 4 then error "autosave" occur, like this:
"nl.rutgerkok.betterenderchest.mysql.BetterEnderSQLCache.addChestsToAutoSave(BetterEnderSQLCache.java:101) ~ [:?] "
And LAG is generated:
What I can do?
I want to connect 2 Servers.
Thank you!
Multi-verse inventories is not optional...When I removed it this plugin stopped working...You need to change that please.
Is there any way to convert mysql database to flatfile?
@Demonicom79
Just remove the whole chests folder (or drop the database table) when the server is stopped. Doing this ingame would be way too dangerous.
@cancabron
Replied to both. :)
Ive posted 2 tickets of bugs!
Hi! Good plugin!
But is there a way to delete all enderchest on all players?
Like /bec deleteinv <all> <- another argument, or another way to do it?
Thanks in advance for all answers. :)
Interesting errors. Somehow I seem to have an environment where those things don't happen, so it's very difficult to fix.
@ArcLP
I use Spigot myself, without Bungeecord, for my server. It has only 300 chests, but they all converted fine.
@Undeadkillz
this was happening to me. I turned on enderchest compatability in bec and true to UUID's in bec. I had to have bungeecord: true in my spigot.yml of my server (try it even if you dont have a server on bungee) along with having your UUID's properly converted with it on. play around with essentials and spigot(or bukkit for you?)'s UUID conversion.
@rutgerkok
No, I am not using MySQL. I tried to convert my flatfile chess to MySQL to do the conversion and then convert them back to flatfile, but I when I tried it, I could not know how to trigger the import to the MySQL server. So I just stayed with Flatfiles, I am only using this plugin on one server, not multiple.
@Undeadkillz
For me the conversion works, tested it with 1800 chests. For some reason, it doesn't know on your server that there are chests that need to be converted. I assume you're using MySQL, since you mentioned Bungeecord?
@appletechandhelp
I need to know a few of your settings before I can even try to help you. :) Are you using MySQL or flatfile? Names or UUIDs?
Mine are not saving properly and I am not using bungeecord?
So whats wrong there?