SANDBOX — this is a test environment. No servers are actually deployed and no real payments are charged.
Source-checkedAdmin & protection

Two Factor Authentication - 2FA

by Hipppo · for Minecraft

Google Authenticator in Minecraft

3.3KDownloads
8 yr agoLast updated
Spigot · PaperLoaders
1.13Latest game version

About Two Factor Authentication - 2FA

From SpigotMC

Google Authenticator in Minecraft

[​IMG]
Two Factor Authentication is a free way to protect your players from hackers.
<button type="button" class="button bbCodeSpoilerButton ToggleTrigger Tooltip JsOnly" title="Click to reveal or hide spoiler" data-target="> .SpoilerTarget">Spoiler: QR-Code</button>
[​IMG]
<button type="button" class="button bbCodeSpoilerButton ToggleTrigger Tooltip JsOnly" title="Click to reveal or hide spoiler" data-target="> .SpoilerTarget">Spoiler: Enable Message</button>
[​IMG]
<button type="button" class="button bbCodeSpoilerButton ToggleTrigger Tooltip JsOnly" title="Click to reveal or hide spoiler" data-target="> .SpoilerTarget">Spoiler: Help Message</button>
[​IMG]

[​IMG]
Code (YAML):
qr-image-keyId : MinecraftServer
settings:
&nbsp; deny-commands : true
&nbsp; deny-movement : true
&nbsp; deny-interaction : true
&nbsp; deny-damage : true
&nbsp; give-qr-map : true
storage :
&nbsp; # You can choose between YML or MYSQL
&nbsp; storage-type : YML
&nbsp; connection-details:
&nbsp; &nbsp; host : 0.0.0.0
&nbsp; &nbsp; port : 3306
&nbsp; &nbsp; username : username
&nbsp; &nbsp; password : password
&nbsp; &nbsp; # Insert your details for MYSQL here if you have the storage-type: MYSQL
&nbsp; &nbsp; mysql:
&nbsp; &nbsp; &nbsp; database : twofactor
&nbsp; &nbsp; &nbsp; table : twofactorusers

# You can reload the messages in-game with the command '/twofactor reload'
messages:
&nbsp; invalid-code : '&amp;cYou have entered an invalid code! &amp;7Note : A code will only contain numbers'
&nbsp; valid-code : '&amp;a&amp;lAccess granted! &amp;7Your access has been granted to our server!'
&nbsp; twofactor-help : |
&nbsp; &nbsp;&amp;a&amp;lTwo Factor Authentication Help
&nbsp; &nbsp; &amp;7- /twofactor enable
&nbsp; twofactor-enabled : |
&nbsp; &nbsp;&amp;7Your &amp;6Google Authentication Key &amp;7is &amp;a{key}
&nbsp; &nbsp; &amp;7Please enter this key in your &amp;6Google Authenticator App&amp;7 or
&nbsp; &nbsp; &amp;7you can scan the QR-Code on your screen!
&nbsp; twofactor-join : |
&nbsp; &nbsp;&amp;7Please open the &amp;6Google Authenticator App &amp;7and provide the six digit code.
&nbsp; &nbsp; &nbsp;&amp;7
Note: Type the six digit code in the chat
&nbsp; twofactor-disabled : '&amp;cYou have successfully disabned 2FA! &amp;7*Note : Your account is no longer secure'
&nbsp; twofactor-already-secured : '&amp;aYou account has already been secured!'
&nbsp; twofactor-no-permission : '&amp;cYou are not permitted to use this command.'
&nbsp; admin:
&nbsp; &nbsp; invalid-player : '&amp;cWe can not find the player {player } in our database!'
&nbsp; &nbsp; player-reset-success : '&amp;cYou have successfully removed the 2FA code for {player }!'
&nbsp; &nbsp; player-reset-nokey : '&amp;cYou can not remove the code for {player }, because this player does not have a key'
&nbsp; &nbsp; plugin-reload : '&amp;aYou have successfully reloaded the configuration file for &amp;lTwo Factor Authentication&amp;a.'
<button type="button" class="button bbCodeSpoilerButton ToggleTrigger Tooltip JsOnly" title="Click to reveal or hide spoiler" data-target="> .SpoilerTarget">Spoiler: qr-image-keyId</button>
[​IMG]
For example if your qr-image-keyId in the config file is MinecraftServer the text in the app will change to MinecraftServer.

[​IMG]

Read the full description on SpigotMC →

Highlights

From source data

Game versions

Supports 6 Minecraft versions, the newest being 1.13.

Loaders

Runs on Spigot and Paper.

Footprint

Rated a light load on a server.

Two Factor Authentication - 2FA on Nxeon

From our catalogue
One-click install
Supported on Nxeon Minecraft servers, for Paper servers. We download it from SpigotMC, place it, and restart the server.
Server side
Required on the server
Server type needed
Spigot, Paper
Server load
light
Smallest plan we suggest
Minecraft — 1.5 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
Version 1.2.1, released 2019-03-23

Game versions by loader

LoaderGame versionsNewest
Paper1.8 to 1.13 (6 versions)1.13
Spigot1.8 to 1.13 (6 versions)1.13

From 5 recorded builds of Two Factor Authentication - 2FA.

Recent builds

BuildReleasedGame versionsLoaders
Version 1.2.12019-03-231.8 to 1.13 (6 versions)Spigot, Paper
1.2.12018-07-03n/aSpigot, Paper
1.12017-11-15n/aSpigot, Paper
Currently version 0.12017-11-15n/aSpigot, Paper
0.12017-11-14n/aSpigot, Paper

Run Two Factor Authentication - 2FA on a Minecraft server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on SpigotMC as “Admin”

Admin & protection

Permissions, moderation, anti-cheat and land protection for the people running the server.

Runs on your server

From source side support

SpigotMC lists Two Factor Authentication - 2FA as required on the server. Check its SpigotMC page to see whether players need it too.

Compatibility

Game
Minecraft
Loaders
SpigotPaper
Runs on
Serverrequired on the server
Game versions
1.13 and 5 earlier
Requires
One-click install needs a Paper server.

Verified at the source

  • ✓SpigotMCOfficial listing, checked 2026-10-16Open ↗
  • ✓AuthorHipppo, as published on SpigotMC
  • ✓LicenseNot published by the sourceFree

Two Factor Authentication - 2FA, answered

Generated from the mod’s own source data.

Do my players need to install Two Factor Authentication - 2FA?

SpigotMC lists Two Factor Authentication - 2FA as required on the server. Check its SpigotMC page to see whether players need it too.

Which loaders does it support?

Spigot and Paper.

Is it free?

Yes. Two Factor Authentication - 2FA is free to download from SpigotMC.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run Two Factor Authentication - 2FA on a Minecraft server.

Deploy in about a minute from $4.20 a month, then add Two Factor Authentication - 2FA in one click.