Class PlanVelocity

java.lang.Object
com.djrapitops.plan.PlanVelocity
All Implemented Interfaces:
PlanPlugin

public class PlanVelocity extends Object implements PlanPlugin
Velocity Main class.

Based on the PlanBungee class

  • Constructor Details

    • PlanVelocity

      @Inject public PlanVelocity(com.velocitypowered.api.proxy.ProxyServer proxy, org.slf4j.Logger slf4jLogger, Path dataFolderPath, org.bstats.velocity.Metrics.Factory metricsFactory)
  • Method Details

    • onProxyStart

      public void onProxyStart(com.velocitypowered.api.event.proxy.ProxyInitializeEvent event)
    • onProxyShutdown

      public void onProxyShutdown(com.velocitypowered.api.event.proxy.ProxyShutdownEvent event)
    • onEnable

      public void onEnable()
      Specified by:
      onEnable in interface PlanPlugin
    • onDisable

      public void onDisable()
      Specified by:
      onDisable in interface PlanPlugin
    • registerCommand

      public void registerCommand(Subcommand command)
      Specified by:
      registerCommand in interface PlanPlugin
    • getResource

      public InputStream getResource(String resource)
      Specified by:
      getResource in interface PlanPlugin
    • getColorScheme

      public ColorScheme getColorScheme()
      Specified by:
      getColorScheme in interface PlanPlugin
    • getSystem

      public PlanSystem getSystem()
      Specified by:
      getSystem in interface PlanPlugin
    • getProxy

      public com.velocitypowered.api.proxy.ProxyServer getProxy()
    • getSlf4jLogger

      public org.slf4j.Logger getSlf4jLogger()
    • getDataFolder

      public File getDataFolder()
      Specified by:
      getDataFolder in interface PlanPlugin