Skip to content

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

Griefed requested to merge exclusionFilter into beta

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:

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:

  1. START

    Default setting. Checks whether the name of a mod starts with a given entry.

  2. END

    Checks whether the name of a mod ends with a given entry.

  3. CONTAIN

    Checks whether the name of a mod contains a given entry.

  4. REGEX

    Performs a regex-match of the name of a mod against a given entry.

  5. 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.

Merge request reports

Loading