Developer first
Don't reinvent the wheel. Our library handles the complex parts of the Minecraft protocol, so you can focus on building a unique experience for
your players.
- Native Microsoft authentication
- Automatic Java download
- Vanilla, Forge, NeoForge, Fabric and Quilt support
import { app, BrowserWindow } from 'electron'
import { MicrosoftAuth, Launcher } from 'eml-lib'
app.whenReady().then(start)
async function start() {
const mainWindow = new BrowserWindow()
const account = await (new MicrosoftAuth(mainWindow)).auth()
const launcher = new Launcher({
url: 'https://at.emlproject.pages.dev',
serverId: 'goldfrite',
account: account,
memory: { min: 2048, max: 1024 },
})
await launcher.launch()
}