Skip to content

About

Host your own Blockheads server for friends — on your PC, a Linux box, Docker or even your phone.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

Blockheads Server: your own Blockheads server, in one click. Windows, macOS, Linux, Android and Docker.

Latest release Downloads Stars License


Play The Blockheads with your friends on your own server. Start it from a friendly app on your computer or your Android phone, or run it on a Raspberry Pi, a Linux box or Docker. Your existing worlds and every game client work as they are.

Note

Alpha (v0.5.1 pre-release). A from-scratch rewrite of the official Blockheads 1.7.1 server: same network protocol, same save files, same commands. Please report what you find.

✨ What you get

🖱️ One-click hosting

Pick a world and press Start. See who is online, read the live console and stop the server with one button.

📱 Runs on your phone too

The same app runs on Android. Friends on the same Wi-Fi scan a QR code to get the address.

🌍 Your worlds, unchanged

Same save files as the original server. Create new worlds (size, expert mode, custom rules) or bring yours.

🛡️ You are the admin

Admins, mods, bans and whitelists from the app or with the familiar chat commands.

🧩 Mods and voice chat

Add mods in Lua, WASM or Java: commands, minigames, economy, land claims, even voice chat. Players without mods can still join servers that only use server mods.

🐧 Anywhere you like

Windows, macOS, Linux (x86_64, arm64 and armv7 / Raspberry Pi), Android and Docker.

🚀 Host a world in 3 steps

1. Install. 2. Make a world. 3. Invite friends.

Download for Windows Download for macOS Download for Linux Download for Android

From the latest release:

How you want to run it File
🖱️ App (easiest) Windows .exe, macOS .dmg, Linux .AppImage / .deb / .rpm, Android .apk
⌨️ Command line the .tar.gz / .zip for your system (Linux x86_64, arm64, armv7 / Raspberry Pi, Windows, macOS)
🐳 Docker ghcr.io/blockheads-club/blockheads-server
Command line and Docker
./blockheads_server --new MYWORLD --port 15151
./blockheads_server --help      # same options as the original server
docker run -i --rm -p 15151:15151/udp -v bh-data:/data ghcr.io/blockheads-club/blockheads-server:0.5.1 --new MYWORLD

Guides: Docker, Raspberry Pi, host on Android.

Friends join in the game with Join World → Advanced… → Online IP/Port. On Android 10 and newer, the game needs the popup fix from Blockheads Patcher before it can connect. Playing over the internet: open your server.

📸 Screenshots

Dashboard: status, players and the QR code Create a world
Live console Access lists: admins, mods, bans, whitelist

The app on an Android phone: dashboard    The app on an Android phone: worlds

🧩 Mods

Put .bhmod files in the server's mods/ folder, allow what they ask for in mods.toml, and restart:

[hello-lua]
grant = ["players:chat"]

Players with the PC client or the Android mod loader get the client part of a mod straight from your server. Find mods at blockheads.club/mods, make your own with the mod SDK. Everything about events, permissions, voice chat and Java mods: docs/mods.md.

❓ Questions

Do players need anything special?
Only their own copy of The Blockheads. Phones on Android 10 and newer need the popup fix from Blockheads Patcher.
Can I use my worlds from the original server?
Yes. The save files are the same, so you can copy them over and back.
My friend can't connect.
Check that they use the right IP and port (UDP, 15151 by default), that your firewall allows it, and for the internet that the port is forwarded on your router. Step by step: LAN play and open to the internet.
Is this official?
No. It is an independent, free reimplementation for interoperability, not affiliated with Majic Jungle or Noodlecake.

🧱 Part of Blockheads Club


Blockheads PC

Play on your computer

Patcher

Fix the game on your phone

World Tool

Move and edit your worlds

Mod SDK

Make your own mods

All apps, guides and downloads: blockheads.club

🛠️ For developers

Build from source

You need Rust stable (rustup). For the app also bun; for Android the Android SDK, NDK 27 and JDK 17 to 21.

git clone https://github.com/Blockheads-Club/blockheads-server.git
cd blockheads-server
cargo build --release -p blockheads_server
cargo test --workspace

The mod host (feature mods, on by default) uses bhmod-core, bhmod-wasm, bhmod-manifest and bhmod-proto from mod-sdk as git dependencies pinned to one commit (to work on both repositories at once, see docs/development.md). Build without it: cargo build -p blockheads_server --no-default-features --features trace-rng.

More: docs/development.md (tests, data directory, embedding, the desktop and Android app, releases) and docs/mods.md (the mod host).

Everyone can open issues and pull requests. Irrelevant or abusive issues may be closed or removed. Commits follow Conventional Commits.

📄 License

Blockheads Server is free software under the GNU GPLv3 or later (GPL-3.0-or-later): you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See LICENSE. Third-party code ports are listed in THIRD_PARTY_NOTICES.md.

Unofficial, independent reimplementation for interoperability. It contains no original binaries or assets and is not affiliated with Majic Jungle or Noodlecake Studios. Players join with their own copy of The Blockheads.

About

Host your own Blockheads server for friends — on your PC, a Linux box, Docker or even your phone.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages