HomeJavaModsTgAuth
TgAuth

FOR TESTING PURPOSES ONLY; DO NOT INSTALL ON PRODUCTION SERVERS WHILE BETA TESTING

Telegram-based login for Paper/Purpur servers. Players authenticate through a Telegram bot instead of a password — a code in chat for first-time linking, and inline Confirm/Reject buttons for every login after that. Optional FastLogin integration adds real Mojang-verified premium detection, with a safe fallback when it's not installed.

Features


Requirements


Setup

  1. Drop TgAuth.jar into plugins/, start the server once to generate config.yml.
  2. Set telegram.bot-token and telegram.bot-username in plugins/TgAuth/config.yml.
  3. /tgauth reload or restart.

Player flow: join → get a code in chat → send /link <code> to the bot → done. On future logins, either instant (licensed + FastLogin confirmed) or a Confirm/Reject button in Telegram.

Commands
/tgcode — Show your current link code
/tgauth reload — Reload config and language files (Permission: tgauth.admin)
/tgauth unlink <player> — Unlink a player from Telegram (Permission: tgauth.admin)
/tgauth forcelink <player> <telegramId> — Force-link an account (Permission: tgauth.admin)
/tgauth userinfo <player> — Link status, Telegram ID, @Username, premium status (Permission: tgauth.admin)
/tgauth fastlogin — FastLogin integration diagnostics (Permission: tgauth.admin)

Permissions

Third-party components

Bundled (shaded) into the release jar:

License

See LICENSE.

Older versions
For older versions go to GitHub.
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

TgAuth is a free Minecraft Java mod. Compatible with Minecraft 1.21. Downloaded 8 times (via Spigot). Download it and open it directly in the game.

Explore more