Skip to content

API reference Obsidian.API.Plugins

PluginDependencyType enum

How a plugin relates to one it names as a dependency. Matches the dependency types of NeoForge's mod metadata.

public enum PluginDependencyType

In Obsidian.API.

Values

NameValueDescription
Required 0

The dependency must be present with an accepted version, or the plugin doesn't load.

Optional 1

The dependency doesn't have to be present, but if it is, its version must be accepted.

Incompatible 2

The plugin doesn't load while a plugin with an accepted version is present.

Discouraged 3

The plugin loads, with a warning, while a plugin with an accepted version is present.

On this page