lasnikr / fabric-login

Allows your mod to log into minecraft accounts. Really easy and really fast.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Release

Minecraft switched to Microsoft accounts as a mean of logging in. Therefore the code is outdated

Fabric Login

Allows your mod to log into minecraft accounts. Really easy and really fast.
It is just a tool for developers. Not for users.

How to add fabric-login to your development enviroment:

1. Add JitPack to your build.gradle:

repositories {
  maven { url "https://jitpack.io" }
}

2. Add fabric-login to your build.gradle:

dependencies {
  modImplementation "com.github.lasnikprogram:fabric-login:FABRIC-LOGIN_VERSION"
}

FABRIC-LOGIN_VERSION should get replaced by the version you want to use.
You find them under tags (the latest one is also in green at the beginning of this Readme). Alternatively you can use the hash of any commit.

Usage

import fabric.login.Login;

new Login (username);
new Login (email, password);
new Login (String email, String password, Proxy proxy, String clientToken, Agent agent, String accountType);

Read the Javadoc for more information.

About

Allows your mod to log into minecraft accounts. Really easy and really fast.

License:GNU Lesser General Public License v3.0


Languages

Language:Java 100.0%