MC2FA is a server mod that will enable two-factor-authentication using a discord bot. Part of the ServerTools utility mod collection.
- A Minecraft Cyan installation
- The latest ProtocolHooks coremod
- Minecraft 1.17
- Minecraft 1.17.1
- Minecraft 1.16.5
- The Minecraft Server
NOTE: Tested with pure Cyan, no other mods had been installed.
On Linux, you need to run the following commands:
chmod +x gradlew
./gradlew build
On Windows, you need to run only the following:
.\gradlew build
TIP: you can add -PoverrideGameVersion=<version>
to select a game version.
Main installation:
- Find the
build/cmf
folder - Copy the latest
cmf
file - Find your Cyan installation
- Navigate to
.cyan-data/mods
- Paste the mod file
- The mod will be kept up-to-date by the trust server
On Linux, you need to run the following commands to prepare the debug environment:
chmod +x gradlew
./gradlew creatEclipse
On Windows, you need to run only the following:
.\gradlew creatEclipse
This process will take a lot of time if run for the first time. After running the commands, you can import this project in the Eclipse IDE.
TIP: you can add -PoverrideGameVersion=<version>
to select a game version.