multimc-tokens
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

MultiMC Tokens

Use MultiMC to authenticate for minecraft-protocol

Example Code

import {use} from "multimc-tokens";
let client = use({
    multimc_location: "D:\\MultiMC", // Optional on linux.
    username: "Sascha_T",            // Optional.
    host: "localhost",               // You can also add other options as you would normally.
    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

Readme

Keywords

none

Package Sidebar

Install

npm i multimc-tokens

Weekly Downloads

0

Version

1.0.3

License

MIT

Unpacked Size

25.8 kB

Total Files

13

Last publish

Collaborators

  • sascha_t