npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

eml-lib

v2.0.0-beta.1

Published

Create your Electron Minecraft Launcher easily!

Downloads

41

Readme

Electron Minecraft Launcher Lib (EML Lib)

Electron Minecraft Launcher Lib (EML Lib) is a Node.js library. It permits to authenticate, download Java and Minecraft and launch Minecraft.


Features

  • Authentication: Authenticate users with Microsoft, Azuriom or Crack.
  • Minecraft: Automatically download and launch Minecraft (Vanilla and Forge [^1]; Fabric, NeoForge, Quilt and MCP are coming soon), and remove unwanted files (such as unwanted mods).
  • Java: Automatically download and install Java.
  • Bootstraps [^1]: Auto-update your launcher.
  • Maintenance [^1]: Block the launcher during maintenance.
  • Server status: Displaying server information (from Minecraft 1.4 to the latest Minecraft version)
  • News [^1]: Displaying news.
  • Background [^1]: Displaying a background image.

Installation

Software requirements

  • Node.js 15.14.0 or higher: see Node.js;
  • Electron 15.0.0 or higher: please install it with npm i electron if you use Microsoft Authentication.

To get all the capacities of this Node.js library, you must set up your EML AdminTool website! Without it, you can only use Minecraft Vanilla, and many features will be disabled (such as News, Bootstrap, etc.).

If you don't want to use the EML AdminTool, you should rather use the Minecraft Launcher Core library.

EML Lib installation

You need Node.js and Electron.

# Using npm
npm i eml-lib

eml-lib package includes TypeScript typings, so you don't need to install @types/eml-lib.

Quick start

Quick start using the EML AdminTool:

const EMLLib = require('eml-lib')

const launcher = new EMLLib.Launcher({
  url: 'https://admintool.electron-minecraft-launcher.com',
  serverId: 'eml',
  account: new EMLLib.CrackAuth().auth('GoldFrite')
})

launcher.launch()

Please refer to the documentation for more information.

Platform compatibility

| OS (platform) | Supported? | Minimum version supported | | -------------------------- | -------------- | -------------------------- | | Windows (win32) | Yes | Windows 7 (Windows NT 6.1) | | macOS (Darwin) | Yes | Mac OS X Lion (10.7) | | Linux, including Chrome OS | Yes | Variable | | Others | Not officially | - |

[!WARNING] No support will be provided for older versions of Windows, macOS and Linux, or for other operating systems.

Tests

The library have been tested on:

[!WARNING] Forge is currently not working on Minecraft 1.5.2 and below.

Contributing

Development

Download the code and run the commands:

cd EML-Lib-v2
npm i

Tests

You can submit your tests by creating an issue.

Please indicate the following information in your issue:

  • The Minecraft version;
  • The operating system the test was performed on (including the version);
  • The loader used (Vanilla, Forge, Fabric, etc., including the loader version);
  • The result of the test (OK if the test was successful, KO if the test failed, or a detailed explanation if the test was not conclusive and if it breaks the game).

Important information

  • This is not an official library from Mojang Studios, Microsoft, Electron or Node.js. Minecraft is a trademark of Mojang Studios.
  • This Node.js library is under the MIT license; to get more information, please read the file LICENSE. It is legally obligatory to respect this license.
  • If you need some help, you can join this Discord.

[^1]: Requires the EML AdminTool.