Egg Repository

Pterodactyl Community Egg Repository

Vanilla Bedrock

Bedrock Edition (also known as the Bedrock Version, Bedrock Codebase, Bedrock Engine or just Bedrock) refers to the multi-platform family of editions of Minecraft developed by Mojang AB, Microsoft Studios, 4J Studios, and SkyBox Labs. Prior to this term, as the engine originated with Pocket Edition, this entire product family was referred to as "Pocket Edition", "MCPE", or "Pocket/Windows 10 Edition".

Read Me

Minecraft Bedrock

The official Minecraft Bedrock (Formerly Minecraft Pocket Edition) server.

This is an alpha release server from the mojang team.

Server Ports

Bedrock requires a single port (default 19132)

Port default
Game 19132

Known Issues

Also see the Mojang Issue tracker

  • On start the server will report is is listening on port 19132 but is listening on the correct port
  • Constant NO LOG FILE in the console before every log line.
  • Server chat is not printed to the console.
  • when you set ops in game they do not get saved.

arm64

  • The arm64 may not perform as expected due to the amd64 to arm emulaton.
Yolks
NameTag
ghcr.io/ptero-eggs/yolks:debianghcr.io/ptero-eggs/yolks:debian
Variables
NameDescriptionEnvironment VariableDefault ValueUser ViewableUser Editable
Bedrock VersionThe version of bedrock. (Ex. 1.7.0.13) Default version is latest.BEDROCK_VERSIONlatestYesYes
ld lib pathDumb reasons to need thisLD_LIBRARY_PATH.NoNo
Server NameThe name for the serverSERVERNAMEBedrock Dedicated ServerYesYes
GamemodeAllowed values: "survival", "creative", or "adventure"GAMEMODEsurvivalYesYes
DifficultyAllowed values: "peaceful", "easy", "normal", or "hard"DIFFICULTYeasyYesYes
Allow cheatsIf true then cheats like commands can be used. Allowed values: "true" or "false"CHEATSfalseYesYes
Install Script
#!/bin/bash

apt update
apt install -y zip unzip wget curl

if [ ! -d /mnt/server/ ]; then
    mkdir /mnt/server/
fi

cd /mnt/server

# Minecraft CDN Akamai blocks script user-agents
RANDVERSION=$(echo $((1 + $RANDOM % 4000)))

if [ -z "${BEDROCK_VERSION}" ] || [ "${BEDROCK_VERSION}" == "latest" ]; then
    echo -e "\n Downloading latest Bedrock server"
    curl -L -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.$RANDVERSION.212 Safari/537.36" -H "Accept-Language: en" -H "Accept-Encoding: gzip, deflate" -o versions.html.gz https://www.minecraft.net/en-us/download/server/bedrock
    DOWNLOAD_URL=$(zgrep -o 'https://www.minecraft.net/bedrockdedicatedserver/bin-linux/[^"]*' versions.html.gz)
else 
    echo -e "\n Downloading ${BEDROCK_VERSION} Bedrock server"
    DOWNLOAD_URL=https://www.minecraft.net/bedrockdedicatedserver/bin-linux/bedrock-server-$BEDROCK_VERSION.zip
fi

DOWNLOAD_FILE=$(echo ${DOWNLOAD_URL} | cut -d"/" -f5) # Retrieve archive name

echo -e "backing up config files"
rm *.bak versions.html.gz
cp server.properties server.properties.bak
cp permissions.json permissions.json.bak
cp allowlist.json allowlist.json.bak


echo -e "Downloading files from: $DOWNLOAD_URL"

curl -L -A "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.$RANDVERSION.212 Safari/537.36" -H "Accept-Language: en" -o $DOWNLOAD_FILE $DOWNLOAD_URL

echo -e "Unpacking server files"
unzip -o $DOWNLOAD_FILE

echo -e "Cleaning up after installing"
rm $DOWNLOAD_FILE

echo -e "restoring backup config files - on first install there will be file not found errors which you can ignore."
cp -rf server.properties.bak server.properties
cp -rf permissions.json.bak permissions.json
cp -rf allowlist.json.bak allowlist.json

chmod +x bedrock_server

echo -e "Install Completed"