[INACTIVE][MISC] Alpha Chest v1.6.2 - Gives a use to virtual chests [714]

Discussion in 'Inactive/Unsupported Plugins' started by Mast3rPlan, Feb 14, 2011.

  1. Offline


    Alpha Chest (v1.6.1)
    Gives a use to virtual chests

    This plugin enables to give users a virtual chest, this can come in handy on survival servers and also on creative servers. When you die you will not loose the contents that are in the chest. You can simply open it by typing /chest and you can open other people their chests by typing /chest player!

    This plugin can work with Nijikokun's Permissions system, but it's not needed.

    • /chest - Open your virtual chest (requires "ac.chest")
    • /chest [player] - Open someone else's chest (requires "ac.admin")
    • /clearchest - Clears your virtual chest (requires "ac.chest")
    • /clearchest [player] - Clears someone else's chest (requires "ac.admin")
    • /savechests - Saves the contents of the chests (requires "ac.save")
    • /reloadchests - Reloads the seperate configuration file if in-use. (requires "ac.reload")
    Configuration File:

    Only needed if you don't have permissions
        - ac.admin
        - ac.save
        - ac.reload
        - Mast3rPlan
    Special Thanks To:
    • Mast3rPlan - For the main development and the idea of the plugin
    • kroimon - For helping me develop ths plugin and releasing new updates
    Beta Testers:
      • arco123
      • merdid
      • rastamonky
      • pm me if I forgot you
    Download Plugin:

    • Version 1.6.2
      • Updated to latest CraftBukkit version to work with Minecraft 1.5_01
    • Version 1.6.1
      • Fixed bug saving chests in wrong location
    • Version 1.6
      • Updated to latest CraftBukkit version (b493)
    • Version 1.5
      • Minor bug fix (Changed name from "Alpha Chest" to "AlphaChest")
    • Version 1.4
      • Minor bug fixes
      • Add support for servers that don't have Permissions
    • Version 1.3
      • Minor bug fixes
    • Version 1.2
      • Added functionality for clearing chests
      • Minor bug fixes
    • Version 1.1
      • Fixed item data saving (Colored wool)
    • Version 1.0
      • Initial release of Alpha Chest
    NoFear13 likes this.
  2. Thank you. Cool plugin.
  3. Offline


    Maybe it's handy to post your Permissions nodes in your main post ;)

    I'm blind! Nice plugin!

    Can't wait till someone uses Virtual Chests for shops!
  4. Offline


    I might, if you want, well if alot of people want it. I can ^^ Maybe you want to help?
    Prolly gonna start on it now, haha! pm me if you're interested :)
  5. Offline


    On Craftbukkit #407:

    Show Spoiler
    Feb 15, 2011 10:07:59 PM org.bukkit.craftbukkit.CraftServer loadPlugins
    SEVERE: null (Is it up to date?)
        at com.mast3rplan.alphachest.acChestManager.load(acChestManager.java:55)
        at com.mast3rplan.alphachest.acPlugin.onEnable(acPlugin.java:45)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:135)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:425)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:175)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:74)
        at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:55)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:171)
        at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:158)
        at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:110)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:209)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)
  6. Offline


    Try making a folder called AlphaChest in your plugins folder :)
  7. Offline


    Strange method of distributing your plugin then. I was sort of baffled the first go around downloading an empty folder in a zip. Combining them or having the plugin create it is probably a better way to go.

    Anyways... it runs with the folder, but throws an error and disconnects anyone trying to use the commands.

    Show Spoiler
    2011-02-16 04:37:25 [WARNING] Failed to handle packet: java.lang.NullPointerException
        at com.mast3rplan.alphachest.acPlugin.performAcChest(acPlugin.java:106)
        at com.mast3rplan.alphachest.acPlugin.onCommand(acPlugin.java:70)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:17)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:171)
        at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:610)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:589)
        at net.minecraft.server.Packet3Chat.a(SourceFile:24)
        at net.minecraft.server.NetworkManager.a(SourceFile:232)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:104)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:317)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:232)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:512)

    Did I miss any other requirements that aren't clearly spelled out? Jar in plugins, folder in plugins, permissions given via permissions plugin.
  8. Offline


    What's your bukkit version (build)?
    What's your Permissions version?
    looks like the plugins fails @ Permissions.has(player, "ac.chest") for you.
    Maybe you need a newer version of Permissions
  9. Offline


    CB 325, seems to fail, i can use it as admin, and gave the other players the ac.chest in permissions, what am i doing wrong ? When they type chest they get the Chest Help instead of actual chest ?
    --- merged: Feb 16, 2011 10:44 PM ---
    Found the bug, after u add'ed to permissions and u do /pr, nothing. u actually have to reload the plugin for the chest's to work.
  10. Offline


    I'm not sure why that happens, I think it could be something with Nijikokun's Permissions system because I just use it as described.
    --- merged: Feb 16, 2011 11:12 PM ---
    If anyone wants to request features for this plugin, just tell me!
  11. Offline


    Can you make this work without permissions.... just so everyone can use it?
  12. Offline


    This is pretty sweet. If you could add a config file that allows us to set which items can (or cannot) be stored in the virtual chest, this would be perfect.
  13. Offline


    It's possible to do but bukkit doesn't have an implementation to easily listen for items changed.
    But I'm making a plugin called AlphaStore that would listen for item changes so if that's done I'll implement it here to!
    --- merged: Feb 19, 2011 12:42 PM ---
    Haha, I'll start work on it right away!
    --- merged: Feb 19, 2011 2:07 PM ---
    There we go, I implemented a little system so you can use it witouth Permissions!
    DigidragonZX and Fluff like this.
  14. Offline


    Nice plugin [​IMG]!
    Thank you :)

    Please write a permission list too. [​IMG]
  15. If I try to use /chest I get the following error:

    2011-02-24 21:55:14 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'ches
    t' in plugin AlphaChest v1.5
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:21)
    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:77)
    at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:176)
    at net.minecraft.server.NetServerHandler.c(NetServerHandler.java:633)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:596)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:590)
    at net.minecraft.server.Packet3Chat.a(SourceFile:24)
    at net.minecraft.server.NetworkManager.a(SourceFile:230)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:70)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:338)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:253)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NullPointerException
    at com.mast3rplan.alphachest.acPlugin.hasPermission(acPlugin.java:219)
    at com.mast3rplan.alphachest.acPlugin.performAcChest(acPlugin.java:204)
    at com.mast3rplan.alphachest.acPlugin.onCommand(acPlugin.java:121)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:19)
    ... 12 more

    I use Permission 2.1 and Build 439.
  16. Offline


    its possible to have more than 1 virtual chest per player?
  17. Offline


    Same problem as NoFear had.
  18. Offline


    same problem. Permissions 2.1.

    I'm angry at my server, really thought I would find one plugin that lets users have truly private chests, thought this was it.
  19. Offline


    This plugin is great. A possible feature/request though is to make it so that admins can have the plugin work only in specific places within the world (such as a bank, ala the venerable UO ^.^)
  20. Offline


    stupid old constructor, nag nag !
  21. Offline


    I would also like a feature to only allow users access to their virtual chest while within a defined area (such as a bank). You also shouldn't forget to use permissions with this (so admins can still access everyone's chest anywhere, and "premium" users can access their chest from anywhere) and possibly multiple banks/defined areas? what about renaming chests or multiple chests and permissions for each... i'm rambling. i don't think that made much sense.
  22. Offline


    Is it possible to auto-save the chest on closing, so deleting the chest-content every serverrestart doesn't apear?
    Its so silly to type /savechest every time you accessed it...
  23. Offline


    When you shut down the server it saves :)
  24. Offline


    Just thought I would let you know...

    Also, does it save when you do the /save command via terminal? My server sometimes just dies, so I made a script that does an auto /save command every so often.

    Otherwise, can you make it somehow save regardless of a successful shutdown?
  25. Is this supported with b480?
  26. Offline


    Not working with 480 for me:
    20:26:57 [SEVERE] Could not load plugins/AlphaChest.jar in plugins: null
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:80)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.java:129)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:94)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
            at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
            at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
            at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.lang.NoSuchMethodException: com.mast3rplan.alphachest.acPlugin.<init>()
            at java.lang.Class.getConstructor0(Class.java:2723)
            at java.lang.Class.getConstructor(Class.java:1674)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.java:75)
            ... 8 more
  27. Offline


    Update this please!
  28. Offline


    Aye, please update this plugin, Its wonderfully simplistic and my users absolutely love it. Thanks!
  29. Offline


    Awesome plugin, my users love it :D ....but.....is it me or is the newest update saving the chests to a different location? The plugin works properly except for the fact that everyones chest is empty. I looked in the chests folder and all the chests are still there and aren't being modified (according to the last modified date) when I save the chests anymore. Did I miss something and the chests folder has been moved, or is this a bug/unannounced change?
  30. Offline


    I'm also affected by this problem. I've disabled the new update for now until its fixed. I dont want to end up with 2 chest versions for each player.

Share This Page