Random Rolls
by zeero
Random Rolls lets a server owner turn an item into a consumable that runs a randomly chosen command when a player uses it.
What it does
A designated item, including items added by other mods, becomes a roll item. When a player uses it, the mod picks one command from a configured pool and runs it. Pools suit mystery boxes, gacha items, reward crates, keys and tokens, because any command can be placed inside a pool.
Each command in a pool carries its own weight, which sets its chance of being picked. The author's examples use 50% for a common reward, 30% for an uncommon one, 15% for a rare one and 5% for a legendary one. The mod works on Fabric alone and requires Fabric API. It is server-side only, so the server runs it and players join without installing anything. Random Rolls is released under the MIT License and is not open source.
Key features
Turn items into roll items
Any designated item, including items from other mods, can be set to trigger a roll when a player uses it.
Weighted command pools
Each pool holds a list of commands, and each command is given a custom probability through its weight.
Any command in a pool
A pool entry can hold any command, so rewards can be items, effects, currency or other server actions.
Automatic weighted selection
On each use the mod draws one command at random, with odds determined by the weights in the pool.
Gallery
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Mystery boxes
A pool of item and currency commands with low weights for the strongest rewards suits a server's loot boxes.
Gacha-style items
Weighted tiers of common, uncommon, rare and legendary commands match the structure of gacha systems.
Keys and tokens
A key or token item can be set as a roll item so that using it grants one reward chosen from its pool.
Who it’s for: Server owners and modpack authors who want reward boxes, crates or gacha-style items without writing a separate mod. The mod is server-side only and needs Fabric API on Fabric.
Questions
Does Random Rolls need to be installed on the client?
What does Random Rolls require?
Can a roll item come from another mod?
What the author says
This allows full customization of loot items, gacha items, reward boxes, crates, keys, tokens, and more. Every command inside a pool can be assigned a custom probability/weight.
Official listing
- Modrinth page
- modrinth.com/mod/random-rolls
- Owner
- zeero
- Published
- 2025-11-16
- Updated on Modrinth
- 2025-11-16
- Facts verified
- 2026-10-15
