You are browsing as a guest. Sign up (or log in) to start making projects!

30h 24m 40s logged

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++.

1
54

Comments 5

@nathanielramirez

Sorry this devlog took a while I am in the middle of moving houses

@rapidSpeed

Can you add this for bedrock too?

@rapidSpeed

i mean like make this tool for bedrock too

@nathanielramirez

Yes, it uses Paper internally and I am working on adding a plugin system with GeyserMC so you can make it cross platform.

@nathanielramirez

I’m working on it but it’s not out yet