Initial commit: add Minecraft plugin updater

Add Dockerfile, main Python script, example config, requirements, and README for a Dockerized Minecraft plugin updater. The updater supports GitHub, Modrinth, and Spigot plugins, automatically checks for updates, downloads new versions, and manages plugin files and state.
This commit is contained in:
2025-12-28 16:47:11 +00:00
parent 1fd3bcdb87
commit 042368fa11
5 changed files with 307 additions and 0 deletions

14
Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM python:3.9-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY main.py .
# Create volume mount points
# /data should contain config.yaml and will be where plugins are downloaded (in /data/plugins)
VOLUME /data
CMD ["python", "-u", "main.py"]