From 34b96e0b6360d476ead5e9c1d2093be8b288acfd Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Sat, 27 Apr 2019 13:47:26 -0500 Subject: [PATCH] Copy over all content of /plugins and /mods Fixes #310 --- minecraft-server/start-minecraftFinalSetup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minecraft-server/start-minecraftFinalSetup b/minecraft-server/start-minecraftFinalSetup index 341fa686..2ec018db 100644 --- a/minecraft-server/start-minecraftFinalSetup +++ b/minecraft-server/start-minecraftFinalSetup @@ -38,7 +38,7 @@ done mkdir -p /data/mods if [ -d /mods ]; then echo "Copying any mods over..." - rsync -a --out-format="update:%f:Last Modified %M" --prune-empty-dirs --include '*/' --include '*.jar' -include '*.zip' --exclude '*' --update /mods /data + rsync -a --out-format="update:%f:Last Modified %M" --prune-empty-dirs --update /mods /data fi [ -d /data/config ] || mkdir /data/config @@ -56,7 +56,7 @@ if [ "$TYPE" = "SPIGOT" ]; then echo "Copying any Bukkit plugins over..." # Copy plugins over using rsync to allow deeply nested updates of plugins # only updates files if the source file is newer and print updated files - rsync -a --out-format="update:%f:Last Modified %M" --prune-empty-dirs --include '*/' --include '*.jar' --exclude '*' --update /plugins /data + rsync -a --out-format="update:%f:Last Modified %M" --prune-empty-dirs --update /plugins /data fi fi