GithubHelp home page GithubHelp logo

skyswimmer / mc2fa Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 137 KB

Two-factor Authentication Minecraft Mod

License: GNU Lesser General Public License v3.0

Java 93.70% Shell 6.30%
minecraft mod cyan cyan-servertools

mc2fa's Introduction

ServerTools: MC2FA

MC2FA is a server mod that will enable two-factor-authentication using a discord bot. Part of the ServerTools utility mod collection.

Mod requirements

  1. A Minecraft Cyan installation
  2. The latest ProtocolHooks coremod

Runs on

Supported versions

  • Minecraft 1.17
  • Minecraft 1.17.1
  • Minecraft 1.16.5

Runs on

  • The Minecraft Server

NOTE: Tested with pure Cyan, no other mods had been installed.

Building the mod

Building commands

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.

Installing the mod

Main installation:

  1. Find the build/cmf folder
  2. Copy the latest cmf file
  3. Find your Cyan installation
  4. Navigate to .cyan-data/mods
  5. Paste the mod file
  6. The mod will be kept up-to-date by the trust server

Setting up the development environment

Developing the mod

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.

mc2fa's People

Contributors

skyswimmer avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.