Deepslate
A high-performance Minecraft server proxy written in Rust.
Deepslate sits between your players and your backend servers, handling authentication, packet forwarding, and server switching. It's built for server networks that need a proxy they can trust at scale. Plugins are compiled into the binary rather than loaded at runtime, giving you full type safety with zero dispatch overhead.
Features
- Supports Minecraft Java Edition 1.21.x
- Online mode with Mojang authentication
- Compatible with Velocity's modern forwarding
- gRPC control plane for managing backend servers at runtime
- Compile-time plugin system with an events API
- Environment variable and code-driven configuration
Quick Start
Add deepslate to your Cargo.toml:
[]
= "0.1"
= { = "1", = ["rt-multi-thread", "macros"] }
Build your own proxy binary with a plugin:
use ;
use *;
use *;
const LOBBY: ServerId = new;
;
async
Documentation
For configuration, the plugin API, events, and more, see the wiki.
License
Deepslate is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.