Fabric
Fabric is a modular modding toolchain targeting Minecraft 1.14 and above, including snapshots.
Ports
Add an allocation on the node for each port.
- Game 25565
Install
- Installer image
- eclipse-temurin:21-jdk-jammy
- Install script
- 32 lines
Images
New servers use the first image. Users can change it on the Startup page.
- Java 25 default ghcr.io/ptero-eggs/yolks:java_25
- java 24 ghcr.io/ptero-eggs/yolks:java_24
- java 23 ghcr.io/ptero-eggs/yolks:java_23
- java 22 ghcr.io/ptero-eggs/yolks:java_22
- java 21 ghcr.io/ptero-eggs/yolks:java_21
- Java 17 ghcr.io/ptero-eggs/yolks:java_17
- Java 16 ghcr.io/ptero-eggs/yolks:java_16
- Java 11 ghcr.io/ptero-eggs/yolks:java_11
- Java 8 ghcr.io/ptero-eggs/yolks:java_8
Panel features
- eula
The Panel asks the user to accept the Minecraft EULA when the server needs it.
- java_version
The Panel lets the user change the Java version when the server needs a different one.
- 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.
4 variables
Startup command
java -Xms128M -Xmx1024M -jar server.jarDotted values come from the server settings. These values are examples.
The name of the server jarfile to run the server with.
SERVER_JARFILEUsers can edit
required|regex:/^([\w\d._-]+)(\.jar)$/
The version of Minecraft to install. Use "latest" to install the latest version, or use "snapshot" to install the latest snapshot.
MC_VERSIONUsers can edit
required|string|between:3,15
The version of Fabric to install.
FABRIC_VERSIONUsers can edit
required|string|between:3,15
The version of Fabric Loader to install.
LOADER_VERSIONUsers can edit
required|string|between:3,15
Wings
- Stop command
- stop
- Running when the console shows
- )! For help, type
Files Wings edits
Wings sets these values in these files before each start.
server.properties properties
- server-ip
- 0.0.0.0
- server-port
- {{server.build.default.port}}
Readme
Fabric
Fabric is a modular, lightweight mod loader for Minecraft.
Server Ports
The fabric server requires a single port for access (default 25565) but plugins may require extra ports to enabled for the server.
| Port | default |
|---|---|
| Game | 25565 |
Changes
- Adding java 25 to most minecraft eggs
· Red-Banana-Official · fb0c032
- Replace deprecated openjdk install images with eclipse-temurin (#316)
· Alan Escarcha · 7c4f712
- Fabric: Update installer image and java versions
· Rob van Geloven · 4013b3b
- Minecraft: Don't force enable-query (#137)
· Daniel Barton · 892d7e1
- Updating MC docker images (#23)
· Red Banana · 8f3fc4d
- Minecraft Eggs
· yesBad · d749608
Problem with this egg?
Open an issue on GitHub. Include your Panel and Wings versions.
Install script 32 lines bash in eclipse-temurin:21-jdk-jammy Show Hide
#!/bin/bash
# Fabric MC Installation Script
#
# Server Files: /mnt/server
apt update
apt install -y curl jq unzip dos2unix wget
mkdir -p /mnt/server
cd /mnt/server
# Enable snapshots
if [ -z "$MC_VERSION" ] || [ "$MC_VERSION" == "latest" ]; then
MC_VERSION=$(curl -sSL https://meta.fabricmc.net/v2/versions/game | jq -r '.[] | select(.stable== true )|.version' | head -n1)
elif [ "$MC_VERSION" == "snapshot" ]; then
MC_VERSION=$(curl -sSL https://meta.fabricmc.net/v2/versions/game | jq -r '.[] | select(.stable== false )|.version' | head -n1)
fi
if [ -z "$FABRIC_VERSION" ] || [ "$FABRIC_VERSION" == "latest" ]; then
FABRIC_VERSION=$(curl -sSL https://meta.fabricmc.net/v2/versions/installer | jq -r '.[0].version')
fi
if [ -z "$LOADER_VERSION" ] || [ "$LOADER_VERSION" == "latest" ]; then
LOADER_VERSION=$(curl -sSL https://meta.fabricmc.net/v2/versions/loader | jq -r '.[] | select(.stable== true )|.version' | head -n1)
elif [ "$LOADER_VERSION" == "snapshot" ]; then
LOADER_VERSION=$(curl -sSL https://meta.fabricmc.net/v2/versions/loader | jq -r '.[] | select(.stable== false )|.version' | head -n1)
fi
wget -O fabric-installer.jar https://maven.fabricmc.net/net/fabricmc/fabric-installer/$FABRIC_VERSION/fabric-installer-$FABRIC_VERSION.jar
java -jar fabric-installer.jar server -mcversion $MC_VERSION -loader $LOADER_VERSION -downloadMinecraft
mv server.jar minecraft-server.jar
mv fabric-server-launch.jar server.jar
echo "serverJar=minecraft-server.jar" > fabric-server-launcher.properties
echo -e "Install Complete"