WebhookBridge
WebhookBridge 是一款 Paper 插件,它通过 Discord 的原生 Webhook API 将你的 Minecraft 服务器与 Discord 实时连接——无需机器人令牌(Bot Token),无需创建 Discord 应用程序,也无需额外的维护工作。
功能特性
丰富的嵌入消息 (Embeds)
为每一个重要的服务器事件发送带有颜色编码和格式化的 Discord 嵌入消息,包含标题、描述和页脚。
无需机器人令牌
只需使用标准的 Discord Webhook URL 即可运行。设置过程仅需几分钟。
灵活的事件路由
使用命名 webhook 目标,将死亡记录、进度成就、聊天以及其他事件发送到不同的 Discord 频道。
智能占位符
使用如 {player}、{online}、{server_tps}、{world} 和 {death_message} 等标记来构建动态消息。
高性能
采用异步分发机制并结合令牌桶限流器,即使在流量高峰期也能确保不影响服务器的 TPS(每秒刻数)。
可靠的投递
内置的重试逻辑可自动处理网络抖动以及 Discord 的 429 速率限制响应。
玩家头像
从 mc-heads.net 获取玩家皮肤,并将其作为 webhook 头像或嵌入缩略图显示。
支持的事件
类别
事件
服务器
? 在线, ? 离线
玩家
加入, 离开 (附带玩家数量)
游戏内
死亡 (附带死亡信息), 进度成就
聊天
实时桥接,支持按玩家名称和头像区分
命令
所有命令均需 webhookbridge.admin 权限。
命令
描述
-
/webhookbridge reload
重载配置文件而无需重启服务器
-
/webhookbridge status
查看队列深度、速率限制状态及 webhook 健康状况
-
/webhookbridge test <event>
触发一个测试嵌入消息以验证你的设置
要求
平台:Paper 或其兼容分支(如 Purpur 等)
版本:1.21.x – 26.2+
Java:21 或更高版本
WebhookBridge
WebhookBridge is a Paper plugin that connects your Minecraft server to Discord in real-time using Discord's native Webhook API — no bot token, no Discord application, no extra maintenance required.
Features
Rich Embeds
Sends color-coded, formatted Discord embeds for every major server event, complete with titles, descriptions, and footers.
No Bot Token Needed
Works with a standard Discord Webhook URL. Setup takes minutes.
Flexible Event Routing
Send deaths, advancements, chat, and other events to different Discord channels using named webhook targets.
Smart Placeholders
Craft dynamic messages using tokens like {player}, {online}, {server_tps}, {world}, and {death_message}.
High Performance
Asynchronous dispatch with a token-bucket rate limiter keeps your TPS unaffected, even during heavy traffic.
Reliable Delivery
Built-in retry logic handles network hiccups and Discord 429 rate limit responses automatically.
Player Avatars
Pulls player skins from mc-heads.net and displays them as webhook avatars or embed thumbnails.
Supported Events
Category
Events
Server
? Online, ? Offline
Players
Join, Quit (with player count)
Gameplay
Deaths (with death messages), Advancements
Chat
Real-time bridging with per-player name and avatar
Commands
All commands require the webhookbridge.admin permission.
Command
Description
-
/webhookbridge reload
Reload the config without restarting
-
/webhookbridge status
View queue depth, rate limits, and webhook health
-
/webhookbridge test <event>
Fire a test embed to verify your setup
Requirements
Platform: Paper or compatible forks (Purpur, etc.)
Version: 1.21.x – 26.2+
Java: 21 or higher
评论 0
登录后参与评分
还没有评论,来抢沙发吧