Devlog 4
I have finished porting the library to Rust using Rust FFI, so it won’t need to be done manually. I’ve set it up so you can install it through Cargo:
cargo add mcserverkit
And you can use it like this:
main.rs
fn main() {
let err = mcserverkit::install("1.21.1");
if err != None {
println!("Error installing 1.21.1:");
}
let err = mcserverkit::create("MyServer", true);
if err != None {
println!("Error creating MyServer:");
}
let err = mcserverkit::start("MyServer", "4G");
if err != None {
println!("Error starting MyServer:");
}
}
Also, I’ve added ARM architecture support for Linux and I updated the library to Go 1.26.4 so instead of passing 1s and 0s to the eula parameter you can pass true or false for C and C++.
Comments 5
Sorry this devlog took a while I am in the middle of moving houses
Can you add this for bedrock too?
i mean like make this tool for bedrock too
Yes, it uses Paper internally and I am working on adding a plugin system with GeyserMC so you can make it cross platform.
I’m working on it but it’s not out yet
Sign in to join the conversation.