Home

GitHub

version: 3.3.7

CmlLib.Core is a .NET library for building your own Custom Minecraft launcher.

Main Features

  • Log in Minecraft to play online-mode multiplay servers (ex: Hypixel)

  • Log in with Microsoft Xbox account

  • Download and install vanilla Minecraft version

  • Install appropriate Java runtime automatically

  • Install mod loaders (Fabric, LiteLoader)

  • Launch all game version (tested up to 1.19)

  • Launch custom game version (ex: Forge, Fabric, LiteLoader, or any modified client)

  • Launch with various options (direct server connecting, screen resolutions, etc)

  • Crossplatform (Windows, Linux, macOS)

  • Mojang APIs (player skin, changing player username, etc)

  • Customize launch flow

All Features

Index

CMLauncher

  • Basic usage

  • Please read this first!

Sample Launcher

  • CmlLibCoreSample: simple console program

  • CmlLibWinFormSample: full features

Known Issues

  • Java runtime errors

  • macOS / Linux errors

Minecraft Path

  • Get default minecraft directory

  • Create new minecraft directory

  • Make custom minecraft directory structure

Legacy Mojang Account

  • Get game session from mojang auth server

  • Create offline game session

Microsoft Xbox Account

  • Login with Xbox account

Event Handling

  • Show progress of downloading files (percentage, file count)

  • Show file info of currently downloading file (file name)

Launch Options

  • Maximum memory size (-Xmx), Minimum memory size (-Xms)

  • Direct server connecting

  • Screen resolution, Fullscreen

  • Java setting

Downloader

  • AsyncParallelDownloader (default)

  • SequenceDownloader

FileChecker

  • AssetChecker, ClientChecker, LibraryChecker

  • Skip file hash checking

  • Skip specific game file checking

  • Use file mirror server (like BMCLAPI mirror service)

  • Make custom file checker

VersionLoader

  • Get version metadata list from local directory

  • Get version metadata list from mojang server

  • Get version metadata list from FabricMC server

  • Get version metadata information (version name, type, release date, etc)

  • Make custom version loader

Version

  • Get version information (version name, type, arguments, library list, asset id, etc)

Mod Loader Installers

  • Install Forge

  • Install LiteLoader

  • Install FabricMC

FAQ

  • Launch custom version

  • Get game output (logs)

  • log4j2

Minecraft Changelogs

License

Last updated