Class BungeeBridge
java.lang.Object
ml.karmaconfigs.api.common.utils.BridgeLoader<KarmaPlugin>
ml.karmaconfigs.api.bungee.loader.BungeeBridge
Bridge between BungeeCord and KarmaAPI
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KarmaPluginGet the loader instancevoidstart()Start the bridge loadervoidstop()Stop the bridgeMethods inherited from class ml.karmaconfigs.api.common.utils.BridgeLoader
connect, connect, connect, isRunning, setRunning
-
Constructor Details
-
BungeeBridge
Initialize the bridge loader- Parameters:
source- the source class
-
-
Method Details
-
start
Start the bridge loader- Specified by:
startin classBridgeLoader<KarmaPlugin>- Throws:
IOException
-
stop
public void stop()Stop the bridge- Specified by:
stopin classBridgeLoader<KarmaPlugin>
-
getInstance
Get the loader instance- Returns:
- the loader instance
-