Inactive [MECH/FUN] PersonalChests v1.2.0 - Player bound chests [1.2.5-R1.0]

Discussion in 'Inactive/Unsupported Plugins' started by rodey, Jul 6, 2011.

  1. PersonalChests - Player bound chests
    Version: v1.2.0

    NOW on BukkitDEV!

    This is my first plugin and even my first Java written thing
    Hope you will enjoy it :)

    This plugin makes it possible to have different chest inventories for each Player with one chest.
    If you register a chest with contents already in it each player will have the change to get the items like a treasure chest.
    It is also possible to make a inventory chest that can be used by each player personally.


    Features:
    • Treasure Chest like capabilities.
    • One chest different inventories for each player.
    • Entire world auto create PersonalChests.
    • Region Based PersonalChest (WorldGuard and/or Residence).
    • Large chest support.
    • Anti creeper and griefer support.
    Commands:
    • "/pchest create" : to create a PersonalChest.
    • "/pchest remove" : to unregister a PersonalChest.
    • "/pchest info" : to view is a chest is registered.
    Permissions:
    permissions aren't necessary it will fall back to the default OP functionality for the edit functions.
    • "pchest.edit" : Permission to allow players(Admins/OP) create or remove PersonalChests.
    • "pchest.open" : Permission that allows players to open PersonalChest.
    Config:

    Regions: Makes all chests inside this region an PersonalChest when used by someone.
    But if the region is in a PersonalChest World it will cancel the registering in that specific region.
    Debug: The usual displays debug info.
    Worlds: Make all chests inside this world automatically an PersonalChest when used by someone. Useful when your world is a custom made world with chests and inventory in it.


    ToDo:

    Download:
    Jar file: PersonalChest.jar
    Source Code:
    https://github.com/rodeyseijkens/PersonalChest

    A donation is greatly appreciated [​IMG]
    If you run a paid server and need some custom functionalities I'm willing to make that happen for you if you make a generous donation, contact me if you got some requests.



    Changelog:
    Show Spoiler

    Version 1.2.0 (4/4/2012)
    • Enchanted items Support!
    Version 1.1.2 (31/3/2012)
    • CB 1.2.4-R1.0 Support
    Version 1.1.1 (8/3/2012)
    • Fixed chest create double row bug
    Version 1.1 (4/3/2012)
    • 1.2.3-R0.1 Support
    • Removed Spout dependency (From now on you don't need Spout to run this plugin)
    Version 1.0.9 (7/2/2012)
    • Fixed default regions in config bug (Chest Interact Event).
    • Fixed Spout close chest event bug.
    Version 1.0.8 (29/1/2012)
    • Fix for new Event System.
    Version 1.0.7 (22/1/2012)
    • Fixed permisson "pchest.open".
    Version 1.0.6 (18/1/2012)
    • Fixed bug in the config where the regions don't get loaded properly. Make sure you have the correct config!
    Version 1.0.5 (29/12/2011)
    • Removed Permissions dependency, now you can use the permissions you like.
    Version 1.0.4 (20/11/2011)
    • Fixed some config bugs.
    • Registered chests now lock when spout is not loaded (useful to run on for example a newer CB version when spout isn't updated).
    • Works on CB 1337+ (minecraft 1.0) when spout is removed.
    Version 1.0.3 (1/10/2011)
    • Fixed item duplicate bug from Spout when player gets pushed away from chest. (Thanks to st_remy)
    • Fix the errors when a double chest was created is a chest was registered.
    • Remove and unregister chests when destroyed (still needs the "pchest.edit" permission).
    • Added "/pchest info" command to check if chest is registerd.
    • !!!Removed auto download Spout when not installed!!!
    Version 1.0.2 (22/8/2011)

    • Added support to use WorldGuard and Residence simultaneously.
    Version 1.0.1 (16/8/2011)


    • Added Residence Region Support
    • Fixed chests getting opened when viewed by an other player.
    • Tested for Bukkit 1060 (May manually update to latest Spout).
    Version 1.0.0 (9/8/2011)


    • Added Regional Based PersonalChest.
    • Fixed normal registerd chests not functioning.
    Version 0.9.3 (5/8/2011)


    • Bug Fix for chest in use event.
    Version 0.9.2 (5/8/2011)


    • Bug Fix for right click event for admin.
    Version 0.9.1 (5/8/2011)


    • Bug Fix for right click event.
    Version 0.9 (4/8/2011)



    • BukkitContrib migration to Spout (BukkitContrib no longer compatible).
    • Added creeper and griefer chest destroy protection (explosion protection).
    • Added the ability to unregister a chests from a PersonalChest world.
    • Added permission "pchest.open" to open chests.
    • Added nicer chat messages.
    Version 0.8 (16/7/2011)


    • BukkitContrib doesn't need to be downloaded manually anymore
      PersonalChest downloads it automatically for you now.
    Version 0.7 (14/7/2011)


    • Better check if chests are opened or not.
    Version 0.6 (13/7/2011)


    • Large chest support!!!
    Version 0.5 (7/7/2011)


    • Fixed right click interact event error on blocks.
    Version 0.4 (7/7/2011)


    • Fixed chest not automatically getting registered in PersonalChest Worlds.
    Version 0.3 (7/7/2011)


    • Fixed Double chests that ain't registered still get got message that they aren't supported.
    • Fixed single chests that ain't registered still check if in use.
    Version 0.2 (7/7/2011)


    • Fix when multiple players are viewing chest. Now only one person at the time can view a chest.
    • Large registered chest don't give an error anymore. They will display a message that I't isn't supported yet.
    • Registered Chests can't be destroyed. Need to unregister the chest to destroy a chest.
    Version 0.1 (7/7/2011)


    • Releasing my awesome plugin
     
  2. Offline

    morizuki

    ok.. I'll be waiting for that :D
     
  3. Offline

    Valdifer

    This plugin is awesome!!!!! Thx for plugin man :D

    Te doy mis dies
     
  4. Offline

    Crayder

    I'm not understanding the permissions. I've given a certain group the "pchest.open" permission, but everyone can still open and use the chest. Any idea why?

    This is a great plugin though, I just want to be able to limit its access to certain players.
     
  5. Offline

    BeeT

    Maybe you can make it without spout? Because with spout i have some problems...
     
  6. Updated to 1.0.8 to support for the new Event System.

    If I could I would, but bukkit can't detect if chests are getting opened and closed yet.
     
  7. Offline

    BeeT

    You can detect it for example with editing file:

    chest1=1 - closed
    chest1=0 - opened

    and chest by coordinates if chest is opened or closed, when player interact on chest chest1=0 or smth. like this, also you can check ItemBank plugin, he made that people can use chest together
     
  8. I already do that to check if it is in use, but minecraft it self won't give me an event when players close chests, so I need Spout for that...
     
  9. Offline

    BeeT

    Oh. Sad.. :(

    I recommend you check citizens plugin "Trader.jar", because with this plugin you can use shop like a bank, for example sell item and item will be in shop, buy item and item will be removed from shop.

    This plugin use NPC not Chest, but i think it will be cool if you made it.
    :)

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

    TheShadow777

    hey i have a problem:
    the commands all works but i cannot acces a personal chess "You can't access this chest at this moment"
    i use latest version of PEX
     
  11. Have you installed Spout?
     
  12. Offline

    TheLavaGuy

    Thx
     
  13. Offline

    TheShadow777

    yes, latest recommend version 737

    //edit: hm after a restart works.. sorry <.<

    aaarrggh ... now i have a other bug... the chest dont save my items, for example: i put a minecart in a personal chest and close it, then i open the chest and the chest is empty... any idea why ? :(

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  14. Have you installed the latest version of my plugin, I had a fix for that in the latest version.
     
  15. Offline

    wsurfer852

    Someone probably already asked this, but is Spoutcraft required too?
     
  16. Nope only Spout Server Side.
     
  17. This is clever.
     
  18. Offline

    wsurfer852

    great. downloading now
     
  19. Offline

    Mrmambaa

    I have problem, can you help me?
    I can't open personal chest, if i try do this in text write "You can't access this chest at this moment":
    [​IMG]
    and when i break chest i get on console this error:
    [​IMG]

    I have spout 1.1-R4 on my server, because i can't find 1.1-R3,
    and i have spoutcrtaft client.
    I was op, and i have all permission on my player.
    What do you think. What was i doing wrong?


    @edit
    I just fix it :p
    I haven't it http://dev.bukkit.org/server-mods/spout/files/
     
  20. Offline

    BeeT

  21. I'm happy to inform all of you that Version 1.1 is released!
    This version has support for 1.2.3-R0.1 and with that release the Spout dependency is a thing of the past.

    I think a lot of people will be happy with this release!


    PS: This version doesn't work on older versions!!
     
  22. Offline

    Limeth

    Thank god it works for 1.2.3, this was one of my favorite plugins after nocheat. :D
     
  23. Glad to hear that!
     
  24. Offline

    Limeth

    I'm coming with bad news. Sometimes the chest becomes an infinite source of things.. I also discovered that I can open chest while it is already opened. (I think its the bug)
     
  25. Then I will dive into it!

    Could you also describe how the infinite bug works then, the actions you do to replicate it.
     
  26. Offline

    Limeth

    I could, but not today... I feel pretty tired already. I'll give it a try tomorrow. Try it by yourself, it's not that hard. :D

    I have found an error spamming in my log file.
    Code:
    2012-03-07 14:15:25 [SEVERE] java.io.FileNotFoundException: /hlserver/27387/plugins/PersonalChest/chests/Players/McMaan/chests.open (No such file or directory)
    2012-03-07 14:15:25 [SEVERE]    at java.io.FileInputStream.open(Native Method)
    2012-03-07 14:15:25 [SEVERE]    at java.io.FileInputStream.<init>(FileInputStream.java:138)
    2012-03-07 14:15:25 [SEVERE]    at java.io.FileReader.<init>(FileReader.java:72)
    2012-03-07 14:15:25 [SEVERE]    at nl.rodey.personalchest.pchestInventoryListener.getPlayerOpenedChest(pchestInventoryListener.java:86)
    2012-03-07 14:15:25 [SEVERE]    at nl.rodey.personalchest.pchestInventoryListener.onInventoryClose(pchestInventoryListener.java:34)
    2012-03-07 14:15:25 [SEVERE]    at sun.reflect.GeneratedMethodAccessor77.invoke(Unknown Source)
    2012-03-07 14:15:25 [SEVERE]    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    2012-03-07 14:15:25 [SEVERE]    at java.lang.reflect.Method.invoke(Method.java:601)
    2012-03-07 14:15:25 [SEVERE]    at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301)
    2012-03-07 14:15:25 [SEVERE]    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    2012-03-07 14:15:25 [SEVERE]    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:441)
    2012-03-07 14:15:25 [SEVERE]    at net.minecraft.server.NetServerHandler.handleContainerClose(NetServerHandler.java:1031)
    2012-03-07 14:15:25 [SEVERE]    at lishid.orebfuscator.hook.NetServerHandlerProxy.handleContainerClose(NetServerHandlerProxy.java:168)
    2012-03-07 14:15:25 [SEVERE]    at net.minecraft.server.Packet101CloseWindow.handle(SourceFile:16)
    2012-03-07 14:15:25 [SEVERE]    at net.minecraft.server.NetworkManager.b(NetworkManager.java:229)
    2012-03-07 14:15:25 [SEVERE]    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:112)
    2012-03-07 14:15:25 [SEVERE]    at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:60)
    2012-03-07 14:15:25 [SEVERE]    at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
    2012-03-07 14:15:25 [SEVERE]    at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:554)
    2012-03-07 14:15:25 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:452)
    2012-03-07 14:15:25 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  27. The chest create bug duplication is fixed in v1.1.1
     
  28. Offline

    Fireblade954

    just had the same problem on v1.1.1
     
  29. Are you using the correct bukkit version?
     
  30. Offline

    Fireblade954

    currently running build 2052
     
  31. Offline

    Knuckles5577

    Does this conflict with disposal chest?
     

Share This Page