EnderChestControl
EnderChestControl v 1.8
[B]NOTE: REQUIRES VAULT!!
1.7 = total rewrite!
What is this?
EnderChestControl is an advanced EnderChest management tool designed to help administer EnderChests that players on your server use. It supports an array of features (read below) that help make EnderChests what they should have been.
Features:
- EnderChest blocking (multiworld): That's right, using permissions (see below) you can actually make the access and use of EnderChests mutiworld!
- EnderChest access cost: You can set an amount (in config.yml) for users to pay to use EnderChests. Every time they use it, tey must pay this fee.
- Admin EnderChest view: Admins with a simple command (see below) can actually view what a player (or group of players) has in their EnderChest. This is a GREAT! tool against smuggling illegal items.
- User raiding: That's right, users can now raid EnderChests. When a user right clicks with an Eye Of Ender (configurable) they will see the last chest of the person who used the EnderChest. If you want to have a safe public chest, you can disallow players to view it with a simple command.
- NEW! Group EnderChests: This is a big feature to the 1.7 update. If you server has a plugin (currently either Factions, Towny, or SimpleClans) it will detect if the player is in a "group" (either a faction, town, or clan). If they are in a group, then instead of their normal EnderChest, they will see a Group EnderChest that is shared for the group. The leader of the group can set the permission for players to access, either p: all players, a: assistants, or l: leaders.
- EnderChest signs: This is a small feature, but somewhat useful. You can an [EnderChest] sign, and it will allow players to look into their EnderChest.
- New! MySQL Support: In the config you can have this plugin link with MySQL so that you can save your EnderChests in the cloud! Perfect for Multiserver support, or for easy data management .
Why would I need this plugin?
As I said above, this is a really useful for pretty much any server. Your players can hide items in their EnderChests' right under your nose! With admin viewing, you can stop this and keep your players/server safe and secure! The group feature also gives a big advantage to players who are in factions, and want to keep their items secure. Remember, they only get 1 chest which is 27 slots!
Commands:
(You can use /ecc or /enderchest)
Quote:/ecc view <player> - View a <player>'s EnderChest.
/ecc view group <group> - View a <group>'s EnderChest.
/ecc denyview - Allows you to right-click an EnderChest to put it in deny view mode (stops eye of ender access).
/ecc setperm <l:p:a> - Set the group permission of your chest.
/ecc perminfo - View EnderChest permission info ingame.
Permissions:
enderchestcontrol.use = Allow a user to use an EnderChest.
enderchestcontrol.ignorepay = Allow a user to not have to pay for an EnderChest
enderchestcontrol.userviewother = Allow a user to use the View Item on an EnderChest
enderchestcontrol.adminviewother = Allow a user to use /ecc view
enderchestcontrol.denyview = Allow a user to use /ecc denyview
enderchestcontrol.makesign = Allow a user to make an [EnderChest] sign
todo:
- Add github link to source (pretty soon :D)
- MySQL support!
Changelog:
v 1.8
- Added in MySQL support
- Fixed signs! (Very sorry about that :()
- Fixed other issues/bugs :D.
v 1.7.1
- Fixed some bugs, hopefully we are bug-free :D!
v 1.7-
- Total recode!
- Added GroupEnderChests
- Fixed all bugs!
v 1.6-
- Performance fixes
- Error fixes
v 1.5 -
- Fixed errors from happening!
v 1.4-
- Fixed enchantments, and improved some storage issues ;D. Dillget will aut0update plugin for you ;).
v 1.3 -
-Updated to support DillyGet
v 1.2 -
-Fixed error when trying to use /enderchest player
-Added enderchest sign!
v 1.1 -
-Added admin control to enderchests
-Added the ability for users to be able to raid enderchests
v 1.0 - Release! [/quote]
-
View User Profile
-
Send Message
Posted Jan 9, 2013You might wanna check your SQL lib.
-
View User Profile
-
Send Message
Posted Jan 8, 2013This comes up whenever someone tries to use an Ender chest or I try to view a player's Ender chest.
2013-01-08 23:32:27 [WARNING] [EnderChestControl] [MySQL] Error in SQL query: No operations allowed after connection closed.Connection was implicitly closed by the driver.
2013-01-08 23:32:27 [SEVERE] Could not pass event InventoryOpenEvent to EnderChestControl v1.8
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427)
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477)
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462)
at org.bukkit.craftbukkit.v1_4_6.event.CraftEventFactory.callInventoryOpenEvent(CraftEventFactory.java:499)
at net.minecraft.server.v1_4_6.EntityPlayer.openContainer(EntityPlayer.java:458)
at net.minecraft.server.v1_4_6.BlockEnderChest.interact(SourceFile:90)
at net.minecraft.server.v1_4_6.PlayerInteractManager.interact(PlayerInteractManager.java:385)
at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:657)
at net.minecraft.server.v1_4_6.Packet15Place.handle(SourceFile:58)
at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290)
at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112)
at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39)
at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30)
at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:598)
at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224)
at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:494)
at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:427)
at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849)
Caused by: java.lang.NullPointerException
at com.dillyg10.enderChestControl.enderchest.EnderChest.getInvString(EnderChest.java:159)
at com.dillyg10.enderChestControl.enderchest.EnderChest.<init>(EnderChest.java:58)
at com.dillyg10.enderChestControl.listeners.PlayerListener.onInventoryOpen(PlayerListener.java:119)
at sun.reflect.GeneratedMethodAccessor198.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425)
... 18 more
-
View User Profile
-
Send Message
Posted Jan 8, 2013I need some help. All my user's chests were wiped empty when I installed this, and were still empty even after disabling it. Is this normal?
-
View User Profile
-
Send Message
Posted Jan 3, 2013@ua_remm
Unfortanetly, saving to the DB every time an item is clicked, is going to cause MAJOR lag, and possibly database corruption. I will try and figure out a workaround (possibly checking out a leaveEvent :)).
@Qwahchees
No. Honestly, I will not stop developing this, and I will make sure to keep it going :).
-
View User Profile
-
Send Message
Posted Jan 2, 2013Hey! Great plugin, is there anyway to use native EnderChest Storage instead of the flatfile in this? Cause what if you decide to not develop the plugin anymore?
-
View User Profile
-
Send Message
Posted Jan 2, 2013Hello, good plugin but some dup ability here!
Data in the database about bank slots saving only when chest dialog window is closed correctly, but if a game client crashed or shutted down by alt+f4 or another method after taking things from chest - data in the database is still old and player can take same things again. How about to add more database saves on some events like http://jd.bukkit.org/doxygen/d9/d42/classorg_1_1bukkit_1_1event_1_1inventory_1_1InventoryClickEvent.html? That's very important, please fix this.
Sorry for my bad english, but I think you understand what did I mean.
Thanks for attention!
-
View User Profile
-
Send Message
Posted Dec 30, 2012Uh oh! I just died and this popped up!
[SEVERE] Could not pass event InventoryCloseEvent to EnderChestControl v1.8 org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:427) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:35) at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:477) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:462) at net.minecraft.server.v1_4_6.EntityHuman.die(EntityHuman.java:882) at net.minecraft.server.v1_4_6.World.removeEntity(World.java:1030) at net.minecraft.server.v1_4_6.PlayerList.moveToWorld(PlayerList.java:331) at net.minecraft.server.v1_4_6.PlayerList.moveToWorld(PlayerList.java:322) at net.minecraft.server.v1_4_6.PlayerConnection.a(PlayerConnection.java:1176) at net.minecraft.server.v1_4_6.Packet205ClientCommand.handle(SourceFile:30) at net.minecraft.server.v1_4_6.NetworkManager.b(NetworkManager.java:290) at net.minecraft.server.v1_4_6.PlayerConnection.d(PlayerConnection.java:112) at net.minecraft.server.v1_4_6.ServerConnection.b(SourceFile:39) at net.minecraft.server.v1_4_6.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.v1_4_6.MinecraftServer.r(MinecraftServer.java:585) at net.minecraft.server.v1_4_6.DedicatedServer.r(DedicatedServer.java:224) at net.minecraft.server.v1_4_6.MinecraftServer.q(MinecraftServer.java:481) at net.minecraft.server.v1_4_6.MinecraftServer.run(MinecraftServer.java:416) at net.minecraft.server.v1_4_6.ThreadServerApplication.run(SourceFile:849) Caused by: java.lang.NullPointerException at com.dillyg10.enderChestControl.listeners.PlayerListener.onInventoryClose(PlayerListener.java:129) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:425) ... 19 more
-
View User Profile
-
Send Message
Posted Dec 30, 2012Can you please make the blocked-message configurable for different languages?
-
View User Profile
-
Send Message
Posted Dec 29, 2012@Issues420916
Not inventories, but enderchest inventories yes.
@Qwahchees
That's actually a really good idea, I might add that in a later update:).
-
View User Profile
-
Send Message
Posted Dec 29, 2012@dillyg10
Is the Sql working / can it be used for cross server inventories?
-
View User Profile
-
Send Message
Posted Dec 29, 2012You should add a way to limit the slots in the Enderchest by a permission. Just my 2cents. :)
-
View User Profile
-
Send Message
Posted Dec 28, 2012Hey everyone using EnderchestControl, I have uploaded a fix for 1.4.6, should be on bukkitdev in a bit once they approve :D.
-
View User Profile
-
Send Message
Posted Dec 23, 2012More encouragement to update :)
-
View User Profile
-
Send Message
Posted Dec 23, 2012Please update!
-
View User Profile
-
Send Message
Posted Dec 21, 2012Could you update this to 1.4.6?
-
View User Profile
-
Send Message
Posted Dec 21, 2012It's broken with craftbukkit 1.4.6 It breaks down by booting and then it doesn't do anything, no mysl syncronisation at all :( So please fix it for 1.4.6
-
View User Profile
-
Send Message
Posted Dec 20, 2012Theres no download link for dillget.........
-
View User Profile
-
Send Message
Posted Dec 4, 2012Please update! Sql not connecting server - server!
If anyone does have it working server to server (not world to world!) Please message me.
-
View User Profile
-
Send Message
Posted Dec 1, 2012Can this please be updated? It doesn't seem to be working in 1.4
-
View User Profile
-
Send Message
Posted Nov 25, 2012@EncryptedCurse
just wondering why i keep getting
Debug info (if an error occurs please include this with the error, thank you!): item = -336&0&1-336&0&1-336&0&1-336&0&1
^ is just bricks but its for anything that's in the enderchest.
it seems to be saving them to the sql correctly but when i open up the chest on another one of my servers i see ^ that again, but there are no items in the chest. i know some other have had this problem too, just wondering if it was solved by anybody or will be in the next update. I'm revamping my whole server and need a way for my users to transport their items to the new server, i think i've gotten it to work one time but then stopped out of nowhere.
thanks!