Steve-0628 / MinecraftCLI

A CLI client for Minecraft

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MinecraftCLI

MinecraftCLI is a command line application to join Minecraft servers with a valid Mojang or Legacy account, without needing the full Minecraft client. The application has several functions as described below.

Installation

Dependencies:

  • Stack
  • Mcrypt

Procedure:

  1. stack build
  2. stack exec -- MinecraftCLI. Alternatively stack install from project root to install to ~/.local/bin.

Note: To locate MinecraftCLI, execute cd $(stack path --dist-dir)/build/MinecraftCLI (bash specific)

Usage

Run the binary and a % prompt will be displayed. Enter any of the following commands and use quit to exit.

Help

Display all commands:

help

Profiles

Show available commands:

profiles help

List all profiles:

profiles list

Add a new profile:

profiles new <login or Mojang account/email> 

Delete a profile:

profiles delete <profile name>

Servers

Show available commands:

servers help

List all servers:

servers list

Add a new server:

servers new <name> <address: IP or DNS resolvable URL>

Delete a server:

servers delete <server name>

Connect

Connect to a server specifying a user profile and a server. The profile name must match one of those listed with profiles list and server name must match the server name that servers list displays.

Connect to a server:

connect <profile> <server>

Dimension

Display the Minecraft dimension that a player account is in. e.g. Overworld

dimension

About

A CLI client for Minecraft

License:BSD 2-Clause "Simplified" License


Languages

Language:Haskell 99.1%Language:C 0.9%