Skip to content

An RCON client for Minecraft written in Rust with command output formatting.

License

Notifications You must be signed in to change notification settings

emmalexandria/fRCON

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fRCON

fancy+RCON

A generic RCON client written in Rust. Uses the power of Reedline to offer a more complete shell experience when connected to your server.

Basic list command

Features

  • Basic first word command highlighting
  • Formatting of various command responses and common errors
  • First word autocompletion

These features are currently (only partially) implemented for Minecraft. There are no technical blocks (to my knowledge) to implementing these features for more games, or to complete the Minecraft implementation. It is a slow process however. It requires setting up a game server, and then slowly trial and erroring your way through the command list, adding special code to format responses as needed. Once the Minecraft implementation is complete, I plan to start work on a generic implementation for Source games.

More GIFS

Print basic error response Basic autocompletion

Project goals

  • Parse command responses and display them nicely
  • Provide a modern shell experience
  • Look pretty

Caveats

Minecraft

Currently, the main caveat is that the fix for this bug is not implemented. This means that the stop command won't work on Minecraft versions earlier than 20w16a. This was an intentional decision.

Credit

I cannot overstate how much the work for communicating over RCON in this project was done by rust-rcon, whose code for representing, serialising, and deserialising packets was shamelessly stolen by me.

About

An RCON client for Minecraft written in Rust with command output formatting.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages