minecli
Version, currently 0.1.23 versions
- 0.1.2latestJun 23, 2021
- 0.1.1not indexedOct 4, 2023
- 0.1.0not indexedOct 4, 2023
github.com/chamburr/minecli
Minecraft CLI with RCON support and Journalctl logs
Installation
# Add this to your shard.yml
dependencies:
minecli:
github: chamburr/minecli
version: ~> 0.1.2Then run:
shards installshard.yml
- Crystal
1.0.0- License
- MIT
- Author
- CHamburr
- Target
mineclifrom src/minecli.cr
Dependencies
Runtime Dependencies
README
minecli
Minecraft CLI with RCON support and Journalctl logs
This is a Minecraft RCON command-line client written in Crystal. In the interactive mode, logs from journalctl can be streamed to the console, which is especially useful for commands that only returns output in the logs. This client also serves as an alternative to the built-in console, but without having to keep a TTY.
Installation
The pre-built binaries can be found at the releases page.
If there are no binaries available for your platform, please build them yourself. The instructions for building are below.
Building from Source
Please install the Crystal Language.
Then, running the following commands.
shards install --ignore-crystal-version
shards build --release
The binary will be generated at bin/minecli.
Usage
For this to work, RCON must be enabled on your Minecraft server. You also need to use systemd to manage the process, so that logs can be fetched from journalctl. An example systemd service configuration can be found here.
Minecraft CLI
USAGE:
minecli [OPTIONS] [COMMAND]
OPTIONS:
--host <host> Server host (default: 127.0.0.1)
--port <port> Server port (default: 25575)
--password <password> Server password (default: minecraft)
--unit <unit> Journalctl unit (default: minecraft)
--lines <lines> Lines of logs to display
--no-logs Disable journalctl logs
-h, --help Print the help message and exit
-v, --version Print version information and exit
Notes:
- The options can also be specified with
MINECLI_OPTSenvironmental variable. - Without any command specified, minecli will start in interactive mode.
License
This project is licensed under MIT License.
Documentation
Built from the current release. The first visit to a release nobody has asked for starts its build.
Links
This release
- Version
0.1.2- Tagged
- Jun 23, 2021
- Commit
edc44904113c- Crystal
1.0.0- Indexed
- yes
Dependents
No indexed shard depends on this one yet.
Repository
github.com/chamburr/minecli
Metadata
- Created
- Aug 12, 2026
- Updated
- Aug 15, 2026
- Synced
- Aug 15, 2026
- Versions
- 3