Skip to content

Commit 51af305

Browse files
authored
feat: add PLUGINS env var for direct plugin URLs (Geyser via GeyserMC API)
1 parent bd4c4b1 commit 51af305

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

.env

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Minecraft Server Variables
22
MINECRAFT_SERVER_IMAGE_TAG=itzg/mc-proxy:latest
3+
# Plugins
4+
MINECRAFT_SERVER_PLUGINS=https://download.geysermc.org/v2/projects/geyser/versions/latest/builds/latest/downloads/velocity,https://download.geysermc.org/v2/projects/floodgate/versions/latest/builds/latest/downloads/velocity
35
# Minecraft server type
46
MINECRAFT_SERVER_TYPE=VELOCITY
57
# Memory limit

minecraft-server-proxy-docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ services:
1414
environment:
1515
TYPE: ${MINECRAFT_SERVER_TYPE}
1616
MEMORY: ${MINECRAFT_SERVER_MEMORY}
17+
PLUGINS: ${MINECRAFT_SERVER_PLUGINS}
1718
extra_hosts:
1819
- host.docker.internal:host-gateway
1920
ports:

0 commit comments

Comments
 (0)