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 SpigotThis 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
to setup their custom login address. After they have used the command
they will have to login with
.
If they login with a different URL, then they will get a error message. This TwoFactor password can be reset by an admin using
.
Video demonstration:
Command summary:
Permissions:
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>
Code (Text):
/2fa <password>
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
/2fareset <username> - Command used by admins to reset a user's TwoFactor password
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)
twofactor.resettoken - Allows staff to reset a TwoFactor password (default: op)
Quick facts
- Edition: Minecraft Java
- File type: .jar
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
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.