This is the complete source code of CraftIP. Feel free to contribute!
The project is split into 3 parts:
server
This is the proxy server terminating the Minecraft client connections and forwarding the traffic to the CraftIP client.client
The networking logic of the client of CraftIP. This forwards the connections from the CraftIP server to the Minecraft server.client-gui
: The GUI for CraftIP, making CraftIP more accessible for users.
The software is written in Rust. To compile it, you have to install the Rust compiler chain.
If you want to build CraftIP yourself, please run:
cargo run --release --bin client-gui
You can also run this software on a Raspberry PI. To save resources, you can use the command line version (client
).
On Raspbian, you have to install the Rust compiler toolchain as well as Git:
sudo apt-get install -y cargo git
Download the repo:
git clone https://github.com/craftip-net/craftip.git
cd craftip
After starting the Minecraft server on the standard port 25565
you can compile and run the client:
cargo run --release --bin client
To specify a different Minecraft server IP, you can run specify the IP like shown below:
cargo run --release --bin client -- localhost:25565
Happy Crafting :)