Skip to content

Krypton

A fast, lightweight Minecraft server written in Kotlin

egg-krypton.json

updated

Install

Installer image
ghcr.io/ptero-eggs/installers:debian
Install script
20 lines

Images

New servers use the first image. Users can change it on the Startup page.

  • Java 8 default 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
  • Java 25 ghcr.io/ptero-eggs/yolks:java_25

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.

2 variables

Startup command

java -Xms128M -Xmx1024M -Dterminal.jline=false -Dterminal.ansi=true -jar Krypton.jar

Dotted values come from the server settings. These values are examples.

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

    SERVER_JARUsers can edit

    required|string|max:20

  • The version of Krypton to download and use.

    KRYPTON_VERSIONUsers can edit

    required|alpha_num|between:1,6

Wings

Stop command
stop
Running when the console shows
)! Type "help" for help.

Files Wings edits

Wings sets these values in these files before each start.

config.conf file

port
port = {{server.build.default.port}}
ip
ip = "0.0.0.0"

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

Changes

  1. Adding java 25 to most minecraft eggs

    · Red-Banana-Official · fb0c032

  2. Updating MC docker images (#23)

    · Red Banana · 8f3fc4d

  3. Add Minecraft eggs

    · Daniel Barton · 7322302

All changes on GitHub

Problem with this egg?

Open an issue on GitHub. Include your Panel and Wings versions.

Install script 20 lines bash in ghcr.io/ptero-eggs/installers:debian Show
#!/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"