Новоев GoogleСделай CraftRank предпочтительным источником в поиске GoogleДобавить в Google ›
CraftRank SitesБесплатный сайт и магазин для твоего сервера Сделай свой ›AshlarБесплатное серверное ПО на базе Paper с защитой от DDoS и бэкдоров Смотреть Ashlar ›Security RadarБесплатная проверка входа, защиты от ботов и прокси твоего сервера, только с твоего согласия Как это работает ›СообществоЗадавайте вопросы, делитесь постройками и находите, с кем играть В форум ›

TgRelay

Two-way Minecraft and Telegram bridge: one long-poll connection, a rate-limited queue, player self-mute with a moderation channel, and several servers on one…

ПлагиныБесплатно1.21 – 26.x
от Stil00000 · из каталога Modrinth
Скачать ›

Прямая загрузка с Modrinth · 2 загрузок

Правовая информация

Источник и права. Эта страница создана автоматически на основе открытых данных, которые Modrinth предоставляет через свой публичный API. Название, описания, изображения, товарные знаки и всё прочее содержимое этого проекта принадлежат Stil00000 и соответствующим правообладателям. CraftRank не является автором этого проекта и не связан с его автором или Modrinth, не одобрен и не спонсируется ими.

Размещение и распространение. CraftRank не размещает, не хранит, не загружает и не распространяет файлы для скачивания этого проекта, и ни один такой файл не хранится на серверах CraftRank. Каждое скачивание предоставляется напрямую Modrinth с его собственных серверов; кнопка «Скачать» лишь ведёт к файлу там. Лицензия, указанная на Modrinth: MIT.

Использование публичных API. Modrinth, Hangar (PaperMC) и SpigotMC (через API Spiget) открыто предоставляют свои API сторонним сайтам и приложениям. Условия использования Modrinth дают пользователям API лицензию на скачивание, отображение и запрос контента через их собственные сервисы (раздел «API Usage»), а авторы, публикующиеся на Modrinth, предоставляют Modrinth и его лицензиатам право показывать и распространять их контент третьим лицам (раздел «User Contributions»). CraftRank использует эти API в соответствии с опубликованными правилами платформ: представляется в каждом запросе и соблюдает их лимиты.

Отказ от гарантий. Информация на этой странице предоставляется «как есть», без каких-либо гарантий. Скачивание и использование этого проекта осуществляется на ваш риск и регулируется лицензией и условиями его автора.

Уведомления об авторском праве (DMCA). Подать уведомление может только правообладатель или лицо, уполномоченное действовать от его имени, и оно должно исходить от совершеннолетнего лица либо его родителя или законного представителя. Действительное уведомление, отправленное на abuse@craftrank.org, должно содержать: ссылку на эту страницу; произведение, права на которое якобы нарушены; ваши полное имя, почтовый адрес, телефон и e-mail; заявление о том, что вы добросовестно полагаете, что использование не разрешено правообладателем, его представителем или законом; заявление под страхом ответственности за лжесвидетельство о том, что уведомление точно и вы являетесь правообладателем или уполномочены действовать от его имени; а также вашу физическую или электронную подпись. Неполные уведомления не рассматриваются. Действительные уведомления обрабатываются в течение 48 часов, без обращения в Google.

Ложные уведомления. Тот, кто заведомо ложно заявляет о нарушении, несёт ответственность за причинённый ущерб, включая расходы и оплату услуг юристов (17 U.S.C. § 512(f)). Уведомления, поданные недобросовестно или лицами, не обладающими правами, фиксируются и будут оспорены.

TgRelay, скриншот 1

Что он умеет

TgRelay — плагин для серверов Paper / Spigot от Stil00000. Two-way Minecraft and Telegram bridge: one long-poll connection, a rate-limited queue, player self-mute with a moderation channel, and several servers on one…

Поддерживаемые версии: Minecraft 1.21 – 26.x. Скачиваний на Modrinth: 2. Это место №122 в разделе «плагины голосового чата и общения» (всего в списке: 128). Последнее обновление: 25.10.2026.

Поддерживаемые версии

26.x1.21

История версий

Новейшая — 1.3.0, вышла 24.10.2026. Она сделана для Minecraft 1.21 – 26.1.2. Работает на Paper и Purpur. Размер файла — 45 KB.

ВерсияВыпущенMinecraftТип
1.3.024.10.20261.21 – 26.1.2Релиз

Команды

Команды, указанные на странице TgRelay на Modrinth:

/tgrelay

Последний релиз на GitHub

TgRelay — проект с открытым кодом. Новейший релиз на GitHub — TgRelay 1.13.4 — one console line per outage, вышел 18.11.2026.

Telegram outages are now one console line, not one per timed-out poll.

On a slow home line a long poll can time out every couple of minutes; the console was printing a

line for each of them while the admins (correctly) stayed silent. Now the console gets a line when

the outage is confirmed — the same poll-failures / outage-seconds threshold the notices use —

and a line when the link is back. Admin notices keep their behaviour exactly as before.

Also: firstFailureAt is cleared on any recovery, not only after a confirmed outage, so a slow

flap does not carry over into the next one.

Full Changelog: v1.13.3...v1.13.4

До этого: TgRelay 1.13.3 — no notice per dropped handshake (30.10.2026), TgRelay 1.13.2 — heads from Mojang (29.10.2026).

Описание автора на Modrinth

TgRelay is a Paper plugin that connects Minecraft chat to Telegram — a group, a channel or a private chat — without leaking a network socket every second. It was written for Losos World, a survival server running since 2014, after the classic TelegramChat plugin pushed the machine into "No buffer space available" with thousands of leaked connections.

If your server needs Minecraft chat in Telegram (and Telegram messages in Minecraft), this is the drop-in replacement that will not take the box down after a week.

Why another Telegram bridge?

The old TelegramChat plugin (1.0.21, December 2022; SpigotMC page) calls getUpdates in a tight loop and leaves every socket behind: about 2.3 new connections per second, several thousand per hour. Windows eventually runs out of ephemeral ports and everything else starts failing — Bedrock players get dropped, RCON stalls, plugins lose access to Mojang.

TgRelay does it properly:

  • Long polling — a single getUpdates?timeout=25 request stays open, so one cycle costs one connection instead of hundreds.
  • One shared java.net.http.HttpClient with a bounded pool: connections are reused and closed on shutdown.
  • Outbound queue with a rate limit — a chatty server cannot flood Telegram and get the bot throttled.
  • Backoff on errors instead of a retry storm; the update offset survives restarts, so old messages are never replayed into the game.
  • Several servers on one bot — a hub/spoke bridge, so a survival world and a creative server report into the same chat, each line prefixed with its server name.
  • No third-party libraries — only the JDK and the Paper API.

Features

  • Minecraft → Telegram: chat, join, quit, deaths and advancements (each event can be disabled).
  • Telegram → Minecraft: messages are printed with tellraw, so they keep colours and are never attributed to a player.
  • Groups, channels and private chats; one bot can post to many destinations.
  • %player%, %message%, %sender%, %server% placeholders in every format string.
  • English, Russian and Chinese locale files, overridable without a rebuild.
  • /tgrelay status shows chats, queue, offset and the moderation route; /tgrelay reload re-reads the config.

Several servers, one Telegram chat

Telegram gives a bot exactly one getUpdates reader, so installing the plugin on a second server with the same token does not work: the two pollers steal updates from each other and one server's chat randomly disappears. The usual advice is "run a second bot" — which is a second chat in every player's list.

TgRelay makes one server the hub instead. It owns the bot; every other server is a spoke that talks to it over loopback HTTP with a shared secret:

hub — the server that owns the bot

server: { name: "Losos" }
relay:
mode: hub
token: "a-long-random-string"
bind: "127.0.0.1:8765"
spokes: ["127.0.0.1:8766"]
format:
from-minecraft: "[%server%] %player%: %message%"

spoke — any other server, same token

server: { name: "Build" }
relay:
mode: spoke
token: "a-long-random-string"
bind: "127.0.0.1:8766"
hub: "127.0.0.1:8765";

One chat gets both worlds, and every line says where it came from:

[Losos] Steve: hi there
[Build] Alex: testing the roof

  • The bot belongs to the hub only; a spoke needs no token of its own, so there is nothing to leak and nothing to duplicate.
  • Requests carry the shared secret in X-TgRelay-Token; the listener binds to loopback unless you change relay.bind.
  • Muted players are still routed to the moderation channel by the hub, so /tgrelay off behaves the same on every server.
  • A spoke retries three times before giving up and logs the loss; a dead spoke is reported by the hub once per five minutes.

With no relay and server sections the plugin runs exactly like a single-server install — the feature is opt-in.

Privacy: let players mute themselves

A player can keep their own messages out of the public chats:

  • /tgrelay off — the player's messages stop going to bot.chats;
  • /tgrelay on — back to normal;
  • /tgrelay status — what their current state is.

Muted messages are not deleted. They are forwarded to a moderation channel with a [mute] prefix, so admins keep the full picture while everyone else sees nothing:

  1. moderation.chat — a separate Telegram chat the players are not in (simplest: add the bot there, paste the id, done);
  2. otherwise a DM to every operator with a linked account — operators come from ops.json, so there is no second list to maintain;
  3. otherwise the server console, so nothing disappears silently.

Linking is a one-time code (/tgrelay link), because Telegram knows user ids while Minecraft knows nicknames — a stranger cannot claim somebody else's account by typing a nickname.

Install

  1. Drop TgRelay.jar into plugins/.
  2. Start the server once, then edit plugins/TgRelay/config.yml:

bot:
token: "123456:AA..." # from @BotFather
chats:

  • 123456789 # a DM with the bot
  • -1001234567890 # a group the bot is a member of
  1. Run /tgrelay reload.

For a group, add the bot to the group first — otherwise Telegram answers chat not found, which is exactly the failure that made the old plugin spin.

Commands and permissions

Command · Who · What
/tgrelay off / on · players · hide or restore your own messages
/tgrelay link / unlink · players · pair or unpair a Telegram account
/tgrelay status · players and admins · your state; admins also see the relay counters
/tgrelay reload · tgrelay.admin · re-read config.yml
/tgrelay testmute · tgrelay.admin · send a test message through the moderation route

Compatibility

  • Paper and forks that keep the Paper API (Purpur, and similar) — the plugin uses AsyncChatEvent.
  • Java 21+, tested on Paper 1.21 and on a live server with Geyser, ViaVersion and Floodgate installed.
  • Can run side by side with TelegramChat, but only one plugin may hold a bot token at a time: Telegram allows a single getUpdates consumer per bot.

Open to ideas

This plugin is maintained in the open and it is shaped by the people who run it. If something is missing — a different relay target, per-world filters, a web dashboard, a locale you need — open an issue or a pull request on GitHub. Bug reports with a log excerpt are especially welcome.

Where it runs

TgRelay powers the Telegram bridge of Losos World — a survival server that has been running since 2014 without a single wipe, without private zones and without donations.

The plugin is not tied to that server in any way: any Paper server can run it with its own bot token.

Links

TgRelay is not affiliated with Mojang or Microsoft.

Автор: Stil00000. С картинками — на Modrinth.

Как установить TgRelay

  1. Убедись, что твой сервер работает на Paper и Spigot с Minecraft 1.21 – 26.x.

  2. Скачай .jar-файл с Modrinth и положи его в папку plugins на сервере.

  3. Перезапусти сервер. Не используй /reload, многие плагины плохо это переносят.

  4. Введи /plugins в консоли: TgRelay должен быть зелёным. Файлы настроек создаются в папке plugins при первом запуске.

Подробное руководство: Как установить плагины на сервер Minecraft

Совместимость

Версии Minecraft
26.x, 1.21
Работает на
Paper, Spigot
Издание
Java
Требует
Ничего больше
Лицензия
MIT
Цена
Бесплатно
Поддержка
Активно обновляется (26.11.2026)

TgRelay в сравнении с похожими Сравнить все альтернативы

РесурсЗагрузкиВерсииОбновлениеЦена
TgRelayтот, что ты смотрел21.21 – 26.x25 окт. 2026Бесплатно
MineBridgearidrochatterjee571.20 – 26.x3 дн. назадБесплатно
Bedrock Simple VoicePietris2,6371.20 – 26.x9 дн. назадБесплатно
Rest SonarRestStudio121.21 – 26.x13 дн. назадБесплатно

Вопросы

Работает ли TgRelay на Minecraft 26.x?

Да. TgRelay поддерживает Minecraft 26.x. Все поддерживаемые версии: 26.x, 1.21.

Можно ли скачать TgRelay бесплатно?

Да. TgRelay можно бесплатно скачать на Modrinth.

На каком серверном ПО работает TgRelay?

TgRelay работает на серверах Paper и Spigot.

TgRelay работает на стороне сервера?

Да. TgRelay — серверный плагин: он кладётся в папку plugins сервера, а не в папку mods игры игрока.

TgRelay ещё обновляется?

Да. Последнее обновление вышло за последние сутки.

Чем можно заменить TgRelay?

Ближе всего к нему MineBridge, Bedrock Simple Voice и Rest Sonar. Сравнить все альтернативы

Альтернативы для TgRelay

MineBridgeПлагины · 1.20 – 26.x

MineBridge connects Minecraft and Discord with seamless two-way chat, configurable channels, bot filtering, and safe message handling for your community.

БесплатноЗагрузок: 57
Rest SonarПлагины · 1.21 – 26.x

Server-side Minecraft anti-bot connection filtering with configurable per-IP and subnet rate limits, adaptive flood protection, temporary blocks, and admin…

БесплатноЗагрузок: 12
justPollsПлагины · 26.x

Timed in-game polls with a clickable dialog menu, SQLite/MariaDB storage and Discord webhook results.

БесплатноЗагрузок: 4
Сравнить все альтернативы ›

Отзывы

–★★★★★
Отзывов: 0
50
40
30
20
10

Войди, чтобы оставить отзыв.