Twitch 白名单 - 频道积分白名单!
当玩家兑换 Twitch 频道积分奖励时,自动将其加入白名单! 非常适合希望通过 Twitch 集成让社区成员加入 Minecraft 服务器的主播。
? 核心功能
- ? 实时集成 - 通过 EventSub WebSocket 连接至 Twitch,即时处理兑换
- ✅ 智能验证 - 自动验证 Minecraft 用户名,并为无效输入退还积分
- ? 自动退款 - 失败的兑换会自动退款,并发送有用的聊天消息
- ? 聊天集成 - 通过你的机器人账号发送确认消息
- ? SQLite 数据库 - 跟踪所有兑换、封禁和事件,保留完整历史记录
- ? 活跃追踪 - 限制每个 Twitch 用户可以拥有多少个被加入白名单的 Minecraft 账号
? 高级功能
双向封禁同步
- 封禁一个 Minecraft 玩家 → 自动封禁其关联的 Twitch 账号
- 封禁一个 Twitch 用户 → 自动封禁其所有关联的 Minecraft 账号
- 解封同步在两个方向上均有效
- 包含防止循环封禁的逻辑
临时封禁超时(新增!)
- 临时的 Minecraft 封禁会自动转换为 Twitch 静音
- 同步时长最长可达 14 天(Twitch 限制)
- 超过此期限的临时封禁将回退为永久 Twitch 封禁
游戏内管理
- 无需重启即可重载配置 (
/twl reload)
- 实时更新奖励标题/消耗 (
/twl updatereward)
- 查找账号以发现关联的 Minecraft/Twitch 用户名 (
/twl lookup)
- 权限系统集成 (LuckPerms, PlayerRoles)
? 要求
- Minecraft 1.21.1
- Fabric Loader 0.18.4+
- Fabric API 0.116.7+1.21.1
- Twitch 开发者账号(免费)
- 两个 Twitch 账号:主播账号和机器人账号
? 快速设置
- 在 Fabric 服务器上安装模组
- 创建 Twitch Application 并获取 Client ID/Secret
- 生成主播和机器人的访问令牌 (Access Tokens)
- 创建一个需要文本输入的频道积分奖励
- 配置
config/twitchwhitelist/config.json
- 重启并测试!
详细的设置指南包含在自动生成 HOWTO.txt 文件中。
? 适用场景
- 主播服务器 - 让你的社区通过努力获得加入服务器的资格
- 专属访问权限 - 使用频道积分打造 VIP 体验
- 社区管理 - 跟踪兑换情况并管理访问权限
- 互动直播 - 将服务器访问权限作为奖励来吸引观众参与
? 记录内容
- 所有兑换记录(成功与失败)
- 平台间的封禁/解封事件
- 每个用户的活跃白名单状态
- SQLite 数据库中的完整审计日志
? 配置选项
- 自动创建奖励
- 每用户最大活跃白名单数量
- 封禁同步 (MC ↔ Twitch)
- 临时封禁超时同步
- 自定义奖励标题和消耗
- EventSub 端口配置
? 用例
社区服务器: 将奖励消耗设置为 50,000 积分,使加入服务器变得有意义
订阅者福利: 为频道积分赚取者创建专属服务器访问权限
活动服务器: 在特殊直播期间临时启用自动白名单
管理工具: 使用封禁同步将麻烦制造者排除在两个平台之外
? 你将获得
- 全自动化的白名单管理
- 无需手动输入用户名
- 错误导致的积分自动退款
- 完整的兑换历史记录
- 跨平台管理工具
- 实时 Twitch 集成
- 游戏内管理命令
? 支持
- ? 完整 Wiki 文档 - 完整的指南和参考
- 自动生成的设置指南 (HOWTO.txt)
- 详细的故障排除部分
- GitHub Issues 用于技术支持
? Wiki | 源代码 | 许可证: MIT
仅服务端: 无需客户端安装
将你的 Twitch 频道积分转化为服务器白名单访问权限 —— 全自动实现!
Twitch Whitelist - Channel Point Whitelisting!
Automatically whitelist players when they redeem a Twitch channel point reward! Perfect for streamers who want to let their community join their Minecraft server through Twitch integration.
? Core Features
- ? Real-Time Integration - Connects to Twitch via EventSub WebSocket for instant redemption processing
- ✅ Smart Validation - Automatically validates Minecraft usernames and refunds points for invalid entries
- ? Auto-Refund - Failed redemptions are automatically refunded with helpful chat messages
- ? Chat Integration - Sends confirmation messages through your bot account
- ? SQLite Database - Tracks all redemptions, bans, and events with full history
- ? Active Tracking - Limit how many Minecraft accounts each Twitch user can have whitelisted
? Advanced Features
Bidirectional Ban Sync
- Ban a Minecraft player → automatically ban their linked Twitch account
- Ban a Twitch user → automatically ban all their linked Minecraft accounts
- Unban sync works in both directions
- Circular loop prevention included
Temp Ban Timeouts (New!)
- Temporary Minecraft bans automatically convert to Twitch timeouts
- Syncs duration up to 14 days (Twitch limit)
- Longer temp bans fallback to permanent Twitch bans
In-Game Management
- Reload config without restarting (
/twl reload)
- Update reward title/cost in real-time (
/twl updatereward)
- Lookup accounts to find linked Minecraft/Twitch usernames (
/twl lookup)
- Permission system integration (LuckPerms, PlayerRoles)
? Requirements
- Minecraft 1.21.1
- Fabric Loader 0.18.4+
- Fabric API 0.116.7+1.21.1
- Twitch Developer Account (free)
- Two Twitch accounts: broadcaster and bot
? Quick Setup
- Install mod on your Fabric server
- Create a Twitch Application and get Client ID/Secret
- Generate broadcaster and bot access tokens
- Create a Channel Point Reward requiring text input
- Configure
config/twitchwhitelist/config.json
- Restart and test!
Detailed setup guide included in auto-generated HOWTO.txt file.
? Perfect For
- Streamer Servers - Let your community earn their way onto the server
- Exclusive Access - Create a VIP experience with channel points
- Community Management - Track redemptions and manage access
- Interactive Streams - Engage viewers with server access as a reward
? What's Tracked
- All redemptions (successful and failed)
- Ban/unban events between platforms
- Active whitelist status per user
- Complete audit trail in SQLite database
? Configuration Options
- Automatic reward creation
- Max active whitelists per user
- Ban sync (MC ↔ Twitch)
- Temp ban timeout sync
- Custom reward title and cost
- EventSub port configuration
? Use Cases
Community Server: Set reward cost at 50,000 points to make joining meaningful
Subscriber Perk: Create exclusive server access for channel point earners
Event Server: Temporarily enable auto-whitelist during special streams
Moderation Tool: Use ban sync to keep troublemakers off both platforms
? What You Get
- Fully automated whitelist management
- No manual username entry needed
- Points automatically refunded for errors
- Complete redemption history
- Cross-platform moderation tools
- Real-time Twitch integration
- In-game management commands
? Support
- ? Full Wiki Documentation - Complete guides and references
- Auto-generated setup guide (HOWTO.txt)
- Detailed troubleshooting section
- GitHub issues for support
? Wiki | Source Code | License: MIT
Server-Side Only: No client installation required
Transform your Twitch channel points into server whitelist access - automatically!
评论 0
登录后参与评分
还没有评论,来抢沙发吧