Skip to content

Placement Modifier: Feature: Activation

DerFrZocker edited this page May 7, 2023 · 2 revisions

Table of Contents

  1. Description
  2. Settings
    1. Activate
  3. File Configuration

Description

Key: feature:activation

The activation placement modifier, comes from the plugin itself and is automatically injected to every feature. With this placement modifier, it is possible to completely activate / deactivate a feature. When this placement modifier is injected, it is set to generate the feature by default.

Settings

Activate

Value-Type: Boolean
Possible-Values: {true, false}

The activate setting determines if the feature should be generated or not. If the setting is true, the feature will be generated, if the setting is false the feature will not be generated.

File Configuration

Configuration

"activate": <boolean value>,
"placement_modifier_type": "feature:activation"

Full Example

"placement_modifier_configurations": [
  {
    "activate": {
      "activate_type": "feature:fixed_boolean",
      "value": true
    },
    "placement_modifier_type": "feature:activation"
  }
]

Clone this wiki locally