mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-22 00:56:24 +00:00
VanillaTweaks uses mc-image-helper and auto-cleans old files (#1581)
This commit is contained in:
@@ -7,8 +7,8 @@ services:
|
||||
environment:
|
||||
EULA: "TRUE"
|
||||
SETUP_ONLY: "TRUE"
|
||||
VERSION: ${MINECRAFT_VERSION:-LATEST}
|
||||
CUSTOM_SERVER: /servers/fake.jar
|
||||
VANILLATWEAKS_SHARECODE: MGr52E,tF1zL2,LnEDwT
|
||||
REMOVE_OLD_VANILLATWEAKS: "FALSE"
|
||||
volumes:
|
||||
- ./data:/data
|
||||
- ./fake.jar:/servers/fake.jar
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
mc-image-helper assert fileExists "/data/world/datapacks/afk*"
|
||||
mc-image-helper assert fileExists "/data/world/datapacks/graves*"
|
||||
mc-image-helper assert fileExists "/data/world/datapacks/craftingtweaks*"
|
||||
mc-image-helper assert fileExists "/data/resourcepacks/resourcepacks*"
|
||||
mc-image-helper assert fileExists "/data/world/datapacks/VanillaTweaks_488158f.zip"
|
||||
mc-image-helper assert fileExists "/data/resourcepacks/VanillaTweaks_d1d810f.zip"
|
||||
|
||||
Reference in New Issue
Block a user