186 lines
6.6 KiB
Markdown
186 lines
6.6 KiB
Markdown
<div align="center">
|
||
|
||
# mcl
|
||
|
||
[![Contributors][contributors-shield]][contributors-url]
|
||
[![Forks][forks-shield]][forks-url]
|
||
[![Stargazers][stars-shield]][stars-url]
|
||
[![Issues][issues-shield]][issues-url]
|
||
[![GPL-3.0 License][license-shield]][license-url]
|
||
|
||
**M**ine**C**raft **L**auncher. or **M**ine**C**raft c**L**i. pick whichever sounds better to you.
|
||
|
||

|
||
|
||
[Report Bug](https://github.com/objz/mcl/issues) · [Request Feature](https://github.com/objz/mcl/issues)
|
||
|
||
</div>
|
||
|
||
---
|
||
|
||
## about
|
||
|
||
we all love TUIs. and we all know the official Minecraft launcher is not exactly a joy to use (performance wise; no hatespeech here). so here's mcl, a fully featured Minecraft launcher that lives in your terminal. written in Rust because if you're replacing something bloated you might as well go all the way.
|
||
|
||
it does everything you'd expect from a launcher. multiple instances, mod loaders, modpack imports, Microsoft auth, content management, launching. all from a TUI or from the command line. the TUI is the main thing though, the CLI is there for scripting and automation.
|
||
|
||
## features
|
||
|
||
| | |
|
||
|---|---|
|
||
| **instances** | create and manage multiple instances, each with their own version, loader, mods, and settings |
|
||
| **mod loaders** | vanilla, Fabric, Quilt, Forge, NeoForge. more might show up later |
|
||
| **content** | browse and toggle mods, shaders, resource packs. view worlds, screenshots, and logs |
|
||
| **modpack import** | import from Modrinth via `.mrpack` file, URL, or slug |
|
||
| **accounts** | multiple Microsoft accounts and offline players, switch between them |
|
||
| **launching** | launch directly from the TUI or generate a desktop shortcut for any instance |
|
||
| **desktop shortcuts** | click it and Minecraft starts, no need to open mcl or type anything |
|
||
| **CLI** | every feature the TUI has is also available as a subcommand |
|
||
| **theming** | 10 built-in themes, custom themes, color overrides |
|
||
|
||
---
|
||
|
||
## authentication
|
||
|
||
mcl uses its own Microsoft client ID for Minecraft account authentication.
|
||
|
||
Authentication is performed through Microsoft’s official services.
|
||
|
||
## installation
|
||
|
||
### macOS / Linux
|
||
|
||
prebuilt archives are attached to each GitHub release.
|
||
|
||
```sh
|
||
# Homebrew
|
||
brew install objz/tap/mcl-launcher
|
||
```
|
||
|
||
### Windows
|
||
|
||
release builds include a `.zip` archive and an `.msi`. WinGet and Chocolatey
|
||
packages are submitted from release CI and become available after review.
|
||
|
||
```powershell
|
||
# WinGet
|
||
winget install Objz.MclLauncher
|
||
|
||
# Chocolatey
|
||
choco install mcl-launcher
|
||
```
|
||
|
||
### Arch Linux
|
||
|
||
```sh
|
||
# from source (release tarball)
|
||
paru -S mcl-launcher
|
||
|
||
# prebuilt binary
|
||
paru -S mcl-launcher-bin
|
||
|
||
# latest git
|
||
paru -S mcl-launcher-git
|
||
```
|
||
|
||
### Cargo
|
||
|
||
```sh
|
||
cargo install mcl-launcher
|
||
```
|
||
|
||
### package status
|
||
|
||
release:
|
||
|
||
[](https://github.com/objz/mcl/releases)
|
||
[](https://crates.io/crates/mcl-launcher)
|
||
|
||
package managers:
|
||
|
||
[](https://github.com/objz/homebrew-tap)
|
||
[](https://winstall.app/apps/Objz.MclLauncher)
|
||
[](https://community.chocolatey.org/packages/mcl-launcher)
|
||
|
||
aur:
|
||
|
||
[](https://aur.archlinux.org/packages/mcl-launcher)
|
||
[](https://aur.archlinux.org/packages/mcl-launcher-bin)
|
||
[](https://aur.archlinux.org/packages/mcl-launcher-git)
|
||
|
||
### from source
|
||
|
||
requires a Rust toolchain and a JDK (`javac` and `jar` on `PATH`).
|
||
|
||
```sh
|
||
git clone https://github.com/objz/mcl.git
|
||
cd mcl
|
||
cargo build --release
|
||
```
|
||
|
||
---
|
||
|
||
## where things live
|
||
|
||
### config & data
|
||
|
||
settings, accounts, instances, and cached game metadata.
|
||
|
||
| what | Linux | macOS | Windows |
|
||
|---|---|---|---|
|
||
| config (`config.toml`, `theme.toml`, `accounts.json`) | `~/.config/mcl/` | `~/Library/Application Support/mcl/` | `%APPDATA%\mcl\` |
|
||
| instances | `~/.local/share/mcl/instances/` | `~/Library/Application Support/mcl/instances/` | `%LOCALAPPDATA%\mcl\instances\` |
|
||
| metadata (versions, libraries, assets, loader profiles) | `~/.local/share/mcl/meta/` | `~/Library/Application Support/mcl/meta/` | `%LOCALAPPDATA%\mcl\meta\` |
|
||
|
||
each instance has an `instance.json` for its config and a `.minecraft/` directory with the actual game files. standard layout, nothing weird.
|
||
|
||
### logs
|
||
|
||
launcher logs are per-session and contain mcl's own output. instance launch logs capture game stdout/stderr per launch.
|
||
|
||
| what | Linux | macOS | Windows |
|
||
|---|---|---|---|
|
||
| launcher logs | `~/.cache/mcl/` | `~/Library/Caches/mcl/` | `%LOCALAPPDATA%\mcl\` |
|
||
| instance launch logs | `<instances>/<name>/.minecraft/logs/launches/` | same | same |
|
||
|
||
---
|
||
|
||
## configuration
|
||
|
||
everything is configured through TOML files. `config.toml` for paths, default memory allocation, and UI behavior. `theme.toml` for theme selection and border style. you can also override individual colors without making a full custom theme.
|
||
|
||
---
|
||
|
||
## themes
|
||
|
||
mcl ships with 10 built-in themes:
|
||
|
||
`catppuccin` · `dracula` · `nord` · `gruvbox` · `one-dark` · `solarized` · `tailwind` · `tokyo-night` · `rose-pine` · `terminal`
|
||
|
||
you can create your own by dropping a TOML file in `~/.config/mcl/theme/` and referencing it by name, or point to an absolute path.
|
||
|
||
---
|
||
|
||
## contributing
|
||
|
||
contributions are welcome. fork it, branch it, PR it. see [CONTRIBUTING.md](CONTRIBUTING.md) for code style and project structure.
|
||
|
||
---
|
||
|
||
## license
|
||
|
||
GPL-3.0. see [LICENSE](LICENSE).
|
||
|
||
---
|
||
|
||
[contributors-shield]: https://img.shields.io/github/contributors/objz/mcl.svg?style=for-the-badge
|
||
[contributors-url]: https://github.com/objz/mcl/graphs/contributors
|
||
[forks-shield]: https://img.shields.io/github/forks/objz/mcl.svg?style=for-the-badge
|
||
[forks-url]: https://github.com/objz/mcl/network/members
|
||
[stars-shield]: https://img.shields.io/github/stars/objz/mcl.svg?style=for-the-badge
|
||
[stars-url]: https://github.com/objz/mcl/stargazers
|
||
[issues-shield]: https://img.shields.io/github/issues/objz/mcl.svg?style=for-the-badge
|
||
[issues-url]: https://github.com/objz/mcl/issues
|
||
[license-shield]: https://img.shields.io/github/license/objz/mcl.svg?style=for-the-badge
|
||
[license-url]: https://github.com/objz/mcl/blob/master/LICENSE
|