Crates.io | statik |
lib.rs | statik |
version | 0.2.1 |
source | src |
created_at | 2023-05-04 22:36:59.707378 |
updated_at | 2023-05-15 18:03:21.962425 |
description | A pure rust lightweight 'fallback' minecraft server. |
homepage | https://sycrosity.github.io/statik-rs/ |
repository | https://github.com/Sycrosity/statik-rs/ |
max_upload_size | |
id | 857169 |
size | 50,052 |
statik-rs
statik is (hopefully will become) a lightweight, containerisable minecraft server with the sole purpose of making a server appear online while it is not, sending a signal to start the actual server. This allows the typically high mem and cpu intensive java minecraft server be closed when no-one is playing, yet still have clients see the server as being online.
Statik's MSRV (Minimum Supported Rust Version) is whatever the most recent version of Rust is, as this project may contain recent rust features that don't exist in previous versions.
To run statik, you must have rust installed via rustup.
To run the server on default port 25565, run this command:
$ cargo run --release
While in development just run:
$ cargo run
(This will compile the projects dependencies with release mode, but have the actual binary compiled with the default dev profile and debug assertions)
various settings can be configured through the statik.toml
file - this can be provided in whatever directory the run command was executed in, or will be automatically generated if it doesn't yet exist.
Or change the default statik.toml
config file:
$ cargo run -- --config=my_config_file.toml
And when everything is finalised, run the server in release mode:
$ cargo run --release
This project takes heavy inspiration and couldn't be created without the hard work put into the following projects:
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.