Annotation Interface ConditionalOnPlugin
Activates the annotated component only if all given plugins are installed.
Add the plugins to softdepend in your plugin.yml so they are loaded before yours.
Supported on the same elements as Conditional.
@Service
@ConditionalOnPlugin("Vault")
public class VaultEconomyService implements EconomyService { ... }
-
Required Element Summary
Required Elements
-
Element Details
-
value
String[] valueThe names of the plugins that must be installed.
-