2021-11-02 15:50:05 -04:00
2021-11-02 15:50:05 -04:00
2021-10-31 20:55:42 -04:00
2021-10-30 19:19:31 -04:00
2021-10-30 19:19:31 -04:00
2021-10-30 20:33:08 -04:00

Minecraft Server Getter

Get the url for any minecraft server version

Usage

Python

Since this script is designed to be used in Docker it works with environment variables. Set SERVER_VERSION= and get_server.py will write a file called "SERVER_VERSION" with the url to download the version requested.

export SERVER_VERSION=1.16.4
python get_server.py

Docker

This is the intended way to run get_server. The get_server image saves the SERVER_VERSION file to /downloads. Mounting /downloads to pwd will allow the image to write to your current directory.

docker run -it -e SERVER_VERSION=1.16.4 -v $(pwd):/downloads ducoterra/get-minecraft:latest

Build

To create a new version increment the version in the VERSION file.

# Mac M1 Only
make buildx-context

make build
make push
Description
Get the URL for a given minecraft server
Readme 38 KiB
Languages
Python 66.2%
Makefile 26.8%
Dockerfile 7%