Home›Java›Mods›Dis2FA
Dis2FA
ModsJava

Dis2FA

Java mod listed for Minecraft 1.18. Downloads from the MC Java Mods app on Android.

by Majoramari · on Modrinth

Discord-based 2FA for offline-mode Minecraft servers. Link accounts, prevent unauthorized logins, and manage access through approvals.

Which build do you need?

This mod ships a separate file for every mod loader and every version of the game. Pick both, then download — the wrong build installs fine and then does nothing in the game.

Mod loader

Minecraft version

⬇ Download for 1.20.2–1.21.11 · Folia⬇ Download for 1.20.2–1.21.11 · Paper⬇ Download for 1.18.1–1.18.2 · Bukkit⬇ Download for 1.18.1–1.18.2 · Purpur⬇ Download for 1.18.1–1.18.2 · Spigot
I don't know my version or loader
Open the Minecraft launcher and look at the profile you play on — it names both, like fabric-loader-1.21.4. The version also shows in the bottom-right corner of the game's main menu.
No loader in the profile name? Then it's plain Minecraft, and these mods won't run — you need Fabric or NeoForge installed first.
Dis2FA — screenshot 1Dis2FA — screenshot 2Dis2FA — screenshot 3Dis2FA — screenshot 4Dis2FA — screenshot 5Dis2FA — screenshot 6Dis2FA — screenshot 7Dis2FA — screenshot 8

Dis2FA

Secure your offline-mode Minecraft server with Discord-based two-factor authentication. Players link their Discord account to their Minecraft account — and any device change requires Discord approval before they can join again.

How it works

  1. A player joins for the first time and gets kicked with a one-time code
  2. They send the code to the bot (DM or configured channel)
  3. Their Discord account is linked to their Minecraft UUID
  4. On future joins they're let straight in — unless their device changes
  5. If a new device is detected, an approval request is posted to Discord before they can join

Features

Compatibility

Platform Version Jar
Bukkit / Spigot / Purpur 1.18.2+ Dis2FA-bukkit-<version>.jar
Paper 1.20.2+ Dis2FA-paper-<version>.jar
Folia 1.20.2+ Dis2FA-folia-<version>.jar

Requirements

Setup

  1. Pick the correct jar for your server type
  2. Drop it into plugins/ and start the server once to generate config.yml
  3. Add your bot token and channel IDs to config.yml
  4. Restart the server
  5. Verify everything is working with /da status

Links

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.

File checked by MCModsHub

These come from our own check of the pack file, not from the source page.

Explore more