HomeJavaModsDonatePay Integration
DonatePay Integration
ModsJava

DonatePay Integration

by bitheaven · on Modrinth

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.21–1.21.11 · Paper⬇ Download for 1.20–1.20.6 · Paper⬇ Download for 1.21–1.21.11 · Purpur⬇ Download for 1.20–1.20.6 · Purpur
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.

DonatePay Integration

Discord Gitea

Plugin add integration with DonatePay system for exec custom commands by donates

Commands

/dpi set_token <token> - Install token to config.

Config file

./config/donpayinteg.yaml

# Donate actions
actions:
# First donate action
- command: title @a title "{username} exists!"
  message: '{username} donated'
  sum: 5
# Second donate action
- command: time set day
  message: '{username} сделал день'
  sum: 20
# Command exec cooldown in seconds
cmdCooldown: 2
# DonatePay API token
donpayToken: <YOUR_TOKEN>
# DO NOT TOUCH! (if dont know) (last id of donate)
lastDonate: 0
# Message command
messageCmd: title @a title "{message}"
# API requests cooldown in seconds
reqCooldown: 15
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