Package org.geysermc.platform.sponge
Class GeyserSpongePlugin
java.lang.Object
org.geysermc.platform.sponge.GeyserSpongePlugin
- All Implemented Interfaces:
GeyserBootstrap
-
Field Summary
Fields inherited from interface org.geysermc.connector.bootstrap.GeyserBootstrap
DEFAULT_CHUNK_MANAGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidonEnable()voidonServerStart(org.spongepowered.api.event.game.state.GameStartedServerEvent event)voidonServerStop(org.spongepowered.api.event.game.state.GameStoppedEvent event)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.geysermc.connector.bootstrap.GeyserBootstrap
getLogsPath, getSocketAddress, getWorldManager
-
Constructor Details
-
GeyserSpongePlugin
public GeyserSpongePlugin()
-
-
Method Details
-
onEnable
public void onEnable()- Specified by:
onEnablein interfaceGeyserBootstrap
-
onDisable
public void onDisable()- Specified by:
onDisablein interfaceGeyserBootstrap
-
getGeyserConfig
- Specified by:
getGeyserConfigin interfaceGeyserBootstrap
-
getGeyserLogger
- Specified by:
getGeyserLoggerin interfaceGeyserBootstrap
-
getGeyserCommandManager
- Specified by:
getGeyserCommandManagerin interfaceGeyserBootstrap
-
getGeyserPingPassthrough
- Specified by:
getGeyserPingPassthroughin interfaceGeyserBootstrap
-
getConfigFolder
- Specified by:
getConfigFolderin interfaceGeyserBootstrap
-
onServerStart
public void onServerStart(org.spongepowered.api.event.game.state.GameStartedServerEvent event) -
onServerStop
public void onServerStop(org.spongepowered.api.event.game.state.GameStoppedEvent event) -
getDumpInfo
- Specified by:
getDumpInfoin interfaceGeyserBootstrap
-
getMinecraftServerVersion
- Specified by:
getMinecraftServerVersionin interfaceGeyserBootstrap
-