Files
Civ/containers/paper/Dockerfile
AngrySoundTech bcaa8db11b Add Bungeecord
2022-01-11 12:08:39 -05:00

29 lines
993 B
Docker

FROM itzg/minecraft-server
# https://github.com/itzg/docker-minecraft-server#optional-plugins-mods-and-config-attach-points
COPY plugins /plugins
# https://github.com/itzg/docker-minecraft-server#patching-existing-files
COPY patches /patches
ENV PATCH_DEFINITIONS=/patches
COPY replacements /replacements
# https://github.com/itzg/docker-minecraft-server#opadministrator-players
ENV OPS_FILE=/replacements/ops.json
ENV OVERRIDE_OPS=TRUE
# Kind of annoying we have to set this all here instead of a patch...
# https://github.com/itzg/docker-minecraft-server#server-configuration
ENV OVERRIDE_SERVER_PROPERTIES=true
ENV MOTD="You're a §l§abeautiful§r person."
ENV MAX_PLAYERS="150"
ENV SPAWN_PROTECTION="0"
ENV ONLINE_MODE="false"
# https://github.com/itzg/docker-minecraft-server#running-a-paper-server
ENV TYPE=PAPER
ENV EULA=TRUE
# https://github.com/itzg/docker-minecraft-server#replacing-variables-inside-configs
ENV REPLACE_ENV_DURING_SYNC=TRUE
ENV REPLACE_ENV_VARIABLE_PREFIX=CIV