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

    dark1256

    great plugin!
     
  3. Offline

    Scandragon

    I don't have any pchest worlds, and my players can open pchests..
    But they cannot pull levers, blace or destroy blocks, open/close doors, or anything else now..
    All gives the warning that they do not have access to that personal chest
     
  4. Offline

    Nytemare3701

    Request: command to register all chests on a world as PChests. I have a dungeon world with HUNDREDS of chests.
     
  5. Offline

    Scandragon

    Already possible.
    Simply add the world in config
     
  6. Offline

    Nytemare3701

    Missed that. Thanks!
     
  7. I'm on it,
    look out for update 0.9.1

    EDIT:
    Updated to version 0.9.1

    EDIT2:
    For the people who downloaded it, the wrong jar was online.
    Now the right one is online.

    EDIT3:
    Apparently v0.9.2 broke the event for the admin
     
  8. Offline

    morizuki

    Why is it sometimes, when opening the chest, it is currently in use?

    we tried restarting the server and they tried opening the chest, and it still currently in use..
     
  9. I'm going to find that out.
     
  10. Offline

    morizuki

    i tried upgrading and start the server and it's still currently use..
     
  11. Everything is fixed in version 0.9.3
     
    morizuki likes this.
  12. Offline

    kroltan

    Item duplication, anyone?
    Example:
     
  13. Yes that is possible but it shouldn't be for all the players in the server.
    Admin only ofcource, For example treasure chest and stuff.

    But it is a good point, I can make a node so other players can create PersonalChests but without the stuff in it.
    Then it drops all the stuff out of the chest when created by a non-Admin.

    EDIT:
    Version 1.0.0 isn't going to take long anymore.
    Region Based PersonalChests is coded for now, but I want to add the Linked Chest part too when I release it. What do you guys think, Release 1.0.0 only with Region Based PersonalChests or wait until Linked Chests is coded too?
     
  14. Offline

    Nananea

    Love this plugin!

    Question though...It's very possible I fail at Permissions but I want to give Guests the ability to look in chests but not build.

    Code:
    groups:
        Guest:
            default: true
            info:
                prefix: ''
                suffix: ''
                build: false
            inheritance:
            permissions:
                - 'pchest.open'
                - 'mcmmo.abilities.*'
                - 'mcmmo.skills.*'
                - 'wormhole.use.*'
                - 'mcmmo.commands.myspawn'
                - 'mcmmo.commands.setmyspawn'
        Regular:
            default: false
            info:
                prefix: ''
                suffix: ''
                build: true
            inheritance:
                - Guest
            permissions:
                - ''
    That's what my GlobalGroups looks like...but it's not working for "Guests". "Regular" users can access chests fine. Do they need build privileges to access chests?

    Thank you!
     
  15. It works fine with me, what permissions mod are you using?
    And are you sure it works correct with the "Regular" Players?

    Can you look in the server console and check if PersonalChest is enabled with Permissions?
     
  16. Offline

    Scandragon

    I assume you're using Permissions


     
    Nananea likes this.
  17. Offline

    Thraka

    I had my personal chest open, looking at the contents. Someone else came up and opened the chest and it erased all the items in it. No errors reported through the console.
     
  18. Offline

    Nananea

    Thanks for that. I will fix it on my end since I'm using only global configs.

    ...Just set per world Permissions with Permissions 3.15 and everything is working correctly. Thank you!
     
  19. Are you sure it was a really PersonalChest?
    When you left clicked it said Protected?
     
  20. Offline

    Thraka

  21. Apparently it doesn't save the file when it's opened.
    Will be fixed hopefully in an hour or so, then I release version 1.0.0

    EDIT:
    Version 1.0.0 is released.
    @morizuki think you will be happy to hear that region based registering of chests is now added.
     
  22. Offline

    morizuki

    yeah hahaha.. but.. What kind of region are u using? worldguard?

    also what happen when I have a region inside a region?
     
  23. Offline

    40540057

    Anywhere to download previous versions? OR anyone still got the version that DOES NOT use SPOUT, looking the the BukkitContrib/Spout dev version ...
     
  24. I recommend using Spoutbecause BukkitContrib is discontinued, many plugins will make the transition to Spout. But specially for you. Update to Spout if you want the new functions.
    Pre-Spout version 0.8

    The plugins checks only if the chest is in the region that is defined in the config.
    So if both the parent and the child region is defined both will act like normal.

    Maybe I'll make it in the next version so if the parent is defined and the child too that chests in the child will NOT be auto registered. Like that idea or do you think it good like this?

    EDIT: Yes WorldGuard Regions. The other one was Towny right?
     
  25. Offline

    40540057

    Thanks a ton, waiting for someone to do a multiworld texture, skin/cape and plugin to replace BukkitContribEssentials. :( Spout is also giving me errors, any idea?

    [SEVERE] Player: <name> was not properly updated during login!
     
  26. Offline

    morizuki

    err Residence XD
     
  27. Offline

    BioRage

  28. 1: It would not interfere as standard, only when its registered as an PersonalChest it could interfere (Linked/Bank chests will probably be present in update version 1.1.0 of PersonalChest).

    2: No known issues with LWC, you can apply the commands if you wish to the registerd PersonalChests, no interference what so ever.

    - - - - - - - - - - -
    @morizuki I will probably add Residence support then :D
     
    BioRage and morizuki like this.
  29. Offline

    Buckethead

    can it supprt more than 2 people on 1 chest say 5?
     
  30. Do you mean viewing inside the chest?
    Can you be more specific.
     
  31. Offline

    hedger

    This is still occuring

    using version 1.0.0 and CB1000.

    no errors occuring in the log
     

Share This Page