This is lightweight minecraft limbo server, written on Java with Netty. The main goal of the project is maximum simplicity with a minimum number of sent and processed packets. This limbo is empty, there are no ability to set schematic building since this is not necessary. You can send useful information in chat or BossBar. No plugins, no logs. The server is fully clear. It only able keep a lot of players while the main server is down.
A lightweight minecraft limbo server, written on Java with Netty. The main goal of the project is maximum simplicity with a minimum number of sent and processed packets. This limbo is empty, there are no ability to set schematic building since this is not necessary. You can send useful information in chat or BossBar. No plugins, no logs. The server is fully clear. It only able keep a lot of players while the main server is down.
The nanolimbo server requires a single port for access (default 25565).
Port | default |
---|---|
Game | 25565 |
Name | Tag |
---|---|
ghcr.io/ptero-eggs/yolks:java_8 | ghcr.io/ptero-eggs/yolks:java_8 |
Name | Description | Environment Variable | Default Value | User Viewable | User Editable |
---|---|---|---|---|---|
Server jar File | The name of the server jarfile to run the server with. | SERVER_JARFILE | server.jar | Yes | Yes |
Download URL | A URL to use to download. This is optional! Let this field empty for the latest version. | DOWNLOAD_URL | Yes | Yes | |
Version | The version of NanoLimbo to download. Use "latest" for latest. | VERSION | latest | Yes | Yes |
#!/bin/bash
# NanoLimbo Installation Script
#
# Server Files: /mnt/server
apt update
apt install -y curl jq git openssl bash bc apt-transport-https gnupg software-properties-common
if [ -z "${DOWNLOAD_URL}" ]; then
GITHUB_PACKAGE="Nan1t/NanoLimbo"
MATCH="NanoLimbo-"
## get release info and download links
LATEST_JSON=$(curl --silent "https://api.github.com/repos/${GITHUB_PACKAGE}/releases/latest")
RELEASES=$(curl --silent "https://api.github.com/repos/${GITHUB_PACKAGE}/releases")
if [ -z "${VERSION}" ] || [ "${VERSION}" == "latest" ]; then
DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i ${MATCH})
else
VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION "${VERSION}" '.[] | select(.tag_name==$VERSION) | .tag_name')
if [ "${VERSION}" == "${VERSION_CHECK}" ]; then
DOWNLOAD_URL=$(echo ${RELEASES} | jq -r --arg VERSION "${VERSION}" '.[] | select(.tag_name==$VERSION) | .assets[].browser_download_url' | grep -i ${MATCH})
else
echo -e "defaulting to latest release"
DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url)
fi
fi
else
if curl --output /dev/null --silent --head --fail ${DOWNLOAD_URL}.jar; then
echo -e "Provided download link is valid. Proceeding to download"
else
echo -e "Provided download link is invalid. Exiting now"
exit 2
fi
fi
cd /mnt/server
echo "Downloading server file..."
echo -e "performing curl -sSL ${DOWNLOAD_URL}"
curl -sSL -o ${SERVER_JARFILE} ${DOWNLOAD_URL}
if [ ! -f "settings.yml" ]; then
echo "Creating settings file..."
curl -sSL -o settings.yml https://raw.githubusercontent.com/ptero-eggs/game-eggs/main/minecraft/java/nanolimbo/settings.yml
fi
## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"