By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

Custom chest refill
version 1.2.3
Direct Download How to install?
Switch version
4856 Downloads / 6105 Total
4 Reviews
Plugin Description §


Define chests which auto-refill according to the config.

Define "chestmodes" in treasture.yml with an Item, MaxAmount and Probability for each of the 27 slots, and TreasureChest will refill according to that chestmode every x seconds, defined in config.txt


/tchest list : list all configured treasure chestmodes

/tchest common : start using the 'common' setting

/tchest {chestmode} and start tapping chests...

/tchest off to stop making Treasure Chests

Define the refill rate in seconds in the config.txt file


Define your own "chestmodes" in treasure.yml; three are predefined to get you started: common, uncommon and rare

Tap chests to enable automatic refill according to the chosen chestmode. The format for each chestmode slot must be ID:AMOUNT:PROBABILITY, for example:

 - "17:64:100"
 - "5:20:80"
 - "100:1:80"
 - "2:64:80"
 - "5:20:90"
 - "100:1:80"
 - "104:1:50"
 - "5:20:30"
 - "100:1:40"
 - "64:64:1"
 - "276:1:10"
 - "264:1:10"
 - "19:1:10"
 - "25:20:10"
 - "43:1:5"
 - "264:64:5"

RandomizeAmount Setting:

In prefs.yml you can define whether the AMOUNT of an item (the second number) is a fixed amount to be added to chests, or a random number between 1 and the amount.

In the above chestmode example, /tchest diamond would make treasure chests that have a 5% chance of being filled with a random number of diamonds between 1 and 64, unless RandomizeAmount was set to false... in which case there would be a 5% chance that diamond treasure chests would be refilled with (always) 64 Diamonds.

You can define up to 27 slots for each chestmode


Idea by 17bhata, Inspired by Falkirk's "ChestRefill"

What's new §
  • Manage chest breakage, show refill times, gentle refactoring
  • Untested updates for Scheduler nuke #2213 (9644766df3c69)
  • Updated for PMMP PocketMine 3.0.0
  • API version bump, untested
  • Bumped version
  • Oops.
  • overdue update
  • Updated for 3.0.0-ALPHA11, version bump
  • API version Bump
  • Bumped version
  • Reduced icon weight
  • removed deprecated .poggit folder
  • Version bump for 3.0.0-ALPHA9
  • Fixed for API 3.0.0-ALPHA7
  • Updated for API version 3.0.0-ALPHA7. Breaks BC

Fixed namespace, updated icon and readme

using v1.2.3
26 Apr 20
Really nice plugin!
using v1.2.1-4
22 Apr 18
I like the idea and it would be very usefull for my server.. The problem is that i get errors every 60 seconds and when i change the treasure config it doesn't use those items to refill the chest.. Could you please fix this?
using v1.2.1-3
31 Dec 17
wonderful plugin
using v1.2.1-2
02 Dec 17
Pretty neat plugin that allows you to randomly reward active members. Cool for servers with PVP areas as people have to fight over the items :)
using v1.1.1
12 Feb 18
This plugin is a great tool for a survival game setup, providing a specific bundle of items in a chest to needy/greedy players, once in a while. That 'll keep their spirits up!

Reply to review by :

Supported API versions
License §

You can leave one review per plugin release, and delete or update your review at any time