Class JavaPluginLoader

java.lang.Object
org.cloudburstmc.server.plugin.loader.JavaPluginLoader
All Implemented Interfaces:
org.cloudburstmc.api.plugin.PluginLoader

public class JavaPluginLoader extends Object implements org.cloudburstmc.api.plugin.PluginLoader
  • Method Details

    • builder

      public static JavaPluginLoader.Builder builder()
    • loadPlugin

      @Nonnull public org.cloudburstmc.api.plugin.PluginDescription loadPlugin(@Nonnull Path path) throws Exception
      Specified by:
      loadPlugin in interface org.cloudburstmc.api.plugin.PluginLoader
      Throws:
      Exception
    • createPlugin

      @Nonnull public org.cloudburstmc.api.plugin.PluginContainer createPlugin(@Nonnull com.google.inject.Injector injector, @Nonnull org.cloudburstmc.api.plugin.PluginDescription description) throws Exception
      Specified by:
      createPlugin in interface org.cloudburstmc.api.plugin.PluginLoader
      Throws:
      Exception
    • getPathMatcher

      @Nonnull public PathMatcher getPathMatcher()
      Specified by:
      getPathMatcher in interface org.cloudburstmc.api.plugin.PluginLoader