ModsFinder

TgAuth2

by annimir

TgAuth2 lets server owners verify players through a Telegram bot login, with 12-hour device sessions that require fresh confirmation on a new device or IP.

NeoForgeServer-side onlyApache License 2.0Open source1.21.1

What it does

A player who joins the server types tgauth link and is sent to a Telegram bot. The player opens the chat, sends start to the bot, and the bot checks the whitelist before issuing a 6-digit code. Once that code is entered, the Telegram account is permanently linked to the player's server account, so later logins can be confirmed from Telegram alone.

Each login is confirmed in the Telegram chat with inline Yes and No buttons. A device that the player has used before stays trusted for a 12-hour session, while a new device or a changed IP prompts a new confirmation. The fingerprint combines the IP address with the player UUID, so two players behind the same NAT still get separate fingerprints. A player using a VPN whose IP changes has the session invalidated and must confirm through Telegram at the next login.

The mod is server-side only and is written for NeoForge 1.21.1. Only Telegram IDs on the whitelist can register, so the server owner controls who gets an account. The bot token is created with BotFather, and Telegram IDs can be collected by having players write to userinfobot and copy the Id. The mod works with offline mode servers, since UUID matching is provided by NeoForge in both online and offline modes. It is released under the Apache License 2.0 and is open source, with public links for the source code and issue tracker.

Key features

  1. Telegram bot login

    Players confirm their identity through a Telegram bot chat rather than through a password stored on the server.

  2. Whitelisted registration

    Only Telegram IDs on the whitelist can register, so the server owner decides which accounts are allowed.

  3. 12-hour device sessions

    A known device and IP stay signed in for 12 hours, and a new device or IP needs a new Telegram confirmation.

  4. Inline confirmation buttons

    Login requests arrive with Yes and No buttons directly in the Telegram chat.

Compatibility

Latest build for each game version and loader.

No stable releases
Every published file is a beta or alpha build.
1.21.12.0.0
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

How it compares

Full comparison

KsuChat (TG Bridge) is a NeoForge 1.21.1 mod that runs on client and server, under the MIT License and open source, so it is a chat bridge rather than a login system. TeleFabric is open source under the MIT License and server-side only, but it targets Fabric 1.21.4 instead of NeoForge 1.21.1. Clearcheck is open source under the GNU Lesser General Public License v2.1 only, runs on client and server, and is built for NeoForge 1.21.1.

ModLoadersGame versionsEnvironmentUpdated
TgAuth2NeoForge1.21.1Server-side only2026-05-04
KsuChat (TG Bridge)NeoForge1.21.1Client and server2026-10-04
TeleFabricFabric1.21.4Server-side only2025-09-07
ClearcheckNeoForge1.21.1Client and server2026-08-25

Questions

Does TgAuth2 need to be installed on the client?

No. Players join without it, since only the server has to run the mod.

Does TgAuth2 work on offline mode servers?

Yes. The mod works with offline mode servers because UUID matching is provided by NeoForge in both online and offline modes.

How are Telegram IDs collected for the whitelist?

A player writes to userinfobot in Telegram and copies the Id it returns, which the server owner then adds to the whitelist.

In the catalog

TgAuth2 is one of 5,392 Social mods on ModsFinder, and one of 1,784 Social mods for NeoForge. 32,366 mods support Minecraft 1.21.1.

Similar mods

What the author says

Open @BotFather → /newbot → copy the token. Each player writes to @userinfobot → copies their Id.
annimir, on the Modrinth page

Official listing

Owner
annimir
Published
2026-05-04
Updated on Modrinth
2026-05-04
Facts verified
2026-10-15

Tags