
LootRestock
A lightweight Fabric mod that automatically restocks loot chests after a configurable amount of time has passed.
About this Mod
LootRestock
Description
LootRestock is a lightweight Fabric mod that tracks when chests are looted and automatically resets them after a configurable period. This ensures that loot can replenish over time, ideal for persistent servers, custom maps, and adventure-based gameplay.
Key Features
- Tracks every lootable chest opened by players
- Resets chest contents based on original loot tables only when chunks are loaded
- Configurable cooldown period using simple time units (e.g.
7 days,12 hours,30 minutes) - Persists data across server restarts
- Optionally reset only when chests are empty (or always) after timeout expires
Configuration
LootRestock generates a simple config file at ./lootrestock.properties with the following options:
reset_time_value=7
reset_time_unit=days
include_barrels=false
reset_time_value: Number of time units before a chest is eligible for resetreset_time_unit: Units of time:seconds,minutes,hours, ordaysonly_reset_when_empty: (default value:true)true: Chests will reset only if empty (after the cooldown)false: Chests will reset regardless of contents (after the cooldown)
include_barrels: Whether barrel loot should get reset (default value:false)
Data Persistence
- Chest interaction data is stored in the world save folder (
chest_reset_data.json) - Safe to shut down or reload server without losing tracked state
Use Case Examples
- Keep dungeon loot fresh in multiplayer worlds
- Refill treasure chests in singleplayer
- Ensure players always have a reason to explore
License
This mod is open-source and licensed under GPL v3.
Available Versions
How to Install LootRestock 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.21.11).
Install Mod
Open the mod browser in the dashboard and search for "LootRestock". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.11, 1.21.10, 1.21.9 (+4 more)
Server-side
✗ UnsupportedRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
LootRestock 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.21.11). You can switch loaders with one click in the panel.
Is LootRestock compatible with fabric?
LootRestock officially supports fabric for Minecraft 1.21.11, 1.21.10, 1.21.9. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with LootRestock – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if LootRestock 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 LootRestock with just one click on your server.