Observatory is a fast CLI Minecraft server status logger, compatible with both Java and Bedrock servers. It supports continuous logging and saving the output to a log file.
The following guide provides instructions on how to build and run Observatory.
You must have Rust and Cargo installed. If you don't already have them, you can do so by following the official install guide.
After installing the requirements, you can build the project. To do so, follow the steps:
- Clone the repository:
git clone https://github.com/v81d/observatory.git
cd observatory- Build the project:
cargo build --releaseNow, the project should be built and compiled into an executable in target/release/observatory.
To run Observatory, first make sure the project has already been compiled successfully in target/release/observatory. Then, launch the executable:
./target/release/observatory --helpThis will display a help page describing Observatory and its command usage.
Observatory is a command-line tool, meaning it is designed to be run from your terminal. Below is a table showing the possible options you can pass.
| Option | Usage |
|---|---|
| -i, --ip | IP of the server |
| -p, --port | Port of the server |
| -e, --edition | Minecraft game edition [default: java] [possible values: java, bedrock] |
| -I, --interval | Interval in seconds over which the server is pinged [default: 20] |
| -o, --output | Location to save log output |
| --no-output | Do not save log to output file |
| -h, --help | Print help |
| -V, --version | Print version |
To report an issue or bug, visit Observatory's issue tracker on GitHub.
To push your features or fixes into this official repository:
- Fork the repository.
- Create a feature branch (
git checkout -b feature/my-feature) or a fix branch (git checkout -b fix/my-fix). - Commit your changes (
git commit -m "feat: add new feature"). Please follow the Conventional Commits guideline when doing so! - Push the branch (
git push origin feature/my-feature). - Open a pull request with
contribas the base branch. Make sure to create a detailed title and description of your change.
Please follow the GitHub flow and Observatory's Code of Conduct when submitting a pull request.
Observatory is free software distributed under the GNU General Public License, version 3.0 or later (GPL-3.0+).
You are free to use, modify, and share the software under the terms of the GPL. For full details, see the GNU General Public License v3.0.