Class GeyserVelocityPlugin
java.lang.Object
org.geysermc.geyser.platform.velocity.GeyserVelocityPlugin
- All Implemented Interfaces:
org.geysermc.geyser.GeyserBootstrap,org.geysermc.geyser.GeyserResources
-
Field Summary
Fields inherited from interface org.geysermc.geyser.GeyserBootstrap
DEFAULT_CHUNK_MANAGERFields inherited from interface org.geysermc.geyser.GeyserResources
DEFAULT -
Constructor Summary
ConstructorsConstructorDescriptionGeyserVelocityPlugin(com.velocitypowered.api.proxy.ProxyServer server, com.velocitypowered.api.plugin.PluginContainer container, org.slf4j.Logger logger) -
Method Summary
Modifier and TypeMethodDescriptionorg.geysermc.geyser.configuration.GeyserPluginConfigconfig()org.geysermc.geyser.util.metrics.MetricsPlatformorg.geysermc.geyser.command.CommandRegistryorg.geysermc.geyser.dump.BootstrapDumpInfoorg.geysermc.geyser.ping.IGeyserPingPassthrough@NonNull String@NonNull Stringint@Nullable SocketAddressvoidvoidvoidvoidvoidonInit(com.velocitypowered.api.event.proxy.ProxyInitializeEvent event) voidonProxyBound(com.velocitypowered.api.event.proxy.ListenerBoundEvent event) voidonShutdown(com.velocitypowered.api.event.proxy.ProxyShutdownEvent event) @NonNull org.geysermc.geyser.api.util.PlatformTypebooleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.geysermc.geyser.GeyserBootstrap
getLogsPath, getMinecraftServerVersion, getSavedUserLoginsFolder, getWorldManager, loadConfigMethods inherited from interface org.geysermc.geyser.GeyserResources
getResourceOrNull, getResourceOrThrow
-
Constructor Details
-
GeyserVelocityPlugin
@Inject public GeyserVelocityPlugin(com.velocitypowered.api.proxy.ProxyServer server, com.velocitypowered.api.plugin.PluginContainer container, org.slf4j.Logger logger)
-
-
Method Details
-
onGeyserInitialize
public void onGeyserInitialize()- Specified by:
onGeyserInitializein interfaceorg.geysermc.geyser.GeyserBootstrap
-
onGeyserEnable
public void onGeyserEnable()- Specified by:
onGeyserEnablein interfaceorg.geysermc.geyser.GeyserBootstrap
-
onGeyserDisable
public void onGeyserDisable()- Specified by:
onGeyserDisablein interfaceorg.geysermc.geyser.GeyserBootstrap
-
onGeyserShutdown
public void onGeyserShutdown()- Specified by:
onGeyserShutdownin interfaceorg.geysermc.geyser.GeyserBootstrap
-
platformType
public @NonNull org.geysermc.geyser.api.util.PlatformType platformType()- Specified by:
platformTypein interfaceorg.geysermc.geyser.GeyserBootstrap
-
config
public org.geysermc.geyser.configuration.GeyserPluginConfig config()- Specified by:
configin interfaceorg.geysermc.geyser.GeyserBootstrap
-
getGeyserLogger
- Specified by:
getGeyserLoggerin interfaceorg.geysermc.geyser.GeyserBootstrap
-
getCommandRegistry
public org.geysermc.geyser.command.CommandRegistry getCommandRegistry()- Specified by:
getCommandRegistryin interfaceorg.geysermc.geyser.GeyserBootstrap
-
getGeyserPingPassthrough
public org.geysermc.geyser.ping.IGeyserPingPassthrough getGeyserPingPassthrough()- Specified by:
getGeyserPingPassthroughin interfaceorg.geysermc.geyser.GeyserBootstrap
-
onInit
public void onInit(com.velocitypowered.api.event.proxy.ProxyInitializeEvent event) -
onShutdown
public void onShutdown(com.velocitypowered.api.event.proxy.ProxyShutdownEvent event) -
onProxyBound
public void onProxyBound(com.velocitypowered.api.event.proxy.ListenerBoundEvent event) -
getDumpInfo
public org.geysermc.geyser.dump.BootstrapDumpInfo getDumpInfo()- Specified by:
getDumpInfoin interfaceorg.geysermc.geyser.GeyserBootstrap
-
getServerPlatform
- Specified by:
getServerPlatformin interfaceorg.geysermc.geyser.GeyserBootstrap
-
getSocketAddress
- Specified by:
getSocketAddressin interfaceorg.geysermc.geyser.GeyserBootstrap
-
getServerBindAddress
- Specified by:
getServerBindAddressin interfaceorg.geysermc.geyser.GeyserBootstrap
-
getServerPort
public int getServerPort()- Specified by:
getServerPortin interfaceorg.geysermc.geyser.GeyserBootstrap
-
testFloodgatePluginPresent
public boolean testFloodgatePluginPresent()- Specified by:
testFloodgatePluginPresentin interfaceorg.geysermc.geyser.GeyserBootstrap
-
getFloodgateKeyPath
- Specified by:
getFloodgateKeyPathin interfaceorg.geysermc.geyser.GeyserBootstrap
-
createMetricsPlatform
public org.geysermc.geyser.util.metrics.MetricsPlatform createMetricsPlatform()- Specified by:
createMetricsPlatformin interfaceorg.geysermc.geyser.GeyserBootstrap
-
getConfigFolder
- Specified by:
getConfigFolderin interfaceorg.geysermc.geyser.GeyserBootstrap
-