TelegramControl ??
TelegramControl 是一款 ? 强大的插件,可通过 Telegram 管理你的 Minecraft 服务器(Spigot/Paper)!?
查看在线状态、执行命令、读取控制台日志——只需几次点击即可完成!
该插件适合新手和资深管理员,设置简单且功能强大。?
? 特性
-
服务器控制 ?️:
- ? 服务器状态: 显示在线玩家数量、版本和 TPS。
- ? 控制台日志: 查看完整服务器控制台 (
latest.log) 的最新行。
- ⚡ 命令: 执行任何服务器命令并准确捕获输出(包括异步命令如
/lp editor)。
- ? 授权: 使用用户名和密码进行安全登录。
-
日志记录 ?:
- 所有操作(登录、登出、命令、状态/日志请求)均会记录到控制台,包含时间戳和 Chat ID。
-
安全性 ?:
- 通过登录名和密码进行保护(可在
config.yml 中配置)。
- 禁止使用的命令列表(
stop, reload, op, deop 以及任何自定义命令)。
-
便捷性:
- 简洁的内置键盘,包含按钮:服务器状态、控制台、命令、登出。
- 多语言支持:开箱即用英语和俄语(在 config.yml 中设置
language: en 或 ru)。
- 可选单独用于插件启动通知的机器人。
-
管理工具:
- 游戏内命令
/tgcontrol reload —— 无需重启机器人即可安全重载配置和语言文件。
- 权限:
tgcontrol.reload(默认:op)。
-
兼容性 ?️:
- 完全兼容 Spigot/Paper 1.16.5 及更高版本(推荐 Paper 或 Purpur)。
- 适用于所有现代 Minecraft 版本直至最新版本(包括 1.21+)。
? 要求
| 要求 |
版本 |
| Minecraft Server |
Spigot/Paper 1.16.5+ |
| Java |
17 或更高版本(较新的 MC 版本推荐使用 Java 21) |
| 依赖项 |
Spigot API, TelegramBots library |
?️ 安装
-
下载插件 ?:
-
添加到服务器 ⚙️:
- 将
TelegramControl.jar 放入服务器的 plugins/ 文件夹中。
-
创建 Telegram 机器人 ?:
- 打开 Telegram 并联系 @BotFather。
- 使用
/newbot 创建你的控制机器人并获取 token。
- (可选)创建第二个机器人用于启动通知。
-
配置 config.yml ?:
-
重启服务器 ?:
? 使用方法
-
授权 ?:
- 给你的 ControlBot 发送消息并输入
/login。
- 输入
config.yml 中的登录名和密码。
- 你将收到一个带有控制选项的便捷键盘。
-
命令 ?️:
- 服务器状态 ? — 显示在线玩家、版本和 TPS。
- 控制台 ? — 显示最新的完整服务器日志。
- 命令 ⚡ — 输入任何命令(输出会在 3 秒后干净地捕获)。
- 登出 ? — 结束会话。
你也可以直接发送命令(以 / 开头)。
-
重载插件配置:
- 游戏内命令:
/tgcontrol reload(需要 tgcontrol.reload 权限)。
? 许可证
MIT License — 使用、修改、分享!?
❓ 需要帮助?
- 在 GitHub 上创建一个 Issue。
- 发布后在 SpigotMC 或 Modrinth 上提问。
? 鸣谢
由 Neon4ick 用 ? 制作
随时随地愉快地管理你的服务器!?
TelegramControl ??
TelegramControl is a ? powerful plugin for managing your Minecraft server (Spigot/Paper) via Telegram! ?
Check online status, execute commands, read console logs — all in just a couple of clicks!
The plugin is perfect for beginners and experienced admins, with simple setup and awesome features. ?
? Features
-
Server Control ?️:
- ? Server Status: Number of online players, version, and TPS.
- ? Console Logs: View the latest lines from the full server console (
latest.log).
- ⚡ Commands: Execute any server command with accurate output capture (including asynchronous commands like
/lp editor).
- ? Authorization: Secure login with username and password.
-
Logging ?:
- All actions (login, logout, commands, status/logs requests) are logged to the console with timestamp and Chat ID.
-
Security ?:
- Protection via login and password (configurable in
config.yml).
- Forbidden commands list (
stop, reload, op, deop and any custom commands).
-
Convenience:
- Clean inline keyboard with buttons: Server Status, Console, Command, Logout.
- Multilingual support: English and Russian out of the box (
language: en or ru in config.yml).
- Optional separate bot for plugin startup notifications.
-
Admin Tools:
- In-game command
/tgcontrol reload — safely reloads config and language without restarting bots.
- Permission:
tgcontrol.reload (default: op).
-
Compatibility ?️:
- Fully compatible with Spigot/Paper 1.16.5 and newer (recommended: Paper or Purpur).
- Works on all modern Minecraft versions up to the latest (including 1.21+).
? Requirements
| Requirement |
Version |
| Minecraft Server |
Spigot/Paper 1.16.5+ |
| Java |
17 or higher (Java 21 recommended for newer MC versions) |
| Dependencies |
Spigot API, TelegramBots library |
?️ Installation
-
Download the plugin ?:
-
Add to the server ⚙️:
- Place
TelegramControl.jar in your server's plugins/ folder.
-
Create Telegram bots ?:
- Open Telegram and message @BotFather.
- Use
/newbot to create your control bot and get the token.
- (Optional) Create a second bot for startup notifications.
-
Configure config.yml ?:
- The file is generated on first launch in
plugins/TelegramControl/.
- Edit it:
language: en # en or ru
bot:
token: "YOUR_BOT_TOKEN_HERE" # Main control bot token
username: "YourBotUsername" # Bot username without @ (e.g., MyControlBot)
auth:
login: "admin" # Login
password: "securepassword" # Password (change it!)
forbidden_commands:
- "stop"
- "reload"
- "op"
- "deop"
log_lines: 20 # Number of console lines to show
-
Restart the server ?:
- Restart the server, and the bots will start automatically!
? How to Use
-
Authorization ?:
- Message your ControlBot and send
/login.
- Enter the login and password from
config.yml.
- You will receive a handy keyboard with controls.
-
Commands ?️:
- Server Status ? — shows online players, version, and TPS.
- Console ? — displays the latest full server logs.
- Command ⚡ — enter any command (output is captured cleanly after 3 seconds).
- Logout ? — ends the session.
You can also send commands directly (starting with /).
-
Reload plugin config:
- In-game command:
/tgcontrol reload (requires tgcontrol.reload permission).
? License
MIT License — use, modify, share! ?
❓ Need Help?
- Create an Issue on GitHub.
- Ask on SpigotMC or Modrinth once published.
? Credits
- SpigotMC for the awesome API! ?️
- TelegramBots for seamless Telegram integration. ?
- Everyone who uses TelegramControl! ❤️
Made with ? by Neon4ick
Manage your server with pleasure — anywhere, anytime! ?
评论 0
登录后参与评分
还没有评论,来抢沙发吧