Class GeyserStandaloneBootstrap
java.lang.Object
org.geysermc.geyser.platform.standalone.GeyserStandaloneBootstrap
- All Implemented Interfaces:
org.geysermc.geyser.GeyserBootstrap
public class GeyserStandaloneBootstrap
extends Object
implements org.geysermc.geyser.GeyserBootstrap
-
Field Summary
Fields inherited from interface org.geysermc.geyser.GeyserBootstrap
DEFAULT_CHUNK_MANAGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.geysermc.geyser.dump.BootstrapDumpInfoorg.geysermc.geyser.command.GeyserCommandManagerorg.geysermc.geyser.configuration.GeyserConfigurationorg.geysermc.geyser.ping.IGeyserPingPassthroughstatic List<com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition>getPOJOForClass(Class<?> clazz) Get theBeanPropertyDefinitions for the given class@NonNull StringintbooleanisUseGui()static voidvoidvoidonEnable()voidbooleanMethods 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, getSocketAddress, getWorldManager
-
Constructor Details
-
GeyserStandaloneBootstrap
public GeyserStandaloneBootstrap()
-
-
Method Details
-
main
-
onEnable
-
onEnable
public void onEnable()- Specified by:
onEnablein interfaceorg.geysermc.geyser.GeyserBootstrap
-
onDisable
public void onDisable()- Specified by:
onDisablein interfaceorg.geysermc.geyser.GeyserBootstrap
-
getGeyserConfig
public org.geysermc.geyser.configuration.GeyserConfiguration getGeyserConfig()- Specified by:
getGeyserConfigin interfaceorg.geysermc.geyser.GeyserBootstrap
-
getGeyserLogger
- Specified by:
getGeyserLoggerin interfaceorg.geysermc.geyser.GeyserBootstrap
-
getGeyserCommandManager
public org.geysermc.geyser.command.GeyserCommandManager getGeyserCommandManager()- Specified by:
getGeyserCommandManagerin 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
-
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
-
getPOJOForClass
public static List<com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition> getPOJOForClass(Class<?> clazz) Get theBeanPropertyDefinitions for the given class- Parameters:
clazz- The class to get the definitions for- Returns:
- A list of
BeanPropertyDefinitionfor the given class
-
isUseGui
public boolean isUseGui()
-