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.
- Stack
- Mcrypt
stack buildstack exec -- MinecraftCLI. Alternativelystack installfrom project root to install to~/.local/bin.
Note: To locate MinecraftCLI, execute cd $(stack path --dist-dir)/build/MinecraftCLI (bash specific)
Run the binary and a % prompt will be displayed. Enter any of the following commands and use quit to exit.
Display all commands:
helpShow available commands:
profiles helpList all profiles:
profiles listAdd a new profile:
profiles new <login or Mojang account/email> Delete a profile:
profiles delete <profile name>Show available commands:
servers helpList all servers:
servers listAdd a new server:
servers new <name> <address: IP or DNS resolvable URL>Delete a server:
servers delete <server name>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>Display the Minecraft dimension that a player account is in. e.g. Overworld
dimension