toma Bratković
📎 1 file 1,683 chars
📄
pasted-code-1795206112212.txt
txt 26 lines
▶
Create a client-side Fabric mod for Minecraft 1.21.11 specifically tailored for DonutSMP named PayModZx.

FEATURES & REQUIREMENTS:

1. DONUTSMP OUTGOING CHAT PAYMENT OVERRIDE (/fakepay):
   - Add a client-side command `/fakepay  ` and a GUI trigger button.
   - Outputs local chat messages matching DonutSMP's precise outgoing payment format:
     "[$] You paid $."
   - Includes a toggle option to automatically subtract the payment amount directly from the client-side fake balance value when sending, OR keep the fake balance static without going down.

2. DONUTSMP SIDEBAR SCOREBOARD SPOOFER:
   - Client-side intercept and spoof for DonutSMP 1.21.11 sidebar scoreboard entries:
     - Balance (e.g. "$1,234,567,890")
     - Shards (e.g. "50,000 Shards")
     - Playtime (e.g. "120d 14h")
     - Kills (e.g. "1,500 Kills")
   - Text inputs in the GUI must override the exact line values rendered on the right sidebar without sending actual server packets or letting your true balance decrease.

3. /STATS GUI & TAB LIST SPOOFER:
   - When opening DonutSMP's /stats inventory GUI or checking Tab list stats, override item lore/metadata to display custom fake values (Balance, Shards, Kills, Playtime).

4. CUSTOM CONFIG GUI (Keybind: 'Right Shift'):
   - Pressing Right Shift opens a clean, modern dark-mode GUI compatible with Minecraft 1.21.11 Fabric.
   - Text inputs and toggles for: Fake Balance, Fake Shards, Fake Kills, Fake Playtime, Subtract On Pay Toggle, and Master Toggle.
   - Automatically saves and loads configs from `config/paymodzx.json`.
   - Master Toggle immediately turns off all visual overrides and restores original server values.
Kodari AI
KodariFri at 8:22 pm 1
PayModZx
A client-side Fabric mod for Minecraft 1.21.11 that spoofs DonutSMP economy displays. Features a /fakepay command with GUI trigger button that outputs local chat messages in DonutSMP's payment format, with optional automatic balance subtraction. Intercepts and overrides sidebar scoreboard entries for Balance, Shards, Playtime, and Kills via text inputs. Spoofs /stats GUI item lore and Tab list metadata with custom fake values. Includes a dark-mode config GUI opened with Right Shift keybind, featuring text inputs, toggles for subtract-on-pay and master override, with automatic JSON config persistence at config/paymodzx.json. Master toggle instantly restores original server values.

This project is a Fabric 26.3 mod, but PayModZx requires Fabric 1.21.11. Kodari supports that version.

Switch to Fabric 1.21.11

Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code