File Exclusions
Excluding files from ZIP-archives
You can globally configure files which should be excluded from ZIP-archives. To do so, you need to edit your serverpackcreator.properties
-file and change the de.griefed.serverpackcreator.serverpack.zip.exclude
-property to your liking.
There are some filters you can make use of if you want to, for example, exclude a files which has the Minecraft version, modloader name, or modloader version in its name.
These filters are to be used in plain text, meaning:
MINECRAFT_VERSION
MODLOADER
MODLOADER_VERSION
If any file you specify contains any of these three strings, they will be replaced respectively. Example: minecraft_server.MINECRAFT_VERSION.jar
becomes minecraft_server.1.16.5.jar
when generating a server pack for a modpack which uses Minecraft version 1.16.5.
The default setting is minecraft_server.MINECRAFT_VERSION.jar,server.jar,libraries/net/minecraft/server/MINECRAFT_VERSION/server-MINECRAFT_VERSION.jar
and will exclude the Minecraft server jar, a file called server.jar
, as well as the Minecraft server jar should it be present in the libraries
-folder.
To deactivate the exclusion alltogether, set de.griefed.serverpackcreator.serverpack.zip.exclude.enabled
to false