#!/bin/sh
mkdir -p /var/containers/minecraft
chmod +x /etc/init.d/minecraft.service

# Plugin list:
# - FastAsyncWorldEdit (https://ci.athion.net/job/FastAsyncWorldEdit/)
# - ViaVersion (Hangar)
# - ViaBackwards (Hangar)
# - GeyserMC (Hangar)
# - squaremap (Hangar)
# - WorldEditSelectionVisualizer (Hangar)
# - Multiverse Core (Hangar)
# - Multiverse Portals (Hangar)
# - Multiverse Inventories (Hangar)
# - KeepChunks (Hangar)

cp -rf ./config /var/containers/minecraft
cp -rf ./plugins /var/containers/minecraft/plugins

chown -R podman:podman /var/containers/minecraft