DonatePay Integration

模组

· 作者 bitheaven

模组添加了与 DonatePay 系统的集成,允许通过捐赠执行自定义命令

0 本站下载 0 关注 更新于 8 个月前

需要前置:Fabric API

最新 1.0+1.21.11-4 · 1.21.11 · Fabric / Quilt

一键开服(送7天)

DonatePay 集成

该模组添加了与 DonatePay 系统的集成,允许通过捐赠执行自定义命令。

命令

/dpi set_token <token> - 在配置文件中安装令牌。

配置文件

./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

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源