Class ExtensionManager

java.lang.Object
org.geysermc.geyser.extension.ExtensionManager

public class ExtensionManager extends Object
Handles 3rd party extensions for Geyser and will hook into our Event system using annotations
  • Constructor Details

    • ExtensionManager

      public ExtensionManager(GeyserImpl connector, File extensionPath)
  • Method Details

    • loadExtensions

      public void loadExtensions()
      Load all extensions in the defined extensionPath
    • enableExtensions

      public void enableExtensions()
      Enable all Extensions This may eventually use dependency priority to determine order of enabling but for now relies on the priority
    • disableExtensions

      public void disableExtensions()
      Disable all Extensions
    • getConnector

      public GeyserImpl getConnector()
    • getExtensionPath

      public File getExtensionPath()
    • getGlobalClasses

      public Map<String,​Class<?>> getGlobalClasses()
    • getExtensions

      public List<GeyserExtension> getExtensions()
    • toString

      public String toString()
      Overrides:
      toString in class Object