Mineuniverse
Log in Register
Plugins

ChestRestock

A simple way to restock chests and a unique way to give items
by dumptruckman
Download Claim this project
73,054 downloads
0 likes
Updated Jun 30, 2026
0 hypes
Admin Tools General

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!


Source | Issues | Wiki


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
    /cr
    
    while in game for a list of commands
  • Or target a chest and type
    /cr create
    
    This will set up the chest with default settings (adjustable in config.yml) and will restock with the items currently in the chest.

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

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.

2.3.2
MC 1.11, 1.12, 1.10
Release 2017-07-17 Get
2.3.1
MC 1.9
Release 2016-04-22 Get
2.3.1-SNAPSHOT-b100
MC 1.6.2
Beta 2013-04-05 Get
2.3.1-SNAPSHOT-b99
MC CB 1.4.5-R0.2
Beta 2012-12-18 Get
2.3
MC CB 1.4.5-R0.2
Release 2012-08-02 Get
2.3-SNAPSHOT-b65
MC CB 1.2.5-R4.0
Beta 2012-07-26 Get
2.3-SNAPSHOT-b63
MC CB 1.2.5-R4.0
Beta 2012-07-16 Get
2.3-SNAPSHOT-b49
MC CB 1.2.5-R1.0
Beta 2012-05-10 Get
2.3-SNAPSHOT-b48
MC CB 1.2.5-R1.0
Beta 2012-05-08 Get
2.3-SNAPSHOT-b23
MC CB 1.2.5-R1.0
Release 2012-04-27 Get
2.3-SNAPSHOT-b20
MC CB 1.2.5-R1.0
Release 2012-04-25 Get
2.3-SNAPSHOT-b9
MC 1.2.5
Beta 2012-04-17 Get
2.2.1
MC CB 1.2.5-R1.0
Release 2012-04-13 Get
2.2
MC CB 1.2.5-R1.0
Release 2012-04-12 Get
2.1.1
MC CB 1.2.5-R1.0
Release 2012-04-10 Get
2.1
MC CB 1.2.5-R1.0
Release 2012-04-09 Get
2.0.3
MC CB 1.2.5-R1.0
Release 2012-04-04 Get
2.0.1
MC CB 1.2.4-R1.0
Release 2012-03-31 Get
2.0.2
MC CB 1.2.4-R1.0
Release 2012-03-31 Get
2.0
MC CB 1.2.4-R1.0
Release 2012-03-30 Get

More from dumptruckman

Multiverse-NetherPortals
874,119
Multiverse-Core
6,901,054
buscript
6,358
Multiverse-SignPortals
426,823
Multiverse-Portals
3,019,019
SpamHammer
28,141

You Might Also Like

AdBolt Advertising Network
Make money from your Minecraft server by running ads!
9,992
Mineload
Mineload
9,978
BeastTP
BeastTP v1.0 - Teleportation Made Easy! -[Permissions][1317]
9,966
RegionManager
generate regions with just one command!
9,950
TimeKeeper
Keep the Server-Playtime per Day
9,948
SimpleAdmin
simple way to ban/kick unwanted players from your server
9,945