Description:
This is a simple plugin to restock chests after a certain amount of time. It has many configurable options. It is based mostly off of dChest by dumptruckman, but I have done a complete code rewrite, and many features differ.
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
- Configured chests will be indestructible by default with an option to disable said behavior
- Chests can be configured to limit the number of times it will restock for each player
- Restock chest by command
- Full multi-world support
- Chest naming
Instructions:
- Place ChestRestock.jar in your plugins folder.
- Start or reload your server.
- Type /chestrestocker or /cr while in game
- Or target a chest and type /chestrestocker set or /cr
- This will set up the chest with default settings (adjustable in config.yml) and will restock with the items currently in the chest.