Class GeyserSpigotPlugin
java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
org.geysermc.geyser.platform.spigot.GeyserSpigotPlugin
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor,org.bukkit.command.TabCompleter,org.bukkit.command.TabExecutor,org.bukkit.plugin.Plugin,org.geysermc.geyser.GeyserBootstrap
public class GeyserSpigotPlugin
extends org.bukkit.plugin.java.JavaPlugin
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.ping.IGeyserPingPassthrough@NonNull Stringintcom.viaversion.viaversion.api.protocol.version.ProtocolVersionorg.geysermc.geyser.level.WorldManagervoidvoidonEnable()voidonLoad()booleanMethods inherited from class org.bukkit.plugin.java.JavaPlugin
getClassLoader, getCommand, getConfig, getDataFolder, getDefaultBiomeProvider, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getPluginMeta, getProvidingPlugin, getResource, getServer, getTextResource, init, init, isEnabled, isNaggable, onCommand, onTabComplete, reloadConfig, saveConfig, saveDefaultConfig, saveResource, setEnabled, setNaggable, toStringMethods inherited from class org.bukkit.plugin.PluginBase
equals, getName, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.geysermc.geyser.GeyserBootstrap
getLogsPath, getResourceOrNull, getResourceOrThrow, getSavedUserLoginsFolderMethods inherited from interface org.bukkit.plugin.Plugin
getComponentLogger, getLog4JLogger, getSLF4JLogger
-
Constructor Details
-
GeyserSpigotPlugin
public GeyserSpigotPlugin()
-
-
Method Details
-
onLoad
public void onLoad()- Specified by:
onLoadin interfaceorg.bukkit.plugin.Plugin- Overrides:
onLoadin classorg.bukkit.plugin.java.JavaPlugin
-
onEnable
public void onEnable()- Specified by:
onEnablein interfaceorg.geysermc.geyser.GeyserBootstrap- Specified by:
onEnablein interfaceorg.bukkit.plugin.Plugin- Overrides:
onEnablein classorg.bukkit.plugin.java.JavaPlugin
-
onDisable
public void onDisable()- Specified by:
onDisablein interfaceorg.geysermc.geyser.GeyserBootstrap- Specified by:
onDisablein interfaceorg.bukkit.plugin.Plugin- Overrides:
onDisablein classorg.bukkit.plugin.java.JavaPlugin
-
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
-
getWorldManager
public org.geysermc.geyser.level.WorldManager getWorldManager()- Specified by:
getWorldManagerin 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
-
getMinecraftServerVersion
- Specified by:
getMinecraftServerVersionin interfaceorg.geysermc.geyser.GeyserBootstrap
-
getSocketAddress
- Specified by:
getSocketAddressin interfaceorg.geysermc.geyser.GeyserBootstrap
-
getServerProtocolVersion
public com.viaversion.viaversion.api.protocol.version.ProtocolVersion getServerProtocolVersion()- Returns:
- the server version before ViaVersion finishes initializing
-
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
-