Melon MC is an ultra-fast, multi-threaded Minecraft server core built entirely in Rust. Designed for exceptional performance, low memory footprint, and high player density, Melon MC delivers vanilla gameplay parity alongside modern proxy and plugin capabilities.
- Multi-Threaded Performance: Leverages Rayon and Tokio with an entity-island scheduler to tick independent entity groups concurrently across available CPU cores.
- Vanilla Parity: Accurate combat calculations (armor toughness, shield blocking angles and knockback, sweeping edge, mace smashes), full redstone diodes and logic, mob AI goals, and vanilla advancements.
- Massive Explosion Resilience: Built-in explosion batching and rate limiting prevents server freeze and client timeouts even under detonations of 20,000+ TNT.
- Modern Proxy Integration: Native Velocity Modern Forwarding support with cryptographic verification, BungeeGuard, and BungeeCord integration.
- Cross-Platform Support: Built-in support for both Java Edition (Protocol 777 / 26.3) and Bedrock Edition (Protocol 2225 / 1.26.60) via RakNet and NetherNet.
- Fast Chunk Storage: Supports standard Anvil (
.mca), Linear (.linear), and high-compression Pump (.pump) chunk storage formats. - WASM & Native Plugins: Secure WebAssembly (WASI) component model plugin runtime via Wasmtime, alongside native dynamic library (
.dll/.so) plugin loading.
- Rust (version 1.85 or newer, 1.97+ recommended)
- Git
# Clone the repository
git clone https://github.com/Raytolfas/Melon.git
cd melon
# Build release binary
cargo build --release --bin melonThe compiled binary will be placed at target/release/melon (or target/release/melon.exe on Windows).
To launch Melon MC:
./target/release/melonOn first run, Melon MC initializes default configuration files (melon.toml) and generates world dimensions (minecraft:overworld, minecraft:the_nether, minecraft:the_end) with instantaneous startup times.
Melon MC is configured via melon.toml. Example key settings:
# Server listening address and online mode
[networking.java]
enabled = true
address = "0.0.0.0:25565"
online_mode = true
max_players = 1000
# Velocity Proxy configuration
[networking.proxy.velocity]
enabled = false
secret = "your_velocity_secret"
# World chunk format: "anvil", "linear", or "pump"
[world.chunk]
type = "pump"
# PvP and Combat rules
[pvp]
enabled = true
knockback = true
hurt_animation = trueMelon MC loads plugins placed inside the ./plugins/ directory:
- WebAssembly Plugins (
.wasm): Compiled with targetwasm32-wasip1, sandboxed with fine-grained host permissions. - Native Plugins (
.dll/.so): Compiled as Rustcdylibagainstpumpkin-core.
For Pterodactyl and Pelican panel users, an importable egg definition is available in egg-melon.json.
If you find Melon MC helpful and want to support ongoing development, contributions are warmly welcomed:
- Melon MC Core: Licensed under the GNU General Public License v3.0 (GPLv3).
- Plugin API (
pumpkin-plugin-api): Dual-licensed under MIT OR Apache-2.0. - Upstream Heritage: Melon MC is based upon and forked from the Pumpkin MC project. Copyright © 2024–2026 Pumpkin MC Contributors, 2026 Melon MC Project.
- Minecraft Assets: Minecraft is a registered trademark of Mojang Synergies AB. See assets/NOTICE.md for third-party asset licenses and attribution.
