Class GeyserViaProxyPlugin
java.lang.Object
net.raphimc.viaproxy.plugins.ViaProxyPlugin
org.geysermc.geyser.platform.viaproxy.GeyserViaProxyPlugin
- All Implemented Interfaces:
org.geysermc.geyser.api.event.EventRegistrar,org.geysermc.geyser.GeyserBootstrap
public class GeyserViaProxyPlugin
extends net.raphimc.viaproxy.plugins.ViaProxyPlugin
implements org.geysermc.geyser.GeyserBootstrap, org.geysermc.geyser.api.event.EventRegistrar
-
Field Summary
FieldsFields inherited from interface org.geysermc.geyser.GeyserBootstrap
DEFAULT_CHUNK_MANAGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.geysermc.geyser.command.CommandRegistryorg.geysermc.geyser.dump.BootstrapDumpInfoorg.geysermc.geyser.configuration.GeyserConfigurationorg.geysermc.geyser.GeyserLoggerorg.geysermc.geyser.ping.IGeyserPingPassthrough@NonNull String@NonNull StringintvoidvoidonEnable()voidvoidvoidvoidbooleanMethods inherited from class net.raphimc.viaproxy.plugins.ViaProxyPlugin
getAuthor, getClassLoader, getDepends, getName, getVersion, isEnabledMethods 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, getResourceOrNull, getResourceOrThrow, getSavedUserLoginsFolder, getSocketAddress, getWorldManager
-
Field Details
-
ROOT_FOLDER
-
-
Constructor Details
-
GeyserViaProxyPlugin
public GeyserViaProxyPlugin()
-
-
Method Details
-
onEnable
public void onEnable()- Specified by:
onEnablein classnet.raphimc.viaproxy.plugins.ViaProxyPlugin
-
onDisable
public void onDisable()- Overrides:
onDisablein classnet.raphimc.viaproxy.plugins.ViaProxyPlugin
-
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
-
getGeyserConfig
public org.geysermc.geyser.configuration.GeyserConfiguration getGeyserConfig()- Specified by:
getGeyserConfigin interfaceorg.geysermc.geyser.GeyserBootstrap
-
getGeyserLogger
public org.geysermc.geyser.GeyserLogger 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
-
getConfigFolder
- Specified by:
getConfigFolderin interfaceorg.geysermc.geyser.GeyserBootstrap
-
getDumpInfo
public org.geysermc.geyser.dump.BootstrapDumpInfo getDumpInfo()- Specified by:
getDumpInfoin interfaceorg.geysermc.geyser.GeyserBootstrap
-
getServerPlatform
- Specified by:
getServerPlatformin 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
-