explaingit

cennac2/minecraft_bedrock_hibernation

Analysis updated 2026-05-18

1RustAudience · ops devopsComplexity · 3/5LicenseSetup · moderate

TLDR

A lightweight proxy that puts your Minecraft Bedrock server to sleep when empty and automatically wakes it up when a player tries to connect, to save hosting costs.

Mindmap

mindmap
  root((mbh))
    What it does
      Sleeps idle server
      Auto wakes on join
      Saves hosting cost
    Tech stack
      Rust
      Bedrock Dedicated Server
    Use cases
      Low traffic servers
      Home hosting
      Cost saving
    Setup
      mbh_config.json
      Proxy port
      Internal server port

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Cut hosting costs for a Minecraft Bedrock server that is only played a few hours a day.

USE CASE 2

Automatically start a home hosted Bedrock server only when friends try to join.

USE CASE 3

Run a Bedrock server on a low powered machine without keeping it running around the clock.

What is it built with?

Rust

How does it compare?

cennac2/minecraft_bedrock_hibernationabc3dz/mixxxabyo-software/ferro-stash
Stars111
LanguageRustRustRust
Setup difficultymoderatemoderatemoderate
Complexity3/52/54/5
Audienceops devopsgeneralops devops

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · moderate Time to first run · 30min

Requires the separately downloaded Minecraft Bedrock Dedicated Server binary and correct port forwarding to the proxy, not the internal server port.

In plain English

This project, called mbh, is a small helper program for people who run their own Minecraft Bedrock server. Its job is to let the real server go to sleep whenever nobody is playing, then automatically wake it back up the moment a player tries to connect. This matters most for people paying for a VPS or other hosting, since a server that only gets played a few hours a day would otherwise sit running, and costing money or using resources, the rest of the time. It works by sitting in front of the real Bedrock server and listening on the same port players normally connect to. When a player tries to join, mbh starts the actual server process, waits until it is fully online, and then lets the connection through as normal. After a configurable period with no players online, it stops the server again. Setting it up involves downloading the official Minecraft Bedrock Dedicated Server software separately, then either downloading a ready made mbh program from the releases page or building it from source using Rust, which requires the 2024 edition or later. You place the mbh program anywhere on your computer, it does not need to be inside the Bedrock server's folder, and run it once so it creates a configuration file called mbh_config.json. In that file you set the path to your Bedrock server program and the port players will use to connect, while the real server runs on a separate internal port that should never be exposed directly to the internet. Other settings let you control the message shown while the server is asleep and how long it waits with no players before shutting the server down. Once running, mbh can also be controlled from the console with simple commands to manually start, stop, or exit it. The project works on both Windows and Linux, welcomes outside contributions through pull requests, and is released under the MIT license.

Copy-paste prompts

Prompt 1
Walk me through downloading mbh and setting up mbh_config.json for my Bedrock server.
Prompt 2
Explain the difference between the port and bedrock_server_port settings and why they must differ.
Prompt 3
Help me configure port forwarding correctly so players connect through the mbh proxy.
Prompt 4
Show me the mbh start, stop, and exit console commands and when to use each.

Frequently asked questions

What is minecraft_bedrock_hibernation?

A lightweight proxy that puts your Minecraft Bedrock server to sleep when empty and automatically wakes it up when a player tries to connect, to save hosting costs.

What language is minecraft_bedrock_hibernation written in?

Mainly Rust. The stack also includes Rust.

How hard is minecraft_bedrock_hibernation to set up?

Setup difficulty is rated moderate, with roughly 30min to a first successful run.

Who is minecraft_bedrock_hibernation for?

Mainly ops devops.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.