Class GeyserStandaloneBootstrap
java.lang.Object
org.geysermc.geyser.platform.standalone.GeyserStandaloneBootstrap
- All Implemented Interfaces:
org.geysermc.geyser.GeyserBootstrap,org.geysermc.geyser.GeyserResources
public class GeyserStandaloneBootstrap
extends Object
implements org.geysermc.geyser.GeyserBootstrap
-
Field Summary
Fields inherited from interface org.geysermc.geyser.GeyserBootstrap
DEFAULT_CHUNK_MANAGERFields inherited from interface org.geysermc.geyser.GeyserResources
DEFAULT -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.geysermc.geyser.configuration.GeyserConfigconfig()org.geysermc.geyser.command.CommandRegistryorg.geysermc.geyser.dump.BootstrapDumpInfoorg.geysermc.geyser.ping.IGeyserPingPassthrough@NonNull String@NonNull StringintbooleanisUseGui()<T extends org.geysermc.geyser.configuration.GeyserConfig>
TloadConfig(Class<T> configClass) static voidvoidvoidvoidvoid@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
createMetricsPlatform, getLogsPath, getMinecraftServerVersion, getSocketAddress, getWorldManagerMethods inherited from interface org.geysermc.geyser.GeyserResources
getResourceOrNull, getResourceOrThrow
-
Constructor Details
-
GeyserStandaloneBootstrap
public GeyserStandaloneBootstrap()
-
-
Method Details
-
main
-
onGeyserInitialize
public void onGeyserInitialize()- Specified by:
onGeyserInitializein interfaceorg.geysermc.geyser.GeyserBootstrap
-
onGeyserEnable
public void onGeyserEnable()- Specified by:
onGeyserEnablein interfaceorg.geysermc.geyser.GeyserBootstrap
-
loadConfig
public <T extends org.geysermc.geyser.configuration.GeyserConfig> T loadConfig(Class<T> configClass) - Specified by:
loadConfigin 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.GeyserConfig 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
-
getConfigFolder
- Specified by:
getConfigFolderin interfaceorg.geysermc.geyser.GeyserBootstrap
-
getSavedUserLoginsFolder
- Specified by:
getSavedUserLoginsFolderin 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
-
getFloodgateKeyPath
- Specified by:
getFloodgateKeyPathin interfaceorg.geysermc.geyser.GeyserBootstrap
-
isUseGui
public boolean isUseGui()
-