
Random Rolls
Random Rolls is a lightweight, simple, and powerful utility mod that lets you turn any item into a consumable that triggers a fully customizable random reward. Create roll pools with weighted commands and build mistery boxes or random rewards.
Screenshots

About this Mod
Main Features:
🔹 Turn Any Item Into a Consumable
You can designate any item — including items from other mods — as a consumable “roll item.”
When the player uses it, the item triggers the command:
/roll
This allows full customization of loot items, gacha items, reward boxes, crates, keys, tokens, and more.
🔹 Create Unlimited Roll Pools
A pool is a custom list of commands that the mod will choose from.
Each pool can contain as many commands as you want, such as:
Give items
Spawn entities
Run server commands
Apply effects
Trigger scripts
Grant money or tokens
Execute datapack functions
Teleport players
Anything that can be run as a command
🔹 Weighted Random Outcomes
Every command inside a pool can be assigned a custom probability/weight.
Example:
50% chance → give a common reward
30% chance → give an uncommon reward
15% chance → give a rare reward
5% chance → give a legendary reward
The mod automatically picks one command at random according to the weights you set.
Disclaimer
This mod was created with the assistance of AI to speed up development and testing.
I built it originally for my own Cobble MMO server, where it has been running smoothly and reliably — and I realized it might be useful to other creators too.
Random Rolls is completely free to use.
You can include it in your server, modpack, or project without restrictions.
Modify it, expand it, repurpose it — do whatever you want with it.
If it helps your community or saves you development time, then it has done its job.
Available Versions
How to Install Random Rolls 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.1).
Install Mod
Open the mod browser in the dashboard and search for "Random Rolls". Click "Install" – done! Alternatively, upload the .jar via SFTP to the /mods folder.
Compatibility
Mod Loaders
Minecraft Versions
1.21.1
Server-side
✓ RequiredRecommended RAM
4 GB(min. 3 GB)Frequently Asked Questions
Random Rolls 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.1). You can switch loaders with one click in the panel.
Is Random Rolls compatible with fabric?
Random Rolls officially supports fabric for Minecraft 1.21.1. The Mado dashboard automatically detects incompatible loader combinations.
Server lagging with Random Rolls – how to optimize performance?
Recommended RAM: 4 GB (per 8 players). Use /spark profiler to check if Random Rolls 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 Random Rolls with just one click on your server.