HomeJavaModsInventory Shuffle
Inventory Shuffle
ModsJava

Inventory Shuffle

by SametHope · on Modrinth

Adds group-based per-player inventory shuffling with customizable options. Works on both integrated/LAN and dedicated servers, not required on clients.

⬇ Download on Modrinth

Minecraft Inventory Shuffle Mod

This is a Fabric mod that shuffles players' inventories based on groups and those groups' options. This mod supports single-player, integrated/LAN servers, and dedicated servers.

This mod shuffles inventories on a per-player basis; it does not shuffle/swap inventories between players.

Overview

The mod organizes players into named groups, each with its own set of rules for inventory shuffling. When a player joins a group, their inventory will be shuffled according to that group's options. Each group can have its own shuffle interval and specific rules about which parts of the inventory to shuffle (main inventory, hotbar, selected slot, or offhand).

The mod provides commands to manage these groups and their options. You can create, delete, and rename groups, add or remove players from groups, and configure various shuffle options like intervals and which inventory sections to include in the shuffle. All group data and options are automatically saved with the world, so they persist between server restarts.

Quick Start

A default group named "default" is created automatically when the mod first loads. To start shuffling:

  1. Add players to a group: /invshuffle player add <groupName> <player>
  2. Check group status: /invshuffle group status <groupName> (optional)
  3. Adjust options if needed: /invshuffle group options <groupName> [option] [value] (optional)

Commands

The mod is managed by commands. It adds a single command /invshuffle (or its alias /shuffleinv) from which all other configuration or information commands are derived. All commands require operator permissions (level 4).

Note: In the command syntax below, parameters in <angle brackets> are required, while parameters in [square brackets] are optional.

Group Management

Group Options

Player Management

Utility Commands

Command Parameters

FAQ

Why isn't my inventory being shuffled?

  1. Not in a group - Add yourself with /invshuffle player add <groupName>.
  2. Group disabled - Enable with /invshuffle group options <groupName> enabled true.
  3. No shuffle options enabled - At least one section (inventory, hotbar, etc.) must be enabled.
  4. Long interval - If interval is high, shuffling occurs less frequently.
  5. Empty inventory - No items means nothing to shuffle.

Why aren't my hand/offhand items being shuffled?

shuffleHand and shuffleOffhand options have higher priority than shuffleHotbar option. To include hands in the shuffle pool, make sure these options are enabled.

Note that you can also shuffle only the hands and nothing else with the correct combination.

Where is the mod data saved?

In the server's or save's root folder as inventory-shuffle.dat (NBT format, uncompressed).

Why can't I add a player to a group?

Players must be online to be added (so we can get their UUID). You can remove offline players.

Why can't I remove multiple players at once?

The remove command accepts only one name to support removing offline players by name.

Is this mod compatible with other mods and datapacks?

Generally compatible with mods and datapacks that don't directly modify player inventories. Works with SharedInv for example but your experience may vary with other content.

Notes

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

Verified by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more