Skip to content

Ignore & Include lists

R edited this page Mar 6, 2020 · 17 revisions

These lists support glob patterns. Handy playground globtester

Paths for the FILE_IGNORE_LIST are relative to Minecrafts base folder.

To ignore a mod during the update/deletion process add it's relative path or glob pattern name to the FILE_IGNORE_LIST (note that old config files may call this MOD_IGNORE_LIST):

S:FILE_IGNORE_LIST <
   mods/myMod.jar // Specifically the file myMod.jar in the mods folder
   mods/blocks/* // Everything in the blocks folder inside the mods folder
   mods/other/** // Everything in the other folder and subfolders
   catpics/*.whoneedsthese // All files in catpics with the extension .whoneedsthese
   **/*.jar // All jar files in all syncable folders
>

Paths for the CONFIG_INCLUDE_LIST are relative to the config folder.

Configs by default are not synced, to include a config file in the sync process add it's file name to the CONFIG_INCLUDE_LIST:

S:CONFIG_INCLUDE_LIST <
   my*.cfg // Evaluates to config/my*.cfg
   myClientConfig.cfg
>

Alternatively if you wish to use a blacklist pattern for configs just include the config folder in the DIRECTORY_INCLUDE_LIST and add rules as usual to the FILE_IGNORE_LIST.

Directory list does not support glob patterns.

To add a custom folder to be synchronized add it's name to the DIRECTORY_INCLUDE_LIST, these directories are evaluated from the base minecraft folder (one step above your mods folder) and will include all files in sub directories below e.g. folder will include both folder and Subfolder where folder/Subfolder will include only Subfolder and any child directories:

S:DIRECTORY_INCLUDE_LIST <
   mods
   folder
   folder/Subfolder
>