Inactive [ADMN] ChestRestock v2.0 - A simple way to restock chests and a unique way to give items [1.2.4-R1]

Discussion in 'Inactive/Unsupported Plugins' started by dumptruckman, Jul 4, 2011.

  1. Offline

    dumptruckman

    ChestRestock - A lightweight and easy way for server ops to make automatically restocking chests

    Version: 2.0

    ChestRestock 2.0 is ONLY avaiable at dev.bukkit.org

    This plugin will allow server ops to set up chests that automatically restock based on configurable parameters. This will allow you to create special chests for a variety of situations. You could create a chest for people new to your server containing a set of starter gear that they can only loot once. Or make reward chests in dungeons where you don't have to worry about them being empty. All kinds of things are possible!


    IMPORTANT!: In version 1.1 I had to update how the chest data was stored to make this plugin more multi-world compliant. As such, your current chests will no longer be configured. However, if you know how to work yaml files, you can edit your config.yml file and update it pretty easily. You just need to create another sub-category under "chests:" which will be "worldname:" to indicate which world the chests reside in. (Just make sure to put the name of your world instead of worldname)


    Features:
    • Automatically-restocking chests
    • Chests can either add to or replace their current stock
    • Configurable restock period
    • Can either be set to start timing based on the time a player last opened the chest or at specific intervals
    • Can be set to preserve the position of the items in the chest
    • *new* Configured chests will be indestructible by default with an option to disable said behavior
    • *new* Chests can be configured to limit the number of times it will restock for each player
    • *new* Restock chest by command
    • *new* Full multi-world support
    • *new* Chest naming
    Download ChestRestock
    Source Code

    There is lots of help available in game! Type "/chestrestock" to see a list of sub commands and "/chestrestock help" to learn more about the plugin.

    Instructions
    • Place ChestRestock.jar in your plugins folder.
    • Start or reload your server.
    • Type /chestrestock while in game
    • Or target a chest and type /chestrestock set
      • This will set up the chest with default settings (adjustable in config.yml) and will restock with the items currently in the chest.
    Changelog:
    Version 1.1
    • Added option to make chest indestructible to anyone but ops. This will also cause explosions that hit them to be cancelled completely.
    • Added option to make chests lootable only X amount of times by each player.
    • Added a reload sub-command to reload the config file.
    • Added a restock sub-command to immediately restock a chest.
    • Added better multi-world support. Unfortunately this WILL break existing configurations.
    • Added ability to give chests a name. This should make it a little easier to find them in the config file.
    • Fixed bug that caused chests in replace mode to add items instead.
    Version 1.0-Beta
    • Initial Release!
    Todo:
    • Permissions support
    • Redstone restocking
    • Pretty up the in game text
     
    Ushlak, buckZor and scrub88 like this.
  2. Offline

    dumptruckman

    No, sorry >.< I've had other projects distracting me. I will try to get it out this weekend!
     
  3. Hello,

    I have found a severe bug.
    If you place something with an additional data value in a restocking chest (like slabs, wooden slab, cobble slab, stone slab or colored wool…), it is transformed back to the "default" item (stone slab, white wool…) at restock. I hope you can fix this in an upcoming version of the plugin.

    Create work! I like the plugin.

    flauschi
     
    sockenklaus likes this.
  4. Offline

    Smukkeoby

    Thanks! Now i can use the commands but still got a problem! I want to make like a starter pack, that new players can get in my spawn house, but i only want them to be abble to take the pack once for EACH player? So each player only will see the items once! Is that possible? :) Please help! :)
     
  5. Offline

    scrub88

    he said its already fixed in the new version :)

    use /cr playerlimit
     
  6. Offline

    dumptruckman

    Set the player limit to 1. In the next version, you can even have them have their own chest instance... That means if someone else opens it but doesn't loot it, no one else will see the leftover items.

    Yes, it is fixed in the next version. I wouldn't call this "severe" though ;p
     
  7. Offline

    excalibr23

    Hey man, great plugin. However my chests stop restocking after awhile. Have no idea what would cause it. It works for awhile, then it just stops working.
     
  8. Offline

    dumptruckman

    Do they have a player limit?
     
  9. Offline

    excalibr23

    They do not.
     
  10. Offline

    Hornik_Honza

    this is one of the best plugin ou there.
    makes rpg things lots easier for me. Thanks

    After how long time did u experince this excalibur?
     
  11. Hey, This plugin is awesome! But I've an idea. Could you make a shop mod to go with this? So there would be an unlimited shop. and no one could loot it and you wouldnt have to restock it.
     
  12. Offline

    dumptruckman

    Sorry, this is the only shop I plan to make: http://forums.bukkit.org/threads/29085/
     
    mugabuga likes this.
  13. Offline

    Soorena

    Will you be able to do the same thing with dispensers?
     
  14. Offline

    dumptruckman

    This may be possible.
     
  15. Offline

    mugabuga

    2 questions. Does this work with CB1000, and are there any plans for Superperns support?
     
  16. Offline

    dumptruckman

    It should work with CB1000 and there are plans to support Superperms.
     
  17. Offline

    hampeey

    I think it's EPIC! Request tho. Can you make it so Furnaces and dispensers also "Restock" Since my server is fallout like and you can find items in furnaces and dispensers O;O! (I dunno if anyone else requested this, I didn't have time to read through all the comments! D:) Thx for the plugin! :D
     
  18. Offline

    AnniKa

    For me this is the best chest refiller plugin, i use this for some quest caves with a reward in the end.
    Can you please add support for Dispensers? also some kind of "refill when its empty" ?
    this would be very cool for self shoot systems =)
     
  19. Offline

    G4meM0ment

    Will your Plugin be updated in the future? I MUST have it! Please update it for 1185+
     
    Bigun likes this.
  20. Offline

    Fevenis

    @dumptruckman, thank you so much for all your hard work on this. Do you plan to continue updating this plugin? It's by far the best restocking one I've come across.

    Two things I'd like to see in the next version:
    1) Dispenser restocking.
    2) Restocking of the correct kind of potion. Currently if I stock a Potion of Strength (or any other potion), it'll restock a Water Bottle.
     
  21. Offline

    Kimberly2000

    Does this work with 1337, and will it work with the next RB version that is compatible with 1.9/1.0.0

    If the author has abandoned this project, can another author please take up where the previous one left off?
     
  22. Offline

    spoonikle

    :D update would be appreciated.
     
  23. Offline

    94miner

    I need a lot of help:
    1) How do i set it to a custom time?
    2) How do i set it so it refills only for certain ranks? with specific time settings?
    3) How do i set it so refills at random times?
     
  24. Offline

    microskies

    Awesome, still works with 1597 :D Thanks for this plugins :D
     
  25. Offline

    IdealIdeas

    what command allows me to make a specific chest only lootable 1 time per player?
     
  26. Offline

    buckZor

    Needs to support Enchanted items, Potions and dispenser support would be really REALLY nice. Please update :) :)
     
  27. Offline

    Medic0987

    hey this works on 1.1-R4!!!!! WOOOT!
     
  28. Offline

    egladius

    I really wish this worked with enchanted items.
     
  29. Offline

    dumptruckman

    It will once 2.0 is done.
     
  30. Offline

    Catjjc

    Any idea when 2.0 will be done? ^-^
     
  31. Offline

    dumptruckman

    When it's done ;p I'm working on updating several plugins at once because of the removal of deprecated stuff in bukkit 1.1-R5. Ended up making a library (that is finally done) that should speed up this process.
     

Share This Page