Описание
**MagicDonutUtils** is a client-side utility mod for DonutSMP designed to make payments safer, improve player interaction, and display useful stats directly in-game.
### Features
**Pay Confirm (safe /pay)**
Prevents costly mistakes when sending money:
* Adds a confirmation step for large payments
* Clickable **Confirm** / **Cancel** buttons in chat
* Auto-expires pending payments
**QuickPay**
Pay players instantly:
* Hold **Left Ctrl** + right-click a player (Changeble)
* Opens `/pay ` prefilled in chat
**Donation HUD**
Tracks your biggest donation:
* Detects messages like `paid you $2.5m`
* Displays highest donation in a movable HUD
* Includes editor for position & size
* `/donation reset` to clear
**Overhead Stats**
Shows stats above player name tags:
* Stats: Money, Shards, Playtime, Kills, Deaths
* Modes:
* Fixed (one stat)
* Cycle (rotates stats)
* Uses DonutSMP API (API key required)
---
### Setup
* Link your Minecraft account with the Official DonutSMP Discord to get API access
* Use `/api` in-game — the mod automatically retrieves the token and works immediately
---
### Requirements
* Minecraft **1.21.11**
* Fabric Loader
* Java 21
**Dependencies:**
* Fabric API
* Fabric Language Kotlin
* YACL v3
**Optional:**
* Mod Menu (for config UI)
---
### Configuration
Commands:
/magicdonututils
Includes settings for:
* Pay Confirm
* Donation HUD
* Overhead Stats
* API Key
---
### API Key (for Overhead Stats)
* Paste into config under **Dev → API Key**
* Auto-detects key from chat messages like:
`API Key is: