Class PlanVelocity

  • All Implemented Interfaces:
    PlanPlugin

    public class PlanVelocity
    extends java.lang.Object
    implements PlanPlugin
    Velocity Main class.

    Based on the PlanBungee class

    • Constructor Detail

      • PlanVelocity

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

      • onProxyStart

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

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

        public java.io.InputStream getResource​(java.lang.String resource)
        Specified by:
        getResource in interface PlanPlugin
      • getProxy

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

        public org.slf4j.Logger getSlf4jLogger()