ModsFinder

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.

FabricServer-side onlyMIT License1.21.1

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

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

  2. Weighted command pools

    Each pool holds a list of commands, and each command is given a custom probability through its weight.

  3. Any command in a pool

    A pool entry can hold any command, so rewards can be items, effects, currency or other server actions.

  4. Automatic weighted selection

    On each use the mod draws one command at random, with odds determined by the weights in the pool.

Compatibility

Latest build for each game version and loader.

1.21.11.0.3
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

Requirements

Dependencies declared by the latest file for each loader.

Required 1

Fabric APILightweight and modular API providing common hooks and intercompatibility measures utilized by mods using the Fabric toolchain.
Required

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?

No. Only the server needs it, and players join without installing anything.

What does Random Rolls require?

Fabric API is required. Random Rolls is published for Fabric 1.21.1 only, with 1.0.3 as the latest file.

Can a roll item come from another mod?

Yes. Any designated item can become a roll item, including items added by other mods.

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.
zeero, on the Modrinth page

Official listing

Owner
zeero
Published
2025-11-16
Updated on Modrinth
2025-11-16
Facts verified
2026-10-15