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
Uploaded a new file that is compatible with Minecraft 1.5. I'm not allowed to post links to it here on the main page, so please be patient while the BukkitDev staff approves the file
:( Broke on 1.5 dev build :(
@kaovalin
So what you want is that, when you have a certain permission, you will see the Ender Chest of that group instead of your own? I'll think about adding something like that.
Cool plugin. Is there a way to implement shared enderchests between definable cooperative groups without using lockette or LWC? I imagine It could be configured by adding a permission to a user or group such as "betterenderchest.user.open.NAME" where NAME is any name with properties as defined in the config like public chests are already. To reduce complications there could be ranked enderchest groups so users belonging to multiple groups could default to the highest configured rank or even use a command to switch which enderchest group they open by default. Although I'll understand if this feature is out of scope.
It sure is fixed, thank you!!!!
@diannetea
Finally found the issue, I think. World names which had uppercase characters in them were not handled correctly. I have uploaded a new build to BukkitDev.
@diannetea
When you right-click a chest (or use the command), it looks in a map which group is attached to the current world. It then askes the chest cache to provide the chest with the given owner and group. The cache will load it from disk if it hasn't been cached yet (or is already unloaded again).
I assumed /bec list was saying GROUP default: because it thought I was in the group default ;)
I'm doing some testing on a test server, currently with my settings it's really easy to reproduce, but I'm going to play around and see if I can figure out what exactly is causing it.
So, even with the default settings for all plugins it seems to be happening. I reverted to the beta build of Multiverse for the testing to make sure it wasn't the dev build. I created brand new worlds, and then added the creative group to BEC.
I'm using Spigot build 603, BEC, LWC, Multiverse-Core and PEX
Oh and just to be super thorough I did a test with craftbukkit instead of spigot, no change still having the same issue.
How exactly is BEC checking to see that I'm switching worlds? I am using /mvtp <worldname>
@lecraeman
The rows don't update when using the command, only when the owner opens his/her chest. I have already fixed this "issue", but I don't find it important enough for a new release. A release with a lot of smaller fixes will follow when MC 1.5 is out.
@Kingdom08
So you are having the following problems?
For the first one I need to know whether you had seen your items at least once while using the plugin, or that the items were lost when you installed the plugin.
I need to test the second one a bit more, but could you try to negate all the individual nodes:
The third issue is most likely caused by using the wrong permission: use betterenderchest.rows.upgrade1.
@diannetea
I can't find any bugs in the code, but I'll add a /bec debug command which will show in what group BEC thinks that you are.
I've gotten rid of WorldInventories due to so much inventory loss and switched to something that just controls the gamemode
I really like this plugin except that I can't seem to lock down my creative world while using it. I actually switched from that other ender chest plugin to this one because this does more of what I want (like give VIPs more space).
The problem seems to be that this plugin just doesn't recognize what world I am currently in. I AM using the latest dev build of multiverse-core if that makes a difference.
Hi, I am having trouble. Everyones enerchests cleared. I negated the betterenderchest.user permission in group manager which did not work. Everyone had 9 slots even though I specified how many slots each person should have in the config. I have the -betterenderchest.slots.upgrade1 node for the rank. In the config it is set to 4 slots. But everyone has 9. What could I be doing wrong. I dont have a inventory seperation plugin, im using group manager.
I don't know why, but it won't work.
The double space will not work at all.
All the commands tell me to type in /betterenderchest and then if I type that it it just keeps saying to type it in.
I REALLY need to double enderchest space on my server, but I can't figure this out. Maybe I am just a noob and don't understand, but if so I would LOVE some help!
@diannetea
:( Well, this means that your only option for now is to remove BEC. May I recommend EnderChestPlus? If that plugin has no issues, it at least confirms that the issue is in BEC and not in your server setup.
Yeah :( I'm using Multiverse-Core for the worlds.
I've even tried removing the ability to use ender chests with PEX and that didn't seem to work either :/ I'm getting pretty frustrated overall.
If I completely disable BetterEnderChest it seems that WorldInventories actually separates them. But with BEC enabled nothing happens and contents are identical on both worlds.
@diannetea
I'm completely clueless on what is happening. I can't reproduce this myself. :(
Disregard my previous advice about the imports - from your situation it is clear that nothing needs to be imported from WorldInventories.
I've had BEC since before I had WorldInventories, however I backed up the folder and removed it but it didn't change a thing (or import). I am indeed using right click to open the chest.
My biggest concern is that it's not actually changing my group. It thinks I'm default no matter what rank I set myself to or what world I'm on. I made sure the names match what WorldInventories has them set to.
@diannetea
1. Should be fixed now.
2. /bec list is a debug command to see all the loaded chests. I don't know what's going wrong. I assume that you are opening the chest with a right-click, and not a command? For the imports, the group names need to match those of WorldInventories and you should replace
none
withworldinventories
. Remove the chests folder (plugins/BetterEnderChest/chests) to start the importing process again.1. Your tickets page is broken
2. I'm having issues with making ender chests per world. I'm using worldinventories, and I've tried both worldinventories and none under Imports. I'm at a loss, I can still open my default chest in creative (Akupara). /bec list says default no matter which world I'm in.
@rutgerkok
Hidendra indeed added this feature!
@3ptO
Chest protection is not handled by BetterEnderChest. This LWC wiki page suggests that it is possible to deny the unlock permission in LWC, but it looks like that would also prevent users from unlocking other containers. Maybe you could ask Hidendra?