TelegramBridge 是一款轻量且可靠的工具,旨在在服务器游戏内聊天与你的 Telegram 机器人之间建立双向连接。现在,你无需启动 Minecraft 即可监控服务器活动并与玩家聊天。
✨ 主要功能
聊天广播:游戏内的消息会即时发送到 Telegram。
双向通信:向 Telegram 机器人发送消息,该消息将对服务器上的所有玩家可见。
管理功能:设置管理员以实现远程控制(具体取决于版本)。
轻量级:插件经过高度优化,不会增加系统负担。
?️ 设置步骤(逐步指南)
下载:下载与你服务器核心匹配(例如 1.21.4 等)的插件版本。将 .jar 文件放入服务器的 plugins 文件夹中。
首次启动:启动或重启服务器以生成 TelegramBridge 数据文件夹。
创建机器人:在 Telegram 上联系 @BotFather。创建一个新的机器人并复制提供的 API Token。
获取你的 ID:联系 @userinfobot 以查找你的唯一账户 ID。复制它。
配置:使用任意文本编辑器打开 plugins/TelegramBridge/config.yml。
在 telegram-bot-token 字段中,将引号内的文本替换为你的 API Token。
在 whitelist 和 admin-ids 字段中,将文本替换为你的账户 ID。
完成:保存文件并重启服务器(如果可用,也可以使用 reload 命令)。
我的 Discord: @fantom_152
TelegramBridge is a lightweight and reliable tool designed to create a two-way connection between your server's in-game chat and your Telegram bot. Now you can monitor server activity and chat with players without even launching Minecraft.
✨ Key Features
Chat Broadcast: In-game messages are instantly delivered to Telegram.
Two-Way Communication: Send a message to the Telegram bot, and it will be visible to all players on the server.
Management: Set up administrators for remote control (depending on the version).
Lightweight: The plugin is highly optimized and won't put a strain on your system.
?️ How to Set Up (Step-by-Step Guide)
Download: Download the plugin version that matches your server core (1.21.4, etc.). Move the .jar file into your server's plugins folder.
First Launch: Start or restart your server to generate the TelegramBridge data folder.
Create a Bot: Message @BotFather on Telegram. Create a new bot and copy the provided API Token.
Get Your ID: Message @userinfobot to find your unique account ID. Copy it.
Configuration: Open plugins/TelegramBridge/config.yml with any text editor.
In the telegram-bot-token field, replace the text in quotes with your API Token.
In the whitelist and admin-ids fields, replace the text with your Account ID.
Finalize: Save the file and restart the server (or use the reload command, if available).
My Discord: @fantom_152
评论 0
登录后参与评分
还没有评论,来抢沙发吧