HomeJavaModsDonatePay Integration
DonatePay Integration

DonatePay Integration

Discord Gitea

Mod 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