FerrumC is a Minecraft server implementation written from the ground up in Rust. Leveraging the power of the Rust programming language, it is completely multi-threaded; and offers high performance as well as amazing memory efficiency!
-
-
-
-
-
-
ECS Block Diagram (credits: Unity)
-
32 render distance*
- Rust compiler (latest nightly version)
- Cargo (comes with Rust)
- LLVM (required for RocksDB compilation)
Unfortunately, the server is not yet ready for production use. If you want to try it out, you can compile it from source.
-
Ensure you have LLVM installed on your system. This is required for RocksDB compilation.
- The env variable
LIBCLANG_PATH
must be set to the path of the[LLVM path]/bin
.
- The env variable
-
Clone and build the project.
# Clone the repository
git clone https://github.com/Sweattypalms/ferrumc
cd ferrumc
# Build the project
cargo build --release
- Move the FerrumC binary to your desired server directory
- Open a terminal in that directory
- (Optional) Generate a config file:
./ferrumc --setup
- Edit the generated
config.toml
file to customize your server settings
- Edit the generated
- Import an existing world: Place the region files (
.mca
) in the folder namedimport
then run./ferrumc --import
. The location of these files is explained here. - Run the server:
- Windows:
.\ferrumc.exe
- Linux/macOS:
./ferrumc
- Windows:
We welcome contributions! If you'd like to contribute to FerrumC, please follow these steps:
- Fork the repository
- Create a new branch for your feature
- Implement your changes
- Write or update tests as necessary
- Submit a pull request
Join our Discord server to get help or discuss the project!
- Valence: Valence is a framework for building your own custom server by pulling in different components of their library. FerrumC is a fully built server designed to act as a potential replacement for the vanilla server. It's like the difference between buying the ingredients to make a meal yourself or just buying a pre-made meal.
- Minestom: Same as Valence, it's a framework to build your own server, which is different to what we are trying to do.
- Paper/Spigot/Bukkit: These are all great tools and have undoubtably set the groundwork for projects like this to exist, but ultimately they are still somewhat bound to the original server implementation. We aim to write the entire server from the ground up, hopefully giving us a leg up.
- Pumpkin: It really doesn't differ that much. We are both trying to acheive the same thing. It's also not a competition, we are both aware of each other's progress and to be honest the Pumpkin team are doing really well. We won't tolarate any disrespect towards them as they are also undertaking the same monumental task.
This project is licensed under the MIT License - see the LICENSE.md file for details.