Home›Java›Mods›mCases
mCases
ModsJava

mCases

by miklires · on Modrinth

Reliable reward cases with GUI, block-orbit, and interactive chest opening modes for Paper, Purpur, and Folia.

⬇ Download on Modrinth

mCases

Reliable reward cases with GUI, block-orbit, and interactive chest opening modes for Paper, Purpur, and Folia.

Paper Purpur

GitHub Modrinth Discord

Release Java 25 Minecraft 26.2

What it does

Requirements

Vault, mCraft, mBadges, mColor and PlaceholderAPI are optional integration targets. The base plugin does not require them.

Install

  1. Put mCases-1.0.0.jar in plugins.
  2. Start the server once.
  3. Edit plugins/mCases/cases.yml and reload with /case reload.

Reward commands use {player} and {uuid} placeholders. Define only commands that are safe to execute once. The included economy command is an example and requires a compatible economy command provider.

Commands

Permissions are mcases.use, mcases.simulate, mcases.reload and mcases.admin.

Reliability model

An opening is one database transaction: lock balance and pity state, select a reward, decrement the key, update pity, and insert an undelivered journal record. Commands run only after that transaction commits. The journal record is marked delivered afterwards. If the player disconnects first, the already selected reward is recovered instead of rolled again.

H2 work runs on a dedicated virtual thread and never performs database I/O on a server tick thread.

Build

./gradlew clean build

The plugin JAR is written to build/libs; API artifacts are written to api/build/libs.

Licensed under the MIT License.

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