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

    David.m

    not to create, to destroy, what do you mean by permission node? When you break a chest it unregisters the chest. I found a way with world guard regions to allow them to access the chest but not break it, just another unneeded plugin but it works. (im using this for a bank)
     
  3. They should not be able to break them...
    If the players don't have the permission to edit the contents...
     
  4. Offline

    David.m

    they can break them..and i had to fix it with world guard. the reason they couldnt edit the contents was worldguards fault though. only problem i have is a player can break a pchest WITHOUT the permission to do so.
     
  5. Then its a bug, I'll go have a look at it.
     
  6. Offline

    David.m

    thank rodey sorry for not making myself clear just woke up
     
  7. NP, Thx for using the plugin :D
     
  8. Offline

    danthe

    He,
    I've got a problem: Is there any way to remove it without losing everything stored in all of our chests? I defined our world as world to create new personalchests for every chest in it when installing it, kind of a problem though. Does somebody know how to do it right? I deleted the .jar or deleted the chestfolder instead etc., but we always lose all our items (stored in large chests, just to add) . That sucks. :(
     
  9. Restore it for every person who stored something in a chest?
    Because when you remove the jar the contents that where last inside a the chests are still inside.
    If you didn't alter anything inside a chest the original items are left intact, because it doesn't register an chest until you use it.

    Could you be more specific what you precisely did, so I can track back what went wrong an what the cause of the problem is.
    Tell it to me like I'm a child ;)
     
  10. Offline

    danthe

    I installed the plugin and added our world into the config.yml so that chests are automatically created in this world.
    When I deleted the .jar, the chests were empty. :( (I recovered from our daily backup of course)
     
  11. Hmm strange, because if you add the world to the config the chests won't get empty...
     
  12. Offline

    danthe

    They did not when I installed the plugin. Just when I delete it, that's my problem.
     
  13. Offline

    Unjust

    Can't wait till the furnaces ^^
     
  14. Offline

    vDepth

    Sadly items don't keep enchantments.
     
  15. Offline

    Deans789

    Every time i click the chests it says "You cannot open the chest at this moment" what is it trying to say and how can I fix it?

    Thanks
     
  16. Currently it's a time issue, even on Christmas I'm replying to this don't know why but I do love to make plugins xD

    That is a good notice, I forgot about that one, this needs a rewrite on the saving part but it is necessary.


    Do you have Spout intalled on the server?
     
  17. Offline

    danthe

    Still can't delete this...
    Every pchest ever created (and this is literally every single one as I added the world to the config) is empty after deleting Personalchest. :/
     
  18. Updated to 1.0.5 to remove Permission dependency.

    @danthe You can try the new version but I doubt that it will work, I seriously don't know what the problem could be, unless I have the exact same server settings to replicate it...
     
  19. Offline

    Draxcyn

    Awesome!
     
  20. Offline

    Deans789

    No, i don't have spout on my server.
     
  21. Offline

    Deans789

    But I don't get it, Spoutcraft is just another Minecraft program, what has it got to do with running this plugin... I've been on a server that has this plugin and works with the normal Minecraft launcher... :( I'm not a happy camper

    *edit* downloaded spoutcraft instead of spout... woopsies. i'll see what happens :S

    WOW :D

    IT WORKS!
    This has gone from what seemed like a bad plugin to the best plugin on my server :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  22. This plugin needs some functions that bukkit normally doesn't have, because bukkit can't detect if chests are opened or not, with spout you can.
     
  23. Offline

    morizuki

    I have a problem..
    this is my config
    Debug: true
    Worlds: Otaku_Island #My Whole Map
    ResidenceRegions:
    WorldGuardRegions: otaku_island.otaku_town, otaku_island.otaku_town_park, otaku_island.otaku_town_square #I want to cancel the PersChest inside this region
    but it's not working..
     
  24. If the world is "Otaku_Island " with Captial "O" maybe you have to do the same with the regions.
     
  25. Offline

    morizuki

    yep i tried that one too..
     
  26. What region manager are yo using?
     
  27. Offline

    morizuki

    WorldGuard/WorldEdit..
     
  28. morizuki

    New version is online:

    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!
     
  29. Offline

    morizuki

    Thank you so much XD

    I just wanna ask, is there any way to scan the whole chunk once and register all the chest?
     
  30. I think it is possible, but in the time I can work on the plugin it isn't any time soon yet.
     

Share This Page