Nowew GoogleUstaw CraftRank jako preferowane źródło w wyszukiwarce GoogleDodaj w Google ›
CraftRank SitesDarmowa strona i sklep dla twojego serwera Zrób swoją ›AshlarDarmowe oprogramowanie serwera oparte na Paper, z ochroną przed DDoS i backdoorami Zobacz Ashlar ›Security RadarDarmowe sprawdzenie logowania, anty-bota i proxy twojego serwera, tylko za twoją zgodą Zobacz, jak to działa ›SpołecznośćZadawaj pytania, dziel się budowlami i znajdź ludzi do gry Dołącz do forum ›
Zasoby / Pluginy / TgRelay

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…

PluginyZa darmo1.21 – 26.x
autor: Stil00000 · pobrane z Modrinth
Pobierz ›

Bezpośrednie pobieranie z Modrinth · 2 pobrań

Nota prawna

Źródło i własność. Ta strona została wygenerowana automatycznie z publicznych danych, które Modrinth udostępnia przez swoje publiczne API. Nazwa, opisy, obrazy, znaki towarowe i wszelkie inne treści tego projektu należą do Stil00000 i ich odpowiednich właścicieli. CraftRank nie jest autorem tego projektu i nie jest powiązany z jego autorem ani z Modrinth, ani przez nich popierany lub sponsorowany.

Hosting i dystrybucja. CraftRank nie hostuje, nie przechowuje, nie wgrywa i nie rozpowszechnia plików do pobrania tego projektu, a na serwerach CraftRank nie jest przechowywany żaden taki plik. Każde pobranie jest udostępniane bezpośrednio przez Modrinth z jego własnych serwerów; przycisk Pobierz jedynie prowadzi do pliku tam. Licencja podana na Modrinth to MIT.

Korzystanie z publicznych API. Modrinth, Hangar (PaperMC) i SpigotMC (przez API Spiget) udostępniają publicznie swoje API zewnętrznym stronom i aplikacjom. Warunki korzystania z Modrinth dają użytkownikom API licencję na pobieranie, wyświetlanie i odpytywanie treści przez ich własne usługi (sekcja „API Usage”), a twórcy publikujący na Modrinth udzielają Modrinth i jego licencjobiorcom prawa do wyświetlania i rozpowszechniania ich treści osobom trzecim (sekcja „User Contributions”). CraftRank korzysta z tych API zgodnie z opublikowanymi zasadami platform: przedstawia się w każdym zapytaniu i przestrzega limitów.

Brak gwarancji. Informacje na tej stronie są udostępniane „tak jak są”, bez żadnej gwarancji. Pobieranie i używanie tego projektu odbywa się na własne ryzyko i podlega licencji oraz warunkom jego autora.

Zgłoszenia naruszeń praw autorskich (DMCA). Zgłoszenie może złożyć wyłącznie właściciel praw autorskich lub osoba upoważniona do działania w jego imieniu, a musi ono pochodzić od osoby pełnoletniej albo jej rodzica lub opiekuna prawnego. Ważne zgłoszenie wysłane na abuse@craftrank.org musi zawierać: link do tej strony; utwór, którego naruszenie się zarzuca; Twoje imię i nazwisko, adres pocztowy, numer telefonu i e-mail; oświadczenie, że w dobrej wierze uważasz, iż korzystanie nie jest dozwolone przez właściciela, jego przedstawiciela ani prawo; oświadczenie, złożone pod rygorem odpowiedzialności za fałszywe zeznania, że zgłoszenie jest prawdziwe i że jesteś właścicielem lub osobą upoważnioną; oraz Twój podpis fizyczny lub elektroniczny. Niekompletne zgłoszenia nie są rozpatrywane. Ważne zgłoszenia są obsługiwane w ciągu 48 godzin, bez potrzeby zgłaszania przez Google.

Fałszywe zgłoszenia. Kto świadomie i nieprawdziwie twierdzi, że materiał narusza prawa, odpowiada za wyrządzone szkody, w tym koszty i honoraria prawników (17 U.S.C. § 512(f)). Zgłoszenia składane w złej wierze lub przez osoby, którym nie przysługują prawa, są rejestrowane i będą kwestionowane.

TgRelay, zrzut ekranu 1

Co robi

TgRelay to plugin do serwerów Paper / Spigot, autor: 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…

Obsługiwane wersje: Minecraft 1.21 – 26.x. Liczba pobrań w serwisie Modrinth: 2. Zajmuje 122. miejsce w kategorii „pluginy czatu głosowego i społecznościowe” (łącznie: 128). Ostatnia aktualizacja: 25.10.2026.

Obsługiwane wersje

26.x1.21

Historia wersji

Najnowsza to 1.3.0, wydana 24.10.2026. Jest zrobiona dla Minecraft 1.21 – 26.1.2. Działa na Paper i Purpur. Plik ma 45 KB.

WersjaWydanoMinecraftTyp
1.3.024.10.20261.21 – 26.1.2Wydanie

Komendy

Komendy wymienione na stronie TgRelay w Modrinth:

/tgrelay

Najnowsze wydanie na GitHubie

TgRelay ma otwarty kod. Najnowsze wydanie na GitHubie to TgRelay 1.13.4 — one console line per outage, opublikowane 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

Wcześniej: TgRelay 1.13.3 — no notice per dropped handshake (30.10.2026), TgRelay 1.13.2 — heads from Mojang (29.10.2026).

Opis autora na 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.

Autor: Stil00000. Z obrazkami na Modrinth.

Jak zainstalować TgRelay

  1. Upewnij się, że twój serwer działa na Paper i Spigot w Minecraft 1.21 – 26.x.

  2. Pobierz plik .jar z Modrinth i wrzuć go do folderu plugins na serwerze.

  3. Zrestartuj serwer. Unikaj /reload, wiele pluginów źle to znosi.

  4. Wpisz /plugins w konsoli: TgRelay powinien być na zielono. Pliki konfiguracyjne tworzą się w folderze plugins przy pierwszym starcie.

Pełny poradnik: Jak zainstalować pluginy na serwerze Minecraft

Kompatybilność

Wersje Minecraft
26.x, 1.21
Działa na
Paper, Spigot
Edycja
Java
Wymaga
Niczego więcej
Licencja
MIT
Cena
Za darmo
Utrzymanie
Aktywnie aktualizowany (26.11.2026)

TgRelay w porównaniu z podobnymi Porównaj wszystkie alternatywy

ZasóbPobraniaWersjeAktualizacjaCena
TgRelayten, który oglądałeś21.21 – 26.x25 paź 2026Za darmo
MineBridgearidrochatterjee571.20 – 26.x3 d. temuZa darmo
Bedrock Simple VoicePietris2,6371.20 – 26.x9 d. temuZa darmo
Rest SonarRestStudio121.21 – 26.x13 d. temuZa darmo

Pytania

Czy TgRelay działa w wersji Minecrafta 26.x?

Tak. TgRelay działa w wersji Minecrafta 26.x. Wszystkie obsługiwane wersje: 26.x, 1.21.

Czy TgRelay jest za darmo?

Tak. TgRelay można pobrać za darmo z serwisu Modrinth.

Na jakim oprogramowaniu serwera działa TgRelay?

TgRelay działa na serwerach Paper i Spigot.

Czy TgRelay działa po stronie serwera?

Tak. TgRelay to plugin serwerowy: trafia do folderu plugins serwera, a nie do folderu mods w grze gracza.

Czy TgRelay jest nadal aktualizowany?

Tak. Ostatnia aktualizacja wyszła w ciągu ostatniej doby.

Jakie są najlepsze alternatywy dla TgRelay?

Najbliższe to MineBridge, Bedrock Simple Voice i Rest Sonar. Porównaj wszystkie alternatywy

Alternatywy dla TgRelay

MineBridgePluginy · 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.

Za darmoPobrania: 57
Rest SonarPluginy · 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…

Za darmoPobrania: 12
justPollsPluginy · 26.x

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

Za darmoPobrania: 4
Porównaj wszystkie alternatywy ›

Opinie

–★★★★★
Opinie: 0
50
40
30
20
10

Zaloguj się, aby wystawić opinię.