StarMade's modern effect system is based around `ConfigGroup`s containing `EffectConfigElement`s. These config elements in turn contain properties describing what your effect should do.
You can create your own ConfigGroups like so, with a lowercase string tag that will be used to identify them.
weaponRangeUpgrade.elements.add(weaponRangeIncElement);//add the element to the group.
// groups can have multiple elements, e.g. a shield capacity increase ConfigGroup can also include a reciprocal shield upkeep reduction to keep the overall upkeep rate constant.
```
Finally, the `ConfigGroup` has to be enqueued for registration within StarMade itself, within the `RegisterConfigGroupsEvent` that StarLoader provides:
Once you have your `ConfigGroup` set up and registered in the queue, you can simply add its name to the `chamberConfigGroupsLowerCase` list in your chamber block's `ElementInformation`:
...and its effect(s) will be applied to a ship or station whenever the chamber is added.
\-
**NOTE:** Unfortunately, due to their enum nature, it appears that you cannot create custom `StatusEffectType`s. Instead, you can have your custom functionality poll the chamber tree directly to enable or disable itself based on whether or not the relevant chamber is present: