minecraft-fancy-rcon-cli

Crates.iominecraft-fancy-rcon-cli
lib.rsminecraft-fancy-rcon-cli
version0.1.0
created_at2025-05-04 21:03:01.205871+00
updated_at2025-05-04 21:03:01.205871+00
descriptionA Rust-based Minecraft RCON CLI with rustyline autocompletion.
homepage
repositoryhttps://github.com/GuyLewin/minecraft-fancy-rcon-cli
max_upload_size
id1659928
size30,225
Guy Lewin (GuyLewin)

documentation

README

Fancy Minecraft RCON CLI

A powerful, user-friendly, and interactive command-line interface for sending RCON commands to a Minecraft server, written in Rust.

Features

  • Connect to a Minecraft server using the RCON protocol
  • Command autocompletion for all supported Minecraft commands (auto-derived via /help)
  • Argument autocompletion and real-time hinting (shows next argument or possible values as you type)
  • Interactive shell with persistent command history
  • Syntax highlighting for commands
  • Clean error handling and helpful error messages
  • Supports aliases for commands (if defined)

TODOs

  • Argument autocompletion
  • Syntax highlighting for arguments
  • More complex argument parsing (e.g., <respectTeams>|under)

Usage

Build

cargo build --release

Run

cargo run -- --address <host:port> [--password <rcon_password>]
  • --address / -a: The address of your Minecraft server (e.g., 127.0.0.1:25575).
  • --password / -p: (Optional) RCON password. If omitted, you will be securely prompted.

Example:

cargo run -- --address 127.0.0.1:25575

Dependencies

License

MIT


Notes

  • Make sure your Minecraft server has RCON enabled and configured in server.properties.
  • This tool is for server operators and requires the RCON port and password.

Disclaimer

This project is not affiliated with, endorsed by, or associated with Mojang, Microsoft, or Minecraft. All trademarks and copyrights are the property of their respective owners.


Pull requests and issues welcome!

Commit count: 21

cargo fmt