improv(User-specified clientside-only mod exclusion filters): Allow users to change the way SPC filters user-specified clientside-only mods by introducting an additional property de.griefed.serverpackcreator.serverpack.autodiscovery.filter
You can change the behaviour with which ServerPackCreator filters the mods with the list of clientside-only modslist you specify. By default, ServerPackCreator will check each entry in that list against the name of every mod-JAR in your modpacks mods-directory and see whether said JAR starts with said entry.
Example:
- JAR: BetterPingDisplay-1.16.5-1.0.jar
- Entry: BetterPingDisplay-
The mod will be excluded, because its name starts with BetterPingDisplay-
.
This behaviour can be changed by editing de.griefed.serverpackcreator.serverpack.autodiscovery.filter=START
in serverpackcreator.properties
.
There are five possible settings which affect the way these filters happen:
-
START
Default setting. Checks whether the name of a mod starts with a given entry.
-
END
Checks whether the name of a mod ends with a given entry.
-
CONTAIN
Checks whether the name of a mod contains a given entry.
-
REGEX
Performs a regex-match of the name of a mod against a given entry.
-
EITHER
Not recommended unless you know exactly what you are doing. If used carelessly, this can result in all mods or unwanted mods being excluded. Checks whether any of the above result in a positive match.