LootRestock

LootRestock

A lightweight Fabric mod that automatically restocks loot chests after a configurable amount of time has passed.

by
7.6K Downloads
fabricequipmentgame-mechanicsstorage
Rent Server with this Mod

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 reset
  • reset_time_unit: Units of time: seconds, minutes, hours, or days
  • only_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

1.21.11 - 1.0.1 releaserelease
MC 1.21.11fabric
January 24, 2026
1.21.9release
MC 1.21.9, 1.21.10fabric
October 1, 2025
1.20.1release
MC 1.20.1fabric
September 30, 2025
1.21release
MC 1.21.1fabric
August 31, 2025
1.21.7-1.21.8release
MC 1.21.7, 1.21.8fabric
July 27, 2025

How to Install LootRestock on Your Server

1

Order Server

Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).

2

Set fabric Loader

In the panel under "Egg", select the fabric loader and matching Minecraft version (1.21.11).

3

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

fabric

Minecraft Versions

1.21.11, 1.21.10, 1.21.9 (+4 more)

Server-side

Unsupported

Recommended 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.

Rent Modded Server

Install LootRestock with just one click on your server.

Recommended RAM
4 GBab €8/mo
Min. 3 GB | +1 GB pro 8 Spieler
Create Server Now
1-Click Mod Install
NVMe SSD Storage
DDoS Protection included

Details

License
GNU General Public License v3.0 or later
Server-side
Unsupported

Supported Versions

1.21.111.21.101.21.91.21.81.21.71.21.11.20.1