Skip to content

GoMint

A performant and stable Minecraft server software for the Bedrock Edition that comes with a modern API and support for Java 11 LTS.

egg-gomint.json

updated

Ports

Add an allocation on the node for each port.

  • Game 19132

Install

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

Images

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

  • Java 21 default ghcr.io/ptero-eggs/yolks:java_21
  • Java 17 ghcr.io/ptero-eggs/yolks:java_17
  • Java 16 ghcr.io/ptero-eggs/yolks:java_16
  • Java 11 ghcr.io/ptero-eggs/yolks:java_11
  • Java 8 ghcr.io/ptero-eggs/yolks:java_8

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.

0 variables

Startup command

java --add-opens java.base/java.nio=io.netty.common --add-exports java.base/jdk.internal.misc=io.netty.common -p modules -m gomint.server/io.gomint.server.Bootstrap

Wings

Stop command
stop
Running when the console shows
Done in

Files Wings edits

Wings sets these values in these files before each start.

server.yml yml

listener.port
{{server.build.default.port}}

Readme

gomint

Easy-to-use, highly configurable Minecraft Bedrock Edition
 server software with the ability to sustain in a low-resource environment.

Server Ports

Bedrock server require a single port (default 19132)

Port default
Game 19132

Changes

  1. Validate and update embedded URLs

    · Daniel Barton · bf9f3cb

  2. fixie pixie 🐟

    · yesBad · 73a886f

  3. SteamCMD + Other fixes

    · yesBad · edbf925

  4. Minecraft Eggs

    · yesBad · d749608

  5. 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 64 lines bash in ghcr.io/ptero-eggs/installers:debian Show
#! /bin/bash

GITHUB_PACKAGE=gomint/gomint

apt update
apt install -y curl jq file unzip

if [ ! -d /mnt/server/ ]; then
    mkdir -p /mnt/server/
fi

cd /mnt/server/

if [ -z "${GITHUB_USER}" ] && [ -z "${GITHUB_OAUTH_TOKEN}" ] ; then
    echo -e "using anon api call"
else
    echo -e "user and oauth token set"
    alias curl='curl -u ${GITHUB_USER}:${GITHUB_OAUTH_TOKEN} '
fi

# retrieve latest tag to be used as version match, because gomint doesn't use normal releases
LATEST_VERSION=$(curl -sL https://api.github.com/repos/gomint/gomint/tags | jq -r '.[-1].name')

DOWNLOAD_URL=https://github.com/gomint/gomint/releases/download/${LATEST_VERSION}/${LATEST_VERSION}.zip

if [ ! -z "${DOWNLOAD_URL}" ]; then 
    if curl --output /dev/null --silent --head --fail ${DOWNLOAD_URL}; then
        echo -e "download link is valid. setting download link to ${DOWNLOAD_URL}"
        VALIDATED_URL=${DOWNLOAD_URL}
    else        
        echo -e "download link is invalid, something went wrong. Closing out"
        exit 2
    fi
fi

curl -sSL -o ${VALIDATED_URL##*/} ${VALIDATED_URL}

FILETYPE=$(file -F ',' ${VALIDATED_URL##*/} | cut -d',' -f2 | cut -d' ' -f2)
if [ "$FILETYPE" == "gzip" ]; then
    tar xzvf ${VALIDATED_URL##*/}
elif [ "$FILETYPE" == "Zip" ]; then
    unzip ${VALIDATED_URL##*/} -d modules/
elif [ "$FILETYPE" == "XZ" ]; then
    tar xvf ${VALIDATED_URL##*/}
else
    echo -e "unknown filetype. Exiting"
    # exit 2 
fi

# Move files into correct folders and remove unnecessary stuff
rm ${VALIDATED_URL##*/}
mv modules/modules/* modules
rm -rf modules/modules
rm modules/start.*

# Fetch server config
if [ ! -f server.yml ]; then
    curl -sSL -o server.yml https://raw.githubusercontent.com/ptero-eggs/game-eggs/main/minecraft/bedrock/gomint/server.yml
fi

## install end
echo "-----------------------------------------"
echo "Installation completed..."
echo "-----------------------------------------"