A fast, lightweight Minecraft server written in Kotlin
Krypton only requires a single port to run, just like vanilla, though plugins may need extra ports.
Please note that the server will not function correctly unless a pre-generated world is provided.
Port | default |
---|---|
Game | 25565 |
Name | Tag |
---|---|
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 |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
Server JAR File | The name of the server JAR to run the server with. | SERVER_JAR | Krypton.jar | Yes | Yes |
Krypton Version | The version of Krypton to download and use. | KRYPTON_VERSION | latest | Yes | Yes |
#!/bin/bash
#
# Krypton installation script for Pterodactyl
# Created by BomBardyGamer
#
# Server Files: /mnt/server
apt-get update
apt-get install -y curl jq unzip
cd /mnt/server
if [ -z "${KRYPTON_VERSION}" ] || [ "${KRYPTON_VERSION}" == "latest" ]; then
KRYPTON_VERSION="lastSuccessfulBuild"
fi
BASE_URL="https://ci.kryptonmc.org/job/Krypton/${KRYPTON_VERSION}"
ARTIFACT=`curl "${BASE_URL}/api/json?tree=artifacts%5BrelativePath%5D" | jq '.artifacts[0].relativePath' | sed 's/"//g'`
curl -o ${SERVER_JAR} ${BASE_URL}/artifact/${ARTIFACT}
unzip ${SERVER_JAR} "config.conf"