Add a bunch of cool envvars to the MC server

This commit is contained in:
Salt 2024-07-10 13:06:31 -05:00
parent e0e0d626f9
commit b19602f205

View File

@ -4,11 +4,20 @@
name: minecraft-createfarming name: minecraft-createfarming
state: started state: started
image: itzg/minecraft-server:latest image: itzg/minecraft-server:latest
restart_policy: unless-stopped
pull: yes
env: env:
# Common envvars
EULA: "true" EULA: "true"
OPS: "VintageSalt"
SNOOPER_ENABLED: "false"
SPAWN_PROTECTION: "0"
USE_AIKAR_FLAGS: "true"
RCON_CMDS_STARTUP: |-
scoreboard objectives add Deaths deathCount
RCON_CMDS_ON_CONNECT: |-
scoreboard objectives setdisplay list Deaths
# Pack-specific stuff
MODRINTH_PROJECT: "https://modrinth.com/modpack/create-farmersdelight/version/1.0.0" MODRINTH_PROJECT: "https://modrinth.com/modpack/create-farmersdelight/version/1.0.0"
MOTD: "Create Farming and Delights! Spinny trains!"
TYPE: "MODRINTH" TYPE: "MODRINTH"
VERSION: "1.20.1" VERSION: "1.20.1"
MAX_MEMORY: "6G" MAX_MEMORY: "6G"