Krypton

Games
Report Issue

A fast, lightweight Minecraft server written in Kotlin

Contributors:
README

Krypton

A fast, lightweight Minecraft server written in Kotlin

Krypton GitHub

Server Ports

Krypton only requires a single port to run, just like vanilla, though plugins may need extra ports.

Notes

Please note that the server will not function correctly unless a pre-generated world is provided.

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 -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JAR}}
Variables (2)

Server JAR File

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

Environment:
SERVER_JAR
Default:
Krypton.jar
User Viewable:
User Editable:
Rules:
required|string|max:20

Krypton Version

The version of Krypton to download and use.

Environment:
KRYPTON_VERSION
Default:
latest
User Viewable:
User Editable:
Rules:
required|alpha_num|between:1,6
Installation Script
Container: ghcr.io/ptero-eggs/installers:debian
Entrypoint: bash
#!/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"