ChestRestock
This plugin allows admin 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!
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 fixed intervals
- Can be set to preserve the position of the items in the chest
- Restocking chests are indestructible by default
- Limit # of times a player may loot each chest
- Restock chest by command
- Full multi-world support
- Chest naming
- Unique properties per chest (for any of the chest properties)
- Global default settings for all chests and optionally world specific defaults
- NEW in 2.0 Option for chests to have unique inventories per player (No loot theft!)
- NEW in 2.0 Option for chests to redstock when they receive redstone power
- NEW in 2.0 Commands are more dynamic
- NEW in 2.0 Now works with ANY block based inventory (dispensers, crafting benches, etc)
- NEW in 2.1 Option for chest to broadcast a global message when it restocks
- NEW in 2.2 Randomized loot for chests!
- NEW in 2.3 Command to restock all chests or chests with specific names and/or in specific worlds
- NEW in 2.3 Ability to set all chests in a world to restock with what is currently inside of them (This is limited by default to NOT include newly created chests!)
Instructions
- Place ChestRestock.jar in your plugins folder.
- Start your server.
- Type while in game for a list of commands
/cr
- Or target a chest and type This will set up the chest with default settings (adjustable in config.yml) and will restock with the items currently in the chest.
/cr create
Permissions
All permissions are default: OP
- chestrestock.*: grants all permissions
- chestrestock.cmd.*: grants all command permissions
- chestrestock.cmd.<cmdname>: grants specific command permission
- chestrestock.break.*: allows breaking any chest
- chestrestock.break.<chestname>: allows breaking specific chest
- chestrestock.bypass.lootlimit.*: allows unlimited looting of any chest
- chestrestock.bypass.lootlimit.<chestname>: allows unlimited looting of specific chest
- chestrestock.cmd.*: grants all command permissions
Further Help
- Type /cr help for a list of commands.
- Type /cr set while targeting a chest you have initialized with /cr create to see a list of properties you can set for it.
- Type /cr set <propertyname> to see a description of what the property does.
- Type /cr set <propertyname> <value> to set a value for a property.
- global_defaults.yml contains default chest settings for when a world does not have a specific default.
- defaults/<worldname>.yml contains default chest settings for specific worlds.
- If a default setting is missing for a world, the default in global_defaults.yml will be used.
- Loot Table Tutorial
IF YOU ARE HAVING LOOT TABLE PROBLEMS
First, go here: http://yaml-online-parser.appspot.com/
Paste your loot table file into the left-hand box. If it says you have problems in the right-hand box, this is why it doesn't work for ChestRestock.
Yaml is a very particular file format and it doesn't like when you don't enter things correctly. Read a tutorial.
How can I use the loot-tables feature? I do NOT find much help with the config example, so please make a video tutorial or make a better config example and I suggest adding comments in the actual config file ( #For example this ) I'm trying to setup random per-player chests for a GTA server and I'm in need to know how the percentages range and how the config format should be, a complete tutorial will help a lot.
Thanks.
How do you make every chest in a map thats already placed a chest restock chest with out going to every chest and typing /cr create
Just tryed the plugin and it seems to work on CraftBukkit 1.8. It will be usefull !
Since this plugin doesn't seem to work with the current Versions (specifically Cauldron 1.7.10), I wonder if anyone has found a similar plugin that works?
I need a plugin that allows chest inventories to be unique per player, no refill option needed, to create treasure chests that everybody can loot only once.
Hello, I am not sure what to do, so the chests restock at every time a game ends
Hi, the plugin used to work perfectly fine for me but now its super buggy and half the time it doesnt work. I configure everything and it works, as in it saves it the correct way. But when I do /cr reload is takes all the items from my chests. I do /cr restockall and not all of the chests refill. I then proceed to do /cr restock too all my chests which is not a pain but its annoying since thats what the plugin should be doing. When I take items from the chests and re-open the chest it is supposed to restock it immediately, it doesnt do it at all. I have the chests settings set to its timed delay at 0 and 0 under global_defaults. I also have it set to player restock mode. Im confused why half the time it doesnt work and just deletes the items in my chests.
work with 1.7.9 bukkit? etc?
Really nice plugin, works perfectly!
@editplayz
yeah, thats the whole point of the plugin...
is there a way to be what spawned in the chest totally random and the loot inside being configurable
@ConquestServer
Mine work perfectly fine dude...
Great plugin. I just wish that it would restock items exactly like they were placed in the chest. ie If I put a fire aspect sword in, then it would restock with a fire aspect sword, instead of just a regular sword.
My players can't open friggin chests!
This plugin does not restock any chests I set with a loot table.
@alfista
Yes, it is currently working for me, on 1.7.9.
@Vapor_demon
because when this plugin takes over a chest you no longer physically open the chest. each person that opens the chest opens a new "virtual" chest that contains loot specific to them.
I made a Trapped Chest into a respawning chest, but it no longer hs a redstone signal. Any Suggestions?
how do we config the loot table so it is infinite, e.g. a dispenser?? there seems to be no help on the wiki for it?? I need to know how to configure the chests!!!!!!!!!!!!!!!!!!!!
Well you see everyone, the person who started this plugin is more than likely busy. Dumptruckman has made all of the multiverse plugins we know and love. 10 out of 10 chances, he has his hands full with those and doesn't have a lot of time to do this. So it could be a while until this plugin is updated,or it could be any day now, who knows!
Hi, I like this plugin, but I'm preparing for migrating to MC 1.7.9 and would like to know if this plugin will work that.