Home›Java›Mods›TwoFactor
TwoFactor
ModsJava

TwoFactor

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

This plugin requires ProtocolLib available here - This plugin currently only works in ONLINE MODE due to use of UUIDs. TwoFactor (2FA) is a small plugin…

⬇ Download on Spigot
This plugin requires ProtocolLib available here - http://www.spigotmc.org/resources/protocollib.1997/

This plugin currently only works in ONLINE MODE due to use of UUIDs.

TwoFactor (2FA) is a small plugin that adds an additional layer of security to your server. This plugin ensures that even if a player's password is compromised, their account and items on your server are safe.

Here's how it works: First as the server and domain owner you setup a wildcard DNS record for your server. The method to do this varies by domain registrar, so use Google to find out how exactly to do this.

For example, if people usually connect using mc.yourserver.com, you need to set a DNS record to direct *.mc.yourserver.com to your IP.

Then you want to setup the plugin and modify the configuration to your liking. After that players can use the command
Code (Text):
/2fa <password>
to setup their custom login address. After they have used the command
Code (Text):
/2fa <password>
they will have to login with
Code (Text):
<password>.mc.yourserver.com
.
If they login with a different URL, then they will get a error message. This TwoFactor password can be reset by an admin using
Code (Text):
/2fa reset
.

Video demonstration:


Command summary:
Code (Text):
/2fa <password> - Command used by players to set a TwoFactor password

/2fareset <username> - Command used by admins to reset a user's TwoFactor password
Permissions:
Code (Text):
twofactor.changetoken - Allows a player to set a TwoFactor password (default: true)

twofactor.resettoken - Allows staff to reset a TwoFactor password (default: op)

Commands

Plugin details

Read from the plugin's own plugin.yml.

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.

TwoFactor is a free Minecraft Java mod. Downloaded 290 times (via Spigot). Download it and open it directly in the game.

Explore more