Package org.geysermc.platform.spigot
Class GeyserSpigotPlugin
java.lang.Object
org.bukkit.plugin.PluginBase
org.bukkit.plugin.java.JavaPlugin
org.geysermc.platform.spigot.GeyserSpigotPlugin
- All Implemented Interfaces:
org.bukkit.command.CommandExecutor,org.bukkit.command.TabCompleter,org.bukkit.command.TabExecutor,org.bukkit.plugin.Plugin,GeyserBootstrap
public class GeyserSpigotPlugin
extends org.bukkit.plugin.java.JavaPlugin
implements GeyserBootstrap
-
Field Summary
Fields inherited from interface org.geysermc.connector.bootstrap.GeyserBootstrap
DEFAULT_CHUNK_MANAGER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.viaversion.viaversion.api.protocol.version.ProtocolVersionbooleanisCompatible(String version, String whichVersion)voidvoidonEnable()Methods inherited from class org.bukkit.plugin.java.JavaPlugin
getClassLoader, getCommand, getConfig, getDataFolder, getDefaultWorldGenerator, getDescription, getFile, getLogger, getPlugin, getPluginLoader, getProvidingPlugin, getResource, getServer, getTextResource, isEnabled, isNaggable, onCommand, onLoad, 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.connector.bootstrap.GeyserBootstrap
getLogsPath
-
Constructor Details
-
GeyserSpigotPlugin
public GeyserSpigotPlugin()
-
-
Method Details
-
onEnable
public void onEnable()- Specified by:
onEnablein interfaceGeyserBootstrap- Specified by:
onEnablein interfaceorg.bukkit.plugin.Plugin- Overrides:
onEnablein classorg.bukkit.plugin.java.JavaPlugin
-
onDisable
public void onDisable()- Specified by:
onDisablein interfaceGeyserBootstrap- Specified by:
onDisablein interfaceorg.bukkit.plugin.Plugin- Overrides:
onDisablein classorg.bukkit.plugin.java.JavaPlugin
-
getGeyserConfig
- Specified by:
getGeyserConfigin interfaceGeyserBootstrap
-
getGeyserLogger
- Specified by:
getGeyserLoggerin interfaceGeyserBootstrap
-
getGeyserCommandManager
- Specified by:
getGeyserCommandManagerin interfaceGeyserBootstrap
-
getGeyserPingPassthrough
- Specified by:
getGeyserPingPassthroughin interfaceGeyserBootstrap
-
getWorldManager
- Specified by:
getWorldManagerin interfaceGeyserBootstrap
-
getConfigFolder
- Specified by:
getConfigFolderin interfaceGeyserBootstrap
-
getDumpInfo
- Specified by:
getDumpInfoin interfaceGeyserBootstrap
-
getMinecraftServerVersion
- Specified by:
getMinecraftServerVersionin interfaceGeyserBootstrap
-
getSocketAddress
- Specified by:
getSocketAddressin interfaceGeyserBootstrap
-
isCompatible
-
getServerProtocolVersion
public com.viaversion.viaversion.api.protocol.version.ProtocolVersion getServerProtocolVersion()- Returns:
- the server version before ViaVersion finishes initializing
-