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".
Ports
Add an allocation on the node for each port.
- Game 19132
Install
- Installer image
- ghcr.io/ptero-eggs/installers:debian
- Install script
- 58 lines
Image
- Debian ghcr.io/ptero-eggs/yolks:debian
Panel features
- pid_limit
The Panel tells the user when the server reaches its process or memory limit.
Startup
The Panel runs this command to start the server. It replaces each variable in the command with the value of that variable.
6 variables
Startup command
./bedrock_serverThe version of bedrock. (Ex. 1.7.0.13) Default version is latest.
BEDROCK_VERSIONUsers can edit
required|string|max:20
Dumb reasons to need this
LD_LIBRARY_PATHUsers cannot see
required|string|max:20
The name for the server
SERVERNAMEUsers can edit
required|string|max:50
Allowed values: "survival", "creative", or "adventure"
GAMEMODEUsers can edit
required|string|in:survival,creative,adventure
Allowed values: "peaceful", "easy", "normal", or "hard"
DIFFICULTYUsers can edit
required|string|in:peaceful,easy,normal,hard
If true then cheats like commands can be used. Allowed values: "true" or "false"
CHEATSUsers can edit
required|string|in:true,false
Wings
- Stop command
- stop
- Running when the console shows
- Server started
Files Wings edits
Wings sets these values in these files before each start.
server.properties properties
- server-port
- {{server.build.default.port}}
- server-name
- {{server.build.env.SERVERNAME}}
- gamemode
- {{server.build.env.GAMEMODE}}
- difficulty
- {{server.build.env.DIFFICULTY}}
- allow-cheats
- {{server.build.env.CHEATS}}
Readme
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 FILEin 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.
Changes
- Minecraft Bedrock: Update latest version detection
· Daniel Barton · 3426288
- Minecraft Eggs
· yesBad · d749608
- Add Minecraft eggs
· Daniel Barton · 7322302
Problem with this egg?
Open an issue on GitHub. Include your Panel and Wings versions.
Install script 58 lines bash in ghcr.io/ptero-eggs/installers:debian Show Hide
#!/bin/bash
apt update
apt install -y zip unzip wget curl jq
cd /mnt/server || { echo "Failed to change directory to /mnt/server"; exit 1; }
# Default version to latest if not set
BEDROCK_VERSION=${BEDROCK_VERSION:-latest}
# Filename to use for the downloaded file
DOWNLOAD_FILE="bedrock-server-installer.zip"
# Minecraft CDN Akamai blocks script user-agents
RANDVERSION=$(echo $((1 + $RANDOM % 4000)))
if [ "${BEDROCK_VERSION}" == "latest" ]; then
echo "Finding latest Bedrock server version"
DOWNLOAD_URL=$(curl --silent https://net-secondary.web.minecraft-services.net/api/v1.0/download/links | jq -r '.result.links[] | select(.downloadType == "serverBedrockLinux") | .downloadUrl')
if [ -z "${DOWNLOAD_URL}" ]; then
echo "Failed to retrieve the latest Bedrock server version. Please check your network connection or the Minecraft API."
exit 1
fi
else
echo "Downloading ${BEDROCK_VERSION} Bedrock server"
DOWNLOAD_URL=https://www.minecraft.net/bedrockdedicatedserver/bin-linux/bedrock-server-$BEDROCK_VERSION.zip
fi
echo "Download URL: $DOWNLOAD_URL"
echo -e "Backing up config files"
mkdir /tmp/config_backup
cp -v server.properties /tmp/config_backup/ 2>/dev/null
cp -v permissions.json /tmp/config_backup/ 2>/dev/null
cp -v allowlist.json /tmp/config_backup/ 2>/dev/null
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"
cp -rfv /tmp/config_backup/* /mnt/server/ 2>/dev/null || { echo "No files to restore"; }
chmod +x bedrock_server
echo -e "Install Completed"