Egg Repository

Pterodactyl Community Egg Repository

VanillaCord

Minecraft is a game about placing blocks and going on adventures. Explore randomly generated worlds and build amazing things from the simplest of homes to the grandest of castles. Play in Creative Mode with unlimited resources or mine deep in Survival Mode, crafting weapons and armor to fend off dangerous mobs. Do all this alone or with friends. VanillaCord adds support for BungeeCord's ip_forward setting.

Read Me

VanillaCord

A patch for vanilla servers to work with BungeeCord's ip_forward setting.

This uses ME1312's fork of VanillaCord which has been updated for modern Minecraft.

Notes

If you've set up Spigot, Paper or some other server with BungeeCord's IP forwarding you might know that you have to set online-mode to false. Due to the way that VanillaCord works this is not necessary with this Egg, you can (and should) leave online-mode as true.

Server Ports

The minecraft server requires a single port for access (default 25565) but plugins may require extra ports to enabled for the server.

Portdefault
Game25565
Yolks
NameTag
Java 8ghcr.io/ptero-eggs/yolks:java_8
Java 11ghcr.io/ptero-eggs/yolks:java_11
Java 16ghcr.io/ptero-eggs/yolks:java_16
Java 17ghcr.io/ptero-eggs/yolks:java_17
java 21ghcr.io/ptero-eggs/yolks:java_21
java 22ghcr.io/ptero-eggs/yolks:java_22
Variables
NameDescriptionEnvironment VariableDefault ValueUser ViewableUser Editable
Server Jar FileThe name of the server jarfile to run the server with.SERVER_JARFILEserver.jarYesYes
Server VersionThe version of Minecraft Vanilla to install. Use "latest" to install the latest version.VANILLA_VERSIONlatestYesYes
Install Script
#!/bin/ash

apk --no-cache --update add curl jq

cd /mnt/server

echo $VANILLA_VERSION

LATEST_VERSION=`curl https://launchermeta.mojang.com/mc/game/version_manifest.json | jq -r '.latest.release'`

if { [ -z "$VANILLA_VERSION" ] || [ "$VANILLA_VERSION" == "latest" ]; } then
  INSTALLING_VERSION=$LATEST_VERSION
else
  INSTALLING_VERSION=$VANILLA_VERSION
fi

MAJOR_VERSION=$(echo $INSTALLING_VERSION | sed -En 's/^([0-9]*)\.[0-9]*\.[0-9]*$/\1/p')
MINOR_VERSION=$(echo $INSTALLING_VERSION | sed -En 's/^[0-9]*\.([0-9]*)\.[0-9]*$/\1/p')
PATCH_VERSION=$(echo $INSTALLING_VERSION | sed -En 's/^[0-9]*\.[0-9]*\.([0-9]*)$/\1/p')

VANILLACORD_URL=https://src.me1312.net/jenkins/job/VanillaCord/job/1.12/lastSuccessfulBuild/artifact/artifacts/VanillaCord.jar
if [ $MAJOR_VERSION -eq 1 ] && [ $MINOR_VERSION -lt 12 ]; then
  VANILLACORD_URL=https://src.me1312.net/jenkins/job/VanillaCord/job/1.7.10/lastSuccessfulBuild/artifact/artifacts/VanillaCord.jar
fi

if { [ $MAJOR_VERSION -eq 1 ] && [ $MINOR_VERSION -eq 7 ] && [ $PATCH_VERSION -lt 10 ]; } || { [ $MAJOR_VERSION -eq 1 ] && [ $MINOR_VERSION -lt 7 ]; } then
  echo "VanillaCord is only supported on Minecraft 1.7.10 or higher! You cannot use it with $INSTALLING_VERSION."
  exit 1
fi

curl -o vanillacord.jar $VANILLACORD_URL
java -jar vanillacord.jar $INSTALLING_VERSION

rm -f vanillacord.jar
rm -rf in
mv out/*.jar $SERVER_JARFILE
rm -rf out