JTS3ServerMod
applicationsSetup: - Install the latest version - Go into config/server1 and edit JTS3ServerMod_server.cfg - Save and start the server Author: https://www.stefan1200.de/forum/index.php?topic=2.0
Docker Images (1)
| Name | Image |
|---|---|
ghcr.io/pterodactyl/yolks:java_8 | ghcr.io/pterodactyl/yolks:java_8 |
Startup Command
java -Xms128M -Xmx{{SERVER_MEMORY}}M -jar JTS3ServerMod.jar Variables (1)
Version
Version to download. Use latest to install latest version
- Environment:
SERVER_VERSION- Default:
latest- User Viewable:
- ❌
- User Editable:
- ❌
- Rules:
required|string|max:20
Installation Script
Container:
ghcr.io/ptero-eggs/installers:debianEntrypoint:
bash#!/bin/bash
# JTS3ServerMod
#
# Server Files: /mnt/server
# All required packages are installed in the used install image ghcr.io/ptero-eggs/installers:debian
export HOME=/mnt/server
mkdir -p /mnt/server
cd /mnt/server
if [ -z "$SERVER_VERSION" ] || [ "$SERVER_VERSION" == "latest" ]; then
echo -e "Downloading latest version with curl -L "https://www.stefan1200.de/dlrequest.php?file=jts3servermod &
type=.zip" -o JTS3ServerMod.zip"
curl -L "https://www.stefan1200.de/dlrequest.php?file=jts3servermod&type=.zip" -o JTS3ServerMod.zip
else
echo -e "running curl -L "https://www.stefan1200.de/downloads/JTS3ServerMod_$SERVER_VERSION.zip" -o JTS3ServerMod.zip"
curl -L "https://www.stefan1200.de/downloads/JTS3ServerMod_$SERVER_VERSION.zip" -o JTS3ServerMod.zip
fi
# no need to continue if we don't have an archive
if [ ! -f JTS3ServerMod.zip ]; then
echo "JTS3ServerMod.zip not found. Something went wrong. Exiting"
exit 2
fi
unzip JTS3ServerMod.zip
rm JTS3ServerMod.zip JTS3ServerMod-Windows.exe JTS3ServerMod-Windows_NoWindow.exe jts3servermod_startscript.sh
echo -e "Installation completed.\nConfiguration of the server must be done in the config folder to proceed."