a Minecraft server framework written in Rust
- Rust 93.4%
- Nix 6.6%
| .config | ||
| common | ||
| core | ||
| example | ||
| hack | ||
| modules | ||
| proto | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| flake.lock | ||
| flake.nix | ||
| license | ||
| readme.md | ||
carbon
an extensible Minecraft server framework written in Rust on top of the Bevy ECS library
| codebase name | description |
|---|---|
| ./core | core library |
| ./common | common typedefs |
| ./proto | serde wrapper around the Minecraft protocol |
usage
#[tokio::main]
async fn main() -> std::io::Result<()> {
carbon::CarbonServer::new()
.with_plugin(carbon_plugin_vanilla::VanillaPlugin)
.run()
.await
}
check out the ./example crate to see a basic plugin implementation to extend the behavior of the carbon server