Class GeyserBungeePlugin
java.lang.Object
net.md_5.bungee.api.plugin.Plugin
org.geysermc.geyser.platform.bungeecord.GeyserBungeePlugin
- All Implemented Interfaces:
GeyserBootstrap
public class GeyserBungeePlugin
extends net.md_5.bungee.api.plugin.Plugin
implements GeyserBootstrap
-
Field Summary
Fields inherited from interface org.geysermc.geyser.GeyserBootstrap
DEFAULT_CHUNK_MANAGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn the data folder where files get storedInformation used for the bootstrap section of the debug dumpReturns the current CommandManagerReturns the current GeyserConfigurationReturns the current GeyserLoggerReturns the current PingPassthrough manager@Nullable SocketAddressvoidCalled when the GeyserBootstrap is disabledvoidonEnable()Called when the GeyserBootstrap is enabledMethods inherited from class net.md_5.bungee.api.plugin.Plugin
getDataFolder, getDescription, getExecutorService, getFile, getLogger, getProxy, getResourceAsStream, onLoadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.geysermc.geyser.GeyserBootstrap
getMinecraftServerVersion, getWorldManager
-
Constructor Details
-
GeyserBungeePlugin
public GeyserBungeePlugin()
-
-
Method Details
-
onEnable
public void onEnable()Description copied from interface:GeyserBootstrapCalled when the GeyserBootstrap is enabled- Specified by:
onEnablein interfaceGeyserBootstrap- Overrides:
onEnablein classnet.md_5.bungee.api.plugin.Plugin
-
onDisable
public void onDisable()Description copied from interface:GeyserBootstrapCalled when the GeyserBootstrap is disabled- Specified by:
onDisablein interfaceGeyserBootstrap- Overrides:
onDisablein classnet.md_5.bungee.api.plugin.Plugin
-
getGeyserConfig
Description copied from interface:GeyserBootstrapReturns the current GeyserConfiguration- Specified by:
getGeyserConfigin interfaceGeyserBootstrap- Returns:
- The current GeyserConfiguration
-
getGeyserLogger
Description copied from interface:GeyserBootstrapReturns the current GeyserLogger- Specified by:
getGeyserLoggerin interfaceGeyserBootstrap- Returns:
- The current GeyserLogger
-
getGeyserCommandManager
Description copied from interface:GeyserBootstrapReturns the current CommandManager- Specified by:
getGeyserCommandManagerin interfaceGeyserBootstrap- Returns:
- The current CommandManager
-
getGeyserPingPassthrough
Description copied from interface:GeyserBootstrapReturns the current PingPassthrough manager- Specified by:
getGeyserPingPassthroughin interfaceGeyserBootstrap- Returns:
- The current PingPassthrough manager
-
getConfigFolder
Description copied from interface:GeyserBootstrapReturn the data folder where files get stored- Specified by:
getConfigFolderin interfaceGeyserBootstrap- Returns:
- Path location of data folder
-
getDumpInfo
Description copied from interface:GeyserBootstrapInformation used for the bootstrap section of the debug dump- Specified by:
getDumpInfoin interfaceGeyserBootstrap- Returns:
- The info about the bootstrap
-
getLogsPath
- Specified by:
getLogsPathin interfaceGeyserBootstrap
-
getSocketAddress
- Specified by:
getSocketAddressin interfaceGeyserBootstrap
-