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 Aug 31, 2012@faxionsurvival
Yes i am getting that error atm and i not sure why
-
View User Profile
-
Send Message
Posted Aug 27, 2012I love this plugin but it keeps crashing my server, here is the error I am getting.
http://pastie.org/4600065
-
View User Profile
-
Send Message
Posted Aug 27, 2012@Gunnerrrrr
i am also getting this exception with 1.5
-
View User Profile
-
Send Message
Posted Aug 27, 2012I think this plugin is causing books placed in ender chests to be erased
-
View User Profile
-
Send Message
Posted Aug 25, 2012@dillyg10
I cant figure out whats causing it, but i am version 1.4 and 1.3.1 R.2 of craftbukkit.
The only conflicting plugin I can think of would be openinv.
-
View User Profile
-
Send Message
Posted Aug 25, 2012@Gunnerrrrr
when did this happen? what versiion of the plugin are you using?
-
View User Profile
-
Send Message
Posted Aug 25, 2012http://pastebin.com/HWHKDuT4
-
View User Profile
-
Send Message
Posted Aug 23, 2012@dillyg10
have send you the folder as rar archive via pm :)
-
View User Profile
-
Send Message
Posted Aug 22, 2012@tarkus80
Hey, I would love it if you could PM me a link to a dropbox or something with your enderchestcontrol folder, I wanna checkout the configs and make sure nothing is corrupted.
-
View User Profile
-
Send Message
Posted Aug 22, 2012i have installed craftbukkit 1.3.1-R2 and enderchest 1.5.
if i enter /enderquest <playername> i am getting the following exception:
2012-08-22 18:56:14 [SEVERE] null org.bukkit.command.CommandException: Unhandled exception executing command 'enderchest' in plugin EnderChestControl v1.5 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:492) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:878) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:825) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:807) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44) at net.minecraft.server.NetworkManager.b(NetworkManager.java:276) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.ArrayIndexOutOfBoundsException: 2 at com.dillyg10.enderChestControl.EnderChestControl.parseItem(EnderChestControl.java:329) at com.dillyg10.enderChestControl.EnderChestControl.getContents(EnderChestControl.java:303) at com.dillyg10.enderChestControl.EnderChestControl.onCommand(EnderChestControl.java:387) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 15 more
also i am getting this error when i try to use the eye of ender:
2012-08-22 19:05:25 [SEVERE] Could not pass event PlayerInteractEvent to EnderChestControl org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) 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.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:177) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:355) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:649) at net.minecraft.server.Packet15Place.handle(SourceFile:58) at net.minecraft.server.NetworkManager.b(NetworkManager.java:276) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.ArrayIndexOutOfBoundsException: 2 at com.dillyg10.enderChestControl.EnderChestControl.parseItem(EnderChestControl.java:329) at com.dillyg10.enderChestControl.EnderChestControl.getContents(EnderChestControl.java:303) at com.dillyg10.enderChestControl.EnderChestControl.onPlayerInteract(EnderChestControl.java:207) at sun.reflect.GeneratedMethodAccessor224.invoke(Unknown Source) 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:330) ... 16 more
-
View User Profile
-
Send Message
Posted Aug 21, 2012Suggestions, add permissions for placing enderchests? and possibly crafting
-
View User Profile
-
Send Message
Posted Aug 21, 2012Update! Fixed errors :).
-
View User Profile
-
Send Message
Posted Aug 21, 2012Hey everyone, found the error fixing it now ;D.
-
View User Profile
-
Send Message
Posted Aug 20, 2012@dillyg10 Please update, Thanks!
-
View User Profile
-
Send Message
Posted Aug 19, 2012error logs when run on craftbukkit 1.3.1 R1.0:
19.08 20:01:10 [Server] INFO ... 15 more
19.08 20:01:10 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
19.08 20:01:10 [Server] INFO at com.dillyg10.enderChestControl.EnderChestControl.onCommand(EnderChestControl.java:374)
19.08 20:01:10 [Server] INFO at com.dillyg10.enderChestControl.EnderChestControl.getContents(EnderChestControl.java:290)
19.08 20:01:10 [Server] INFO at com.dillyg10.enderChestControl.EnderChestControl.parseItem(EnderChestControl.java:320)
19.08 20:01:10 [Server] INFO Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
19.08 20:01:10 [Server] INFO at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
19.08 20:01:10 [Server] INFO at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
19.08 20:01:10 [Server] INFO at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476)
19.08 20:01:10 [Server] INFO at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
19.08 20:01:10 [Server] INFO at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:583)
19.08 20:01:10 [Server] INFO at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30)
19.08 20:01:10 [Server] INFO at net.minecraft.server.ServerConnection.b(SourceFile:35)
19.08 20:01:10 [Server] INFO at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109)
19.08 20:01:10 [Server] INFO at net.minecraft.server.NetworkManager.b(NetworkManager.java:281)
19.08 20:01:10 [Server] INFO at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:44)
19.08 20:01:10 [Server] INFO at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:807)
19.08 20:01:10 [Server] INFO at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:825)
19.08 20:01:10 [Server] INFO at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:878)
19.08 20:01:10 [Server] INFO at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:492)
19.08 20:01:10 [Server] INFO at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
19.08 20:01:10 [Server] INFO at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
19.08 20:01:10 [Server] INFO org.bukkit.command.CommandException: Unhandled exception executing command 'enderchest' in plugin EnderChestControl v1.4
-
View User Profile
-
Send Message
Posted Aug 19, 2012I downgraded to craftbukkit 1.3.1 R1.0 and it still doesn't work. when I type /enderchest [player] i get the internal server error message
-
View User Profile
-
Send Message
Posted Aug 19, 2012doesn't work on my craftbukkit 1.3.1 R2.0 server
-
View User Profile
-
Send Message
Posted Aug 19, 2012Seems like a good plugin so far. I'd like to see a reload command for this, however. ( Unless it checks the config each time a chest/sign is used)
-
View User Profile
-
Send Message
Posted Aug 19, 2012I'm using EnderChestControl 1.4 and i'm having these errors since I updated :
2012-08-19 16:33:37 [SEVERE] Could not pass event InventoryOpenEvent to EnderChestControl org.bukkit.event.EventException at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:332) 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.event.CraftEventFactory.callInventoryOpenEvent(CraftEventFactory.java:494) at net.minecraft.server.EntityPlayer.openContainer(EntityPlayer.java:505) at net.minecraft.server.BlockEnderChest.interact(SourceFile:88) at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:364) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:649) at net.minecraft.server.Packet15Place.handle(SourceFile:58) at net.minecraft.server.NetworkManager.b(NetworkManager.java:276) at net.minecraft.server.NetServerHandler.d(NetServerHandler.java:109) at net.minecraft.server.ServerConnection.b(SourceFile:35) at net.minecraft.server.DedicatedServerConnection.b(SourceFile:30) at net.minecraft.server.MinecraftServer.q(MinecraftServer.java:581) at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212) at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:474) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:406) at net.minecraft.server.ThreadServerApplication.run(SourceFile:539) Caused by: java.lang.ArrayIndexOutOfBoundsException: 2 at com.dillyg10.enderChestControl.EnderChestControl.parseItem(EnderChestControl.java:316) at com.dillyg10.enderChestControl.EnderChestControl.getContents(EnderChestControl.java:290) at com.dillyg10.enderChestControl.EnderChestControl.onInventoryOpen(EnderChestControl.java:236) at sun.reflect.GeneratedMethodAccessor134.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:330) ... 18 more
-
View User Profile
-
Send Message
Posted Aug 18, 2012Thanks for updating the plugin really boss