Class GeyserStandaloneBootstrap
java.lang.Object
org.geysermc.geyser.platform.standalone.GeyserStandaloneBootstrap
- All Implemented Interfaces:
GeyserBootstrap
-
Field Summary
Fields inherited from interface org.geysermc.geyser.GeyserBootstrap
DEFAULT_CHUNK_MANAGER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the data folder where files get storedInformation used for the bootstrap section of the debug dumpReturns the current CommandManagerReturns the current GeyserConfigurationReturns the current GeyserLoggerReturns the current PingPassthrough managerstatic List<com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition>
getPOJOForClass(Class<?> clazz)
Get theBeanPropertyDefinition
s for the given classstatic void
void
Called when the GeyserBootstrap is disabledvoid
onEnable()
Called when the GeyserBootstrap is enabledvoid
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.geysermc.geyser.GeyserBootstrap
getLogsPath, getMinecraftServerVersion, getSocketAddress, getWorldManager
-
Constructor Details
-
GeyserStandaloneBootstrap
public GeyserStandaloneBootstrap()
-
-
Method Details
-
main
-
onEnable
-
onEnable
public void onEnable()Description copied from interface:GeyserBootstrap
Called when the GeyserBootstrap is enabled- Specified by:
onEnable
in interfaceGeyserBootstrap
-
onDisable
public void onDisable()Description copied from interface:GeyserBootstrap
Called when the GeyserBootstrap is disabled- Specified by:
onDisable
in interfaceGeyserBootstrap
-
getGeyserConfig
Description copied from interface:GeyserBootstrap
Returns the current GeyserConfiguration- Specified by:
getGeyserConfig
in interfaceGeyserBootstrap
- Returns:
- The current GeyserConfiguration
-
getGeyserLogger
Description copied from interface:GeyserBootstrap
Returns the current GeyserLogger- Specified by:
getGeyserLogger
in interfaceGeyserBootstrap
- Returns:
- The current GeyserLogger
-
getGeyserCommandManager
Description copied from interface:GeyserBootstrap
Returns the current CommandManager- Specified by:
getGeyserCommandManager
in interfaceGeyserBootstrap
- Returns:
- The current CommandManager
-
getGeyserPingPassthrough
Description copied from interface:GeyserBootstrap
Returns the current PingPassthrough manager- Specified by:
getGeyserPingPassthrough
in interfaceGeyserBootstrap
- Returns:
- The current PingPassthrough manager
-
getConfigFolder
Description copied from interface:GeyserBootstrap
Return the data folder where files get stored- Specified by:
getConfigFolder
in interfaceGeyserBootstrap
- Returns:
- Path location of data folder
-
getDumpInfo
Description copied from interface:GeyserBootstrap
Information used for the bootstrap section of the debug dump- Specified by:
getDumpInfo
in interfaceGeyserBootstrap
- Returns:
- The info about the bootstrap
-
getPOJOForClass
public static List<com.fasterxml.jackson.databind.introspect.BeanPropertyDefinition> getPOJOForClass(Class<?> clazz)Get theBeanPropertyDefinition
s for the given class- Parameters:
clazz
- The class to get the definitions for- Returns:
- A list of
BeanPropertyDefinition
for the given class
-