VanillaCord

Games
Report Issue

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.

Contributors:
README

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.

Port default
Game 25565
Docker Images (6)
Name Image
Java 8 ghcr.io/ptero-eggs/yolks:java_8
Java 11 ghcr.io/ptero-eggs/yolks:java_11
Java 16 ghcr.io/ptero-eggs/yolks:java_16
Java 17 ghcr.io/ptero-eggs/yolks:java_17
java 21 ghcr.io/ptero-eggs/yolks:java_21
java 22 ghcr.io/ptero-eggs/yolks:java_22
Startup Command
java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar {{SERVER_JARFILE}}
Variables (2)

Server Jar File

The name of the server jarfile to run the server with.

Environment:
SERVER_JARFILE
Default:
server.jar
User Viewable:
User Editable:
Rules:
required|regex:/^([\w\d._-]+)(\.jar)$/

Server Version

The version of Minecraft Vanilla to install. Use "latest" to install the latest version.

Environment:
VANILLA_VERSION
Default:
latest
User Viewable:
User Editable:
Rules:
required|string|between:3,15
Installation Script
Container: eclipse-temurin:8-jdk-jammy
Entrypoint: ash
#!/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