
Loot Stock
A configurable loot generator
Screenshots




About this Mod
The purpose of this mod is to encourage item grinding and exploration

With configurable containers and boxes

The items will spawn inside when placed or generated and restock randomly
To configure go to config folder and there will be a file lootstock.toml
For nothing example: item1 = "" or item1 = "minecraft:air"
For item with nbt example: item1 = "tacz:ammo" item1tag = " AmmoId: 'tacz:9mm' "
To test you can set "/gamerule lootstockDebug true" place the container and a message will show the generator command
[locker]
#items to restock in lockers
item1 = "minecraft:copper_ingot"
item2 = "minecraft:gunpowder"
item3 = "minecraft:iron_ingot"
item4 = "minecraft:coal"
item5 = ""
#locker item tag
item1tag = ""
item2tag = ""
item3tag = ""
item4tag = ""
item5tag = ""
#item count range: 0.0 - 64.0
min = 0.0
max = 4.0
[military_box]
#items to restock in military boxes
item1 = "minecraft:copper_ingot"
item2 = "minecraft:gunpowder"
item3 = "minecraft:iron_ingot"
item4 = "minecraft:coal"
item5 = ""
#military box item tag
item1tag = ""
item2tag = ""
item3tag = ""
item4tag = ""
item5tag = ""
#item count range: 0.0 - 64.0
min = 0.0
max = 1.0
[ammo_box]
#items to restock in ammo boxes
item1 = "minecraft:copper_ingot"
item2 = "minecraft:gunpowder"
item3 = "minecraft:iron_ingot"
item4 = "minecraft:arrow"
item5 = ""
#ammo box item tag
item1tag = ""
item2tag = ""
item3tag = ""
item4tag = ""
item5tag = ""
#item count range: 0.0 - 64.0
min = 0.0
max = 16.0
[ammo_case]
#items to restock in ammo cases
item1 = "minecraft:arrow"
item2 = "minecraft:arrow"
item3 = "minecraft:arrow"
item4 = "minecraft:arrow"
item5 = ""
#ammo case item tag
item1tag = ""
item2tag = ""
item3tag = ""
item4tag = ""
item5tag = ""
#item count range: 0.0 - 64.0
min = 0.0
max = 16.0
[crate]
#items to restock in crates
item1 = "minecraft:copper_ingot"
item2 = "minecraft:gunpowder"
item3 = "minecraft:iron_ingot"
item4 = "minecraft:coal"
item5 = ""
#crate item tag
item1tag = ""
item2tag = ""
item3tag = ""
item4tag = ""
item5tag = ""
#item count range: 0.0 - 64.0
min = 0.0
max = 4.0
[metal_chest]
#items to restock in metal chests
item1 = "minecraft:copper_ingot"
item2 = "minecraft:gunpowder"
item3 = "minecraft:iron_ingot"
item4 = "minecraft:coal"
item5 = "minecraft:arrow"
item6 = "minecraft:gold_ingot"
item7 = "minecraft:emerald"
item8 = "minecraft:emerald"
item9 = ""
item10 = ""
#metal chest item tag
tem1tag = ""
tem2tag = ""
tem3tag = ""
tem4tag = ""
tem5tag = ""
tem6tag = ""
tem7tag = ""
tem8tag = ""
tem9tag = ""
tem10tag = ""
#item count range: 0.0 - 64.0
min = 0.0
max = 1.0
[suitcase]
#items to restock in suitcases
item1 = "minecraft:apple"
item2 = "minecraft:bread"
item3 = ""
item4 = ""
item5 = ""
#suitcase item tag
item1tag = ""
item2tag = ""
item3tag = ""
item4tag = ""
item5tag = ""
#item count range: 0.0 - 64.0
min = 0.0
max = 4.0
[dufflebag]
#items to restock in dufflebags
item1 = "minecraft:leather"
item2 = "minecraft:paper"
item3 = ""
item4 = ""
item5 = ""
#dufflebag item tag
item1tag = ""
item2tag = ""
item3tag = ""
item4tag = ""
item5tag = ""
#item count range: 0.0 - 64.0
min = 0.0
max = 4.0
Available Versions
How to Install Loot Stock on Your Server
Order Server
Order a Minecraft Java server with at least 3 GB RAM (4 GB recommended).
Set forge Loader
In the panel under "Egg", select the forge loader and matching Minecraft version (1.21.1).
Install Mod
Open the mod browser in the dashboard and search for "Loot Stock". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1, 1.20.4, 1.20.1 (+3 more)
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Loot Stock server crashes on startup – what to do?
Most common cause: wrong forge 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.1). You can switch loaders with one click in the panel.
Is Loot Stock compatible with forge and neoforge?
Loot Stock officially supports forge, neoforge for Minecraft 1.21.1, 1.20.4, 1.20.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Loot Stock – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Loot Stock 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 Loot Stock with just one click on your server.