cmd-launcher

command module
v0.0.0-...-32e1149 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 25, 2024 License: MIT Imports: 5 Imported by: 0

README

cmd-launcher

A minimal command line Minecraft launcher.

Installation

Make sure you have Go installed.

To install, run:

go install codeberg.org/telecter/cmd-launcher@main
Building from source
  1. Clone this repository with git
  2. In the source directory, run go build .

Usage

Run the help subcommand to get the usage information.

Selecting Versions

To choose the version of the game to run, use the start <version> subcommand.

cmd-launcher start 1.21

[!IMPORTANT] This launcher is not tested for versions < 1.19. It may not work, mainly because this launcher does not yet support installing native libraries.

Online Mode

Without any options, the launcher will automatically attempt to use online mode. As part of Microsoft's OAuth2 flow, the default web browser will be opened to complete the authentication.

If you want to use offline mode, just pass the -u, --username <username> flag before the version to set your username and the game will automatically launch in offline mode.

Mod Loaders

Currently, only Fabric and Quilt are supported. Use the -l, --loader flag to use them.

cmd-launcher start -l fabric 1.21

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL