MultiMC Tokens
Use MultiMC to authenticate for minecraft-protocol
Example Code
import {use} from "multimc-tokens";
let client = use({
multimc_location: "D:\\MultiMC",
username: "Sascha_T",
host: "localhost",
port: 25565
});
use
function
The main argument is an array and can contain 2 optional things:
multimc_location
: Location of the MultiMC installation
username
: Username (not email) of the user (if not specified or not found it defaults to the first profile found);
Mind you, this was written late at night so it might be a little unpolished.
This README will be expanded later