Home›Java›Mods›Wheel of Gifts
ModsJava

Wheel of Gifts

by gojohyusatoru · on Modrinth

A transparent daily power-gacha system with 25 Gifts, pity protection, Essence, shrines, and solo-player whispers.

⬇ Download on Modrinth

Wheel of Gifts

Wheel of Gifts is a server-side Fabric 1.21.11 mod for small survival servers. Every player receives five free spins per day, unlocks permanent powers through a transparent rarity system, and equips exactly one power at a time.

The first release contains 25 powers, pity protection, duplicate-to-Essence conversion, an optional physical shrine, solo-player messages, persistent cooldowns, and crash-safe spin results.

What players get

Default odds

Rarity Chance Duplicate Essence
Basic 45% 1
Classic 32% 2
Advanced 17% 5
Epic 5% 15
Legendary 0.8% 50
Mythic 0.2% 200

Pity is checked before a result is chosen:

The Wheel never consumes money, and the animation does not change the result after it has been selected.

Player commands

Command Purpose
/gift Show quick help
/gift status Spins, Essence, collection size, equipped Gift, and cooldown
/gift spin Consume one spin and turn the wheel
/gift collection [page] Show unlocked Gifts
/gift powers [page] Show all powers and descriptions
/gift equip <power_id> Equip one unlocked Gift
/gift use Activate the equipped Gift, if it has an active ability
/gift pity Show remaining spins until each guarantee
/gift odds Show the configured rarity chances
/gift shop Show Essence purchases
/gift shop buy spin Buy one spin for 50 Essence
/gift shop buy epic <power_id> Unlock an unowned Epic for 250 Essence
/gift shop buy legendary <power_id> Unlock an unowned Legendary for 1,000 Essence
/whisper [quote|tip|mission] Request an optional solo message

Administrator commands

/giftadmin requires vanilla gamemaster permission level or higher.

Command Purpose
/giftadmin reload Reload config/wheel-of-gifts.json
/giftadmin give_spins <player> <amount> Add spins
/giftadmin set_essence <player> <amount> Set Essence
/giftadmin grant <player> <power_id> Unlock a Gift
/giftadmin equip <player> <power_id> Force-equip a Gift
/giftadmin reset_daily <player> Grant the current daily refill again
/giftadmin shrine set Make the block being looked at a Power Shrine
/giftadmin shrine remove Remove the targeted shrine
/giftadmin shrine list List all configured shrines

Optional Power Shrine

  1. Build any wheel, altar, beacon, or shrine at spawn.
  2. Look directly at its center block.
  3. Run /giftadmin shrine set.
  4. Interacting with that block starts a spin.
  5. After the first server start, edit config/wheel-of-gifts.json and set requireShrineToSpin or requireShrineToEquip to true if commands should work only near a shrine.
  6. Run /giftadmin reload.

Configuration and saved data

The mod generates:

Both files use atomic replacement where the host supports it. A spin is deducted and its result is saved before the animation begins. If a player disconnects or the server restarts, the same pending result is revealed later instead of being rerolled or lost.

Back up the world before updating or changing mods. Never edit the world data file while the server is running.

Aternos

Aternos does not allow a private JAR to be uploaded directly. Publish the built JAR on Modrinth or CurseForge, then submit its project URL through Aternos' suggestion page. After Aternos accepts it, install both Fabric API and Wheel of Gifts from the Aternos Mods page.

See docs/ATERNOS_INSTALL.md for the full checklist and docs/MODRINTH_RELEASE.md for ready-to-copy project metadata.

Build from source

Requirements: Java 21 and an internet connection for the first dependency download.

./gradlew build

The distributable file is:

build/libs/wheel-of-gifts-1.0.0.jar

Do not install the -sources.jar file on a server.

Performance design

More documentation

Licensed under MIT.

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