[ADMN] EnderChestControl 1.8 Advanced EnderChest managment and tools [1.5.1-R0.1]

Discussion in 'Archived: Plugin Releases' started by dillyg10, Aug 4, 2012.

  1. Offline

    dillyg10

    EnderChestControl v 1.8 <Edit by Moderator: Redacted bit url>

    This plugin uses DillGet
    NOTE: REQUIRES VAULT!!
    1.7.1 = 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)
    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-
    - Fixed performance issues
    - Fixed errors given to me
    - Added MySQL support!
    v 1.7.1-

    - Fixed a few bugs (this time no bugs i hope :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]
     
    Last edited by a moderator: Feb 18, 2017
  2. Offline

    mattdholloway

    LOVE it! All your plugins are simple but incredibly useful!
     
  3. Offline

    jorisk322

    Awesome :D. This problem had me worried for some time already, but this fixes it. Thanks!
     
  4. Offline

    dillyg10

    Thanks everyone, sometimes the simplest of plugins can be the best!

    Updated thread with some features :).

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
  5. Offline

    robbietjuh

    This is very, very useful! We have a creative world, and 2 survival worlds. Using enderchests, players could cheat by putting stuff into their enderchest in creative, and pulling it out in survival.

    Could you, by any chance, add the ability to have per-world "inventories" in these chests? At this very moment we can't enable these chests, cause players could still transfer items between our 2 survival worlds (PVE/PVP ;)). No hurry, just wondering :)
     
  6. Offline

    dillyg10


    You have no idea how much I want to! Unfortunately, bukkit supplies no apis for me to do so :(. When they do, this will be a feature I add.

    I also thought of another cool idea, when you right click a player with an eye of ender it will allow you to view their enderchest. Here is the catch: It takes a configurable amount of time to warmup, it warns the player that som1 is viewing their enderchest AND, it will play a small effect around the player :). This would make raiding possible on players, although very tricky!!
     
  7. Nice Plugin! :)
    Thank You.
     
  8. Offline

    dillyg10

    No problem :).
     
  9. Offline

    robbietjuh

    Can't wait for the APIs to become available :) Awesome plugin, keep the good work going!
     
  10. Offline

    dillyg10

    Updated, v1.1 added:
    Admin viewing, so now admins can look into people's enderchests
    User raiding, users right click enderchests with an eye of ender, and they will view the enderchest of the last person who used it.
     
  11. Offline

    md_5

    Approved.
     
  12. Offline

    MaximusMJ

    really love this plugin, but I've got a suggestion:
    On our server, there's an creative world. Can you make that creative players couldn't open a enderchest, if they aren't admins (have the admin perms?) or that the would a seperate chestinventory from their survival enderchest inventory?
    hope you understand my bad english, I'm only a student and it's hard to describe what I mean. (mistakes are by me)
     
  13. Offline

    IvViral

    http://pastebin.com/qizgRNT5

    I get this error every time I try to use

    /enderchest (playernamehere)

    [quote uid=90577957 name="dillyg10" post=1256524]EnderChestControl v 1.1 <Edit by Moderator: Redacted bit url>

    I get this error: http://pastebin.com/qizgRNT5

    Whenever using /enderchest player

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Feb 18, 2017
  14. Offline

    dillyg10

    Updated to 1.2 added:
    - EnderChest signs
    Fixed:
    - /enderchest <player> causing an error.
     
  15. Offline

    bizzig

    I can confirm this same error. I was able to check the players chest at first, but once I emptied it, i got this error. So, Im guessing it has something to do with checking a players chest that is empty? Not sure.
     
  16. Offline

    dillyg10

    This error has been fixed in the latest update :).
     
  17. Offline

    Darkenvy

    Got a error each time I try to open an EnderChest: http://pastebin.com/LtdbLteX
    I am OP. I gave everyone permission to use the enderchest and no one else causes the error but me; the OP. Also trying to view my own enderchest gives me an error also and a message "an internal error has occurred"
     
  18. Offline

    dillyg10

    What version of the plugin are you using?

    Update!
    Ok, so I found just an annoyance in the coding, that produced an error. You do NOT have to download the new verison, the old one works FINE! Just letting everyone know :D.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
  19. Offline

    Darkenvy

    I dont understand. Does that mean its fixed? I'm using 1.2 by the way on bukkit 2317
     
  20. Offline

    Icee2199

    YES thank you VERY much I have been waiting for this plugin :D
     
  21. Offline

    dillyg10

    Yes! I released a little bugfix, just redownload the plugin :).

    Thanks!

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
  22. Offline

    Darkenvy

  23. Offline

    dillyg10

    Ah, Ok I'm pretty sure this time I fixed it :D.
     
  24. Offline

    CraftyMclovin

    FAIL! when i try to use /enderchest <player>

    i get this error,

    Code:
    21:19:09 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ende
    rchest' in plugin EnderChestControl v1.2
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:16
    8)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:4
    92)
            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:281)
            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:583)
            at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
            at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 2
            at com.dillyg10.enderChestControl.EnderChestControl.parseItem(EnderChest
    Control.java:295)
            at com.dillyg10.enderChestControl.EnderChestControl.getContents(EnderChe
    stControl.java:284)
            at com.dillyg10.enderChestControl.EnderChestControl.onCommand(EnderChest
    Control.java:346)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            ... 15 more
    hmmmm =/ :(
     
  25. Offline

    dreadiscool

    per world permissions ;s
     
  26. Offline

    dillyg10

    :eek:... I tried getting this error, and I never did :/. If this happens to anyone else please tell me!
     
  27. Offline

    CraftyMclovin

    dillyg10:
    it happens when i try using the plugin in anyway.. just open an ender chest and it happens, and clicking the chest with an eye of ender.. ? so is there a fix?

    okay so i closed the server and deleted the files in the enderchest folder reloaded the server and opened an ender chest and got this error,

    Code:
    12:11:32 [SEVERE] Could not pass event InventoryOpenEvent to EnderChestControl
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.ja
    va:332)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62)
            at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.j
    ava:477)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava: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.j
    ava:340)
            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:281)
            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:583)
            at net.minecraft.server.DedicatedServer.q(DedicatedServer.java:212)
            at net.minecraft.server.MinecraftServer.p(MinecraftServer.java:476)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:539)
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 2
            at com.dillyg10.enderChestControl.EnderChestControl.parseItem(EnderChest
    Control.java:295)
            at com.dillyg10.enderChestControl.EnderChestControl.getContents(EnderChe
    stControl.java:284)
            at com.dillyg10.enderChestControl.EnderChestControl.onInventoryOpen(Ende
    rChestControl.java:230)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.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.ja
    va:330)
            ... 18 more
    ?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 27, 2016
  28. Offline

    bizzig

    Many thanks my brotha
     
  29. Offline

    dillyg10

    That looks to be the same error... I have no idea why this is happening to you :/... It happens when you open an enderchest period? Even with nothing in it.
     
  30. Offline

    CraftyMclovin

    dillyg10:
    yes it happens even when there is nothing in the chest.. just opening a chest causes the error.. =/
     

Share This Page