tg-bridge 图标

tg-bridge

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.4.2
本资源为搬运资源,原资源地址: https://modrinth.com/mod/tg-bridge
资源信息

Minecraft 版本: 1.15.1 1.15.2 1.16 1.16.1 1.16.2 1.16.3 1.16.4 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2

平台: bukkit paper purpur spigot

标签: management social utility

资源介绍

MCTG-bridge

GitHub Tag
GitHub All Releases

GitHub Build

Minecraft

Minecraft Minecraft Minecraft Minecraft

MCTG-bridge is a standalone working out of box plugin that creates a chat bridge between Telegram group and Minecraft chat.

How to use

Get jar file

  • Download stable version - you can download compiled package from releases page

  • Download experimental-automatiacly-built version from github actions

  • Build by yourself - mvn clean install

Setup telegram bot

  • Head to https://t.me/BotFather
  • Use command /newbot and follow instructions
  • Use /setprivacy and set it to DISABLED if you want bot to see messages in chats
  • Remember API token

Configure plugin

  • Copy jar file to server's plugins folder

  • Start server to generate config for plugins

  • Put bot's API token to plugins/tg-bridge/config.yml at api_token column

  • Restart server - at startup you should see message like this

    [17:10:59 WARN]: [tg-bridge] chat_id is null, use /attach <secretTempCode> to pin one
    [17:10:59 WARN]: [tg-bridge] secretTempCode is set to -72683

    After that add bot to target chat and execute that command in it:

    /attach secretTempCode

    Now you need to make final restart and plugin is ready to use

  • Adjust other config options by your needs

    Preview

image

image

image

image

Telegram bot commands

Base command set

memory - show allocated memory
list - list online players
ping - pong
uptime - show uptime
stats - player stats
top - get top stats
kickme - kicks you...

From ivite system

invite - invite person to server (optional)

From login security

removepass - remove account password
changepass - change account password

For now all they by default enabled (except last ones since they depedns from corresponding plugin presence)

todo: add configurability and scripting

How to setup ngrok (/tunnel command)

To setup ngrok or telegram /tunnel command you need to put you ngrok auth to config file field ngrok_auth

you can get one from https://ngrok.com

What's Left to be Added/Fixed

  • The Following Ideas
    • [x] Message reduction
    • [x] Message merging
    • [x] Login via telegram
      • [x] Hook with existing login plugin
    • [x] Flexible configurtation
    • [x] Ingore switch
    • [ ] Custom localization
    • [ ] Config editor
    • [ ] Reply by click
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Carpet Boat

价格:0 墨喵币
下载量:0

查看详情
AwesomeKeycards

价格:0 墨喵币
下载量:0

查看详情
PerfTriage

价格:0 墨喵币
下载量:0

查看详情
Chalk

价格:0 墨喵币
下载量:0

查看详情