itzg / docker-bungeecord

A BungeeCord server to use in conjunction with itzg/minecraft-server
Apache License 2.0
188 stars 62 forks source link

Make `REMOVE_OLD_PLUGINS` independent from `SPIGET_RESOURCES` #177

Closed Erik1000 closed 4 months ago

Erik1000 commented 4 months ago

This makes the behavior consistent with docker-minecraft-server since removeOldMods is called once in https://github.com/itzg/docker-minecraft-server/blob/f659c56f184a8167a2d6c83e68d4065a093d3b73/scripts/start-spiget#L131 if SPIGET_RESOURCES is used and then it is called again in https://github.com/itzg/docker-minecraft-server/blob/f659c56f184a8167a2d6c83e68d4065a093d3b73/scripts/start-setupModpack#L26 regardless of SPIGET_RESOURCES.

I think this is expected behavior and I used this to remove old jar files which were supplied via the /plugins mount without using SPIGET_RESOURCES.