Skip to content

mwseMCMExclusionsPageFilter⚓︎

The filters used in the Exclusions Page.

Properties⚓︎

callback⚓︎

A custom filter function. The callback function needs to return a string array of items that should appear in the list. To use callback, don't pass the type field, just label and callback.

Returns:

  • result (nil, fun(): string[])

label⚓︎

The text shown on a button used to activate this filter on the Exclusions Page.

Returns:

  • result (string)

noScripted⚓︎

If set to true, no objects with a script will be added to the list.

Returns:

  • result (boolean, nil)

objectFilters⚓︎

If using "Object" filter, you can pass a dictionary-style table of fields and values that the objects need to satisfy to appear in the list.

Returns:

  • result (table<string, unknown>, nil)

objectType⚓︎

If using "Object" filter, pass the object types from tes3.objectType enumeration here.

Returns:

  • result (integer, integer[], nil)

type⚓︎

The filter type. Available options are:

  • "Plugin" - The list will contain the currently loaded plugin list.
  • "Object" - This filter will list objects.

Another option is to pass no type. Then, you can define custom callback function.

Returns:

  • result (string, nil)