
Donation Alerts: Integrated
将 DonationAlerts 的事件转化为你的 Minecraft 游戏中的实时互动。
捐赠、订阅、Twitch Bits 或频道积分都可以发布聊天消息、显示标题、播放声音或执行任何命令,所有设置均可在游戏内的菜单中完成。
功能特性
- 响应 DonationAlerts 发送的所有内容:包括捐赠、Twitch Bits、Twitch 频道积分、YouTube 和 Twitch 订阅(包括礼物订阅、Prime 订阅及关注)
- 全新的游戏内菜单:按
= 键打开深色玻璃菜单,可查看最近事件概览、连接状态、触发器、设置和帮助。支持英文和俄文。
- 秒速连接:复制你的秘密令牌(Secret Token)或 OBS 警报小部件链接,点击 从剪贴板粘贴,即可完成。模组会自动重连,并可在游戏启动时自动连接。
- 灵活的触发器:选择事件类型、金额范围和货币,然后添加任意数量的动作,每个动作可单独设置延迟
- 动作类型:聊天消息、命令、标题与副标题、操作栏文本、声音,或以玩家身份在聊天中发言
- 测试按钮:无需真实捐赠即可运行任何触发器进行测试
- 屏幕通知:收到的捐赠和订阅会以小卡片形式弹出在你选择的屏幕角落
- 来自其他模组的动作:任何 Fabric 模组都可以添加自定义动作,它们会显示在菜单中内置动作的旁边
截图

使用方法
- 在游戏中按
=(或输入 /da),打开 Connection(连接)页面。
- 点击 Open token page(打开令牌页面)。复制 secret token(通用设置 → 秘密令牌,点击 Show 显示),或者你的 OBS 警报小部件链接。这不是 API / OAuth 令牌,无需注册应用。
- 点击 Paste from clipboard(从剪贴板粘贴)。模组立即连接。从 DonationAlerts 发送一条测试警报,它将会出现在 Overview(概览)页面上。
- 进入 Triggers(触发器),创建触发器,选择触发条件和执行动作,然后点击 Save(保存)(或按
Ctrl+S)。
令牌仅存储在你的计算机上,位于 ~/.donion-alerts-token。菜单按键可以在 Controls(控制)中更改。
命令
| 命令 |
描述 |
/da |
打开菜单 |
/da set |
从剪贴板保存令牌或小部件链接并连接 |
/da connect |
使用已保存的令牌连接 |
/da disconnect |
断开连接 |
/da status |
显示连接状态 |
注意: 触发器中的命令是以你(玩家)的身份发送的。只有当你有权执行这些命令时才有效,因此请在开启作弊的世界中使用,或在服务器上拥有操作员权限。
占位符
在消息、标题和命令中使用它们:
{username} — 发送捐赠的人
{amount} — 捐赠金额
{currency} — 捐赠货币
{message} — 捐赠留言
{playername} — 你的 Minecraft 用户名
配置文件
菜单中的所有设置都保存在 .minecraft/donation-alerts-integrate/settings.yaml 中。你也可以手动编辑其中的触发器;模组会自动检测变化。
条件(敏感事件)
| 类型 |
触发条件 |
daintegrate/sensitive/always |
任何事件 |
daintegrate/sensitive/donate |
在 from–to 范围内的 currency 捐赠 |
daintegrate/sensitive/subscribe |
类型为 type 的订阅:YouTubeSubscription、TwitchSubscription、TwitchFreeFollow、TwitchGiftSubscription、TwitchPrimeSubscription |
daintegrate/sensitive/twitch/bits |
在 from–to 范围内的 Twitch Bits |
daintegrate/sensitive/twitch/points |
在 from–to 范围内的 Twitch 频道积分 |
动作(处理器)
| 类型 |
作用 |
字段 |
daintegrate/handler/message |
向你的聊天添加消息(仅你自己可见) |
message |
daintegrate/handler/command |
以你的身份运行命令(不带 /) |
command |
daintegrate/handler/title |
在屏幕上显示标题和副标题 |
title, subtitle, seconds |
daintegrate/handler/actionbar |
在快捷栏上方显示文本 |
text |
daintegrate/handler/sound |
播放仅你自己能听到的声音 |
sound, volume, pitch |
daintegrate/handler/chat |
以你的身份在聊天中发言,所有人都能看到 |
message |
在配置文件中,delay 的单位是刻(tick)(20 刻 = 1 秒)。在菜单中则设置为秒数。
示例
triggers:
- name: "Creeper for 10 USD"
isActive: true
sensitives:
- properties:
type: daintegrate/sensitive/donate
value:
from: 10
to: 49
currency: USD
handlers:
- delay: 0
properties:
type: daintegrate/handler/title
value:
title: "{username}"
subtitle: "summons a creeper!"
seconds: 3
- delay: 0
properties:
type: daintegrate/handler/sound
value:
sound: minecraft:entity.creeper.primed
volume: 1
pitch: 1
- delay: 40
properties:
type: daintegrate/handler/command
value:
command: "summon creeper ~ ~ ~2"
给模组开发者
其他 Fabric 模组可以通过 daintegrate 入口点(DaIntegratePlugin)注册自己的动作。菜单会根据你的设置类自动生成设置表单。请参阅 GitHub 上的 README 获取示例。
要求
- Minecraft 26.3
- Fabric Loader 0.19.5+
- Fabric API
- Java 25
支持
请在 GitHub 上报告问题。
致谢
本模组基于 Donation Alerts Integrate —— 感谢 Folleach!

Donation Alerts: Integrated
Turn DonationAlerts events into things that happen in your Minecraft game, live on stream.
A donation, a subscription, Twitch Bits or channel points can post a chat message, show a title, play a sound or run any command, all set up from a menu inside the game.
Features
- Reacts to everything DonationAlerts sends: donations, Twitch Bits, Twitch channel points, YouTube and Twitch subscriptions (including gift and Prime subs and follows)
- New in-game menu: press
= to open a dark glass menu with an overview of recent events, connection, triggers, settings and help. English and Russian.
- Connect in seconds: copy your secret token or your OBS alert widget link, click Paste from clipboard, done. The mod reconnects by itself and can connect automatically when the game starts.
- Flexible triggers: pick the event type, the amount range and the currency, then add as many actions as you want, each with its own delay
- Actions: chat message, command, title and subtitle, action bar text, sound, or say something in chat as you
- Test button: run any trigger without a real donation
- On-screen notifications: incoming donations and subscriptions pop up as small cards in the corner of your choice
- Actions from other mods: any Fabric mod can add its own actions, and they show up in the menu next to the built-in ones
Screenshots

How to use
- Press
= in game (or type /da) and open the Connection page.
- Click Open token page. Copy the secret token (General settings → Secret token, click Show), or the link of your alert widget for OBS. This is not an API / OAuth token, no app registration is needed.
- Click Paste from clipboard. The mod connects right away. Send a test alert from DonationAlerts and it shows up on the Overview page.
- Go to Triggers, create a trigger, choose when it fires and what it does, and click Save (or press
Ctrl+S).
The token is stored only on your computer, in ~/.donation-alerts-token. The menu key can be changed in Controls.
Commands
| Command |
Description |
/da |
Open the menu |
/da set |
Save the token or widget link from the clipboard and connect |
/da connect |
Connect with the saved token |
/da disconnect |
Disconnect |
/da status |
Show the connection status |
Note: commands from triggers are sent as you, the player. They only work if you are allowed to run them, so use a world with cheats on, or have operator rights on the server.
Placeholders
Use them in messages, titles and commands:
{username} — who sent the donation
{amount} — donation amount
{currency} — donation currency
{message} — donation message
{playername} — your Minecraft name
Configuration file
Everything in the menu is saved to .minecraft/donation-alerts-integrate/settings.yaml. You can also edit triggers there by hand; the mod picks up changes automatically.
Conditions (sensitives)
| Type |
Fires on |
daintegrate/sensitive/always |
Any event |
daintegrate/sensitive/donate |
A donation within from–to in currency |
daintegrate/sensitive/subscribe |
A subscription of type: YouTubeSubscription, TwitchSubscription, TwitchFreeFollow, TwitchGiftSubscription, TwitchPrimeSubscription |
daintegrate/sensitive/twitch/bits |
Twitch Bits within from–to |
daintegrate/sensitive/twitch/points |
Twitch channel points within from–to |
Actions (handlers)
| Type |
What it does |
Fields |
daintegrate/handler/message |
Adds a message to your chat (only you see it) |
message |
daintegrate/handler/command |
Runs a command as you (without /) |
command |
daintegrate/handler/title |
Shows a title and subtitle on screen |
title, subtitle, seconds |
daintegrate/handler/actionbar |
Shows text above the hotbar |
text |
daintegrate/handler/sound |
Plays a sound only you hear |
sound, volume, pitch |
daintegrate/handler/chat |
Says something in chat as you, everyone sees it |
message |
In the file, delay is in ticks (20 ticks = 1 second). In the menu it is set in seconds.
Example
triggers:
- name: "Creeper for 10 USD"
isActive: true
sensitives:
- properties:
type: daintegrate/sensitive/donate
value:
from: 10
to: 49
currency: USD
handlers:
- delay: 0
properties:
type: daintegrate/handler/title
value:
title: "{username}"
subtitle: "summons a creeper!"
seconds: 3
- delay: 0
properties:
type: daintegrate/handler/sound
value:
sound: minecraft:entity.creeper.primed
volume: 1
pitch: 1
- delay: 40
properties:
type: daintegrate/handler/command
value:
command: "summon creeper ~ ~ ~2"
For mod developers
Other Fabric mods can register their own actions through the daintegrate entrypoint (DaIntegratePlugin). The menu builds a settings form from your settings class automatically. See the README on GitHub for an example.
Requirements
- Minecraft 26.3
- Fabric Loader 0.19.5+
- Fabric API
- Java 25
Support
Report issues on GitHub.
Thanks
This mod is based on Donation Alerts Integrate — thanks, Folleach!
评论 0
登录后参与评分
还没有评论,来抢沙发吧