serbo-mc

Crates.ioserbo-mc
lib.rsserbo-mc
version0.1.0
sourcesrc
created_at2020-08-06 00:20:57.659201
updated_at2020-08-06 00:20:57.659201
descriptionEasy Minecraft server management.
homepage
repositoryhttps://github.com/ReedKrawiec/Serbo
max_upload_size
id273452
size16,024
Reed Krawiec (ReedKrawiec)

documentation

README

Serbo

Minecraft Server Manager in Rust

How to use

To manage one or more servers, you must first create a Manager. This struct will allow you to control and manage multiple servers.

A manager requires three arguments: A folder to contain the files of the servers you are managing, a version folder, which contains folders containing server files that correspond to the versions of Minecraft that you are supporting (they should be named as such: 1.16.1, 1.15.2 ...), and a jar_name, which is the name of the jarfile that serbo should execute to start the server.

You call methods on this manager to create, delete, start, stop, change a server's version, and to obtain a reference to a struct that represents an online server called an Instance.

With an Instance, you have access to methods that can access stdout (the server output), send a command to the server (via stdin), or stop that specific server.

Commit count: 18

cargo fmt