Package dev.crafty.core.bridge
Interface Bridge
- All Known Subinterfaces:
EconomyBridge,MobBridge,PlaceholderBridge
- All Known Implementing Classes:
MythicMobsBridge,PlaceholderApiBridge,VaultEconomyBridge
public interface Bridge
Bridges provide a unified api for accessing multiple plugins.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the type or category name of this bridge.booleanChecks if this bridge can be registered.getName()Returns the unique name of this bridge instance.default booleanpluginEnabled(String pluginName)
-
Method Details
-
getName
String getName()Returns the unique name of this bridge instance.- Returns:
- the name of the bridge
-
bridgeName
String bridgeName()Returns the type or category name of this bridge.- Returns:
- the bridge type name
-
canRegister
boolean canRegister()Checks if this bridge can be registered.- Returns:
- true if the bridge can be registered, false otherwise
-
pluginEnabled
-