This egg is designed to run any generic Java application, allowing users to pull their own Java source code from a Github repository. This egg is also compatible with Kotlin.
There is an option to allow a user to upload their own files to run a bot.
The startup configs and commands may need changing to actually function properly.
The server will be stuck as starting
until the egg Start Configuration is modified. You have to edit the text to match something your bot will print for Pterodactyl panel to detect it as running.
You can use arrays to have multiple different values when different bots are being used
{
"done":[
"change this text 1",
"change this text 2"
]
}
Name | Tag |
---|---|
ghcr.io/ptero-eggs/yolks:java_8 | ghcr.io/ptero-eggs/yolks:java_8 |
ghcr.io/ptero-eggs/yolks:java_11 | ghcr.io/ptero-eggs/yolks:java_11 |
ghcr.io/ptero-eggs/yolks:java_16 | ghcr.io/ptero-eggs/yolks:java_16 |
ghcr.io/ptero-eggs/yolks:java_17 | ghcr.io/ptero-eggs/yolks:java_17 |
ghcr.io/ptero-eggs/yolks:java_19 | ghcr.io/ptero-eggs/yolks:java_19 |
ghcr.io/ptero-eggs/yolks:java_21 | ghcr.io/ptero-eggs/yolks:java_21 |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
JAR FILE | JARFILE | sneakyhub.jar | Yes | Yes |
#!/bin/bash
# Java Installation Script
#
# Server Files: /mnt/server
PROJECT=java
apt update
apt install -y curl jq
cd /mnt/server