Chest Refill
A serverside mod that refills loot containers.
About this Mod
ChestRefill
A serverside mod that refills loot containers.
How-to
- Put the mod in your
mods/folder. - Restart the game / server.
- Tweak the config if you need, then use
/chestrefill reload
- Tweak the config if you need, then use
- Generate / create new loot chests.
- Loot them, wait for given time (default: 4 hours) and reloot them again with another account!
Features
- configurable (time, max fills, reset loot seed ...)
- permission support (
chestrefill.allowReloot) - works on any container extending
RandomizableContainerBlockEntity
Permissions
chestrefill.allowReloot- allows relooting chestchestrefill.configchestrefill.config.edit- allows in-game config editingchestrefill.config.reload- allows reloading config
Config
You can use an in-game /chestrefill command to edit the config in game.
Available options:
# Whether to randomize loot table seed."
# This ensures that regenerated loot is different each time.
# (default = true)
randomize_loot_seed = true
# Whether to allow players to reloot containers
# even if they don't have `chestrefill.allowReloot` permission.
# (default = false)
allow_reloot_without_permission = false
# Max refills per container, inclusive. -1 for unlimited.
# (default = 5)
max_refills = 5
# Whether to add loot even if container has some items already.
# (default = false)
refill_non_empty = false
# Minimum wait time to refill the loot, in seconds.
# (default = 14400 (=4 hours))
min_wait_time = 14400
Per-loot-table customization
You can also set custom values for specified loot tables.
Do you want the end city loot table refilled more times than default?
Set the following options.
{
"...": "",
"// Map to override above config for certain loot tables only.": "",
"lootModifierMap": {
"minecraft:chests/end_city_treasure": {
"randomize_loot_seed": true,
"allow_reloot_without_permission": true,
"max_refills": 100,
"refill_non_empty": false,
"min_wait_time": 60
},
"sample_mod:chests/custom_loot_table": {
"randomize_loot_seed": true,
"allow_reloot_without_permission": false,
"max_refills": 5,
"refill_non_empty": false,
"min_wait_time": 14400
}
}
}
This will cause the minecraft:chests/end_city_treasure to be
- relootable by same players
- refillable
100times - refilled each
60seconds
Per-container customization
You can customize a chest using the NBT tags. These will override
the both config defaults and loot table overrides.
ChestRefill: {
RefillCounter: 0,
SavedLootTable: "minecraft:chests/igloo_chest",
CustomValues: {
AllowReloot: 1b
MaxRefills: -1
MinWaitTime: 60
}
}
(RandomizeLootSeed and RefillNonEmpty custom values are also available.)
The command would look like the following:
/setblock ~ ~ ~ minecraft:chest{ChestRefill: {RefillCounter: 0, SavedLootTable: "minecraft:chests/igloo_chest", CustomValues: {AllowReloot: 1b, MaxRefills: -1, MinWaitTime: 60}}}
This will create a lootable container that can be
- relooted by same players
- refilled infinitely
- refilled every 60 seconds
Available Versions
How to Install Chest Refill on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set fabric Loader
In the panel under "Egg", select the fabric loader and matching Minecraft version (1.19).
Install Mod
Open the mod browser in the dashboard and search for "Chest Refill". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.19, 1.18.1, 1.17.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Chest Refill server crashes on startup – what to do?
Most common cause: wrong fabric version or insufficient RAM. Check the server log (latest.log) for "OutOfMemoryError" or "Mixin" errors. With Mado Hosting: ensure at least 3 GB RAM is allocated and the loader matches the mod version (1.19). You can switch loaders with one click in the panel.
Is Chest Refill compatible with fabric and forge?
Chest Refill officially supports fabric, forge for Minecraft 1.19, 1.18.1, 1.17.1. Note: Forge and Fabric mods are NOT cross-compatible – pick one loader and stick with it. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Chest Refill – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Chest Refill consumes the most tick time. Common fixes: reduce server view-distance to 8-10, install "performant" or "starlight" as supplementary mods on Forge. With Mado Hosting, your server runs on NVMe SSDs with dedicated CPU cores for minimal latency.
Similar Mods
Rent Modded Server
Install Chest Refill with just one click on your server.