Package com.djrapitops.plan
Class PlanVelocity
- java.lang.Object
-
- com.djrapitops.plan.PlanVelocity
-
- All Implemented Interfaces:
PlanPlugin
public class PlanVelocity extends java.lang.Object implements PlanPlugin
Velocity Main class.Based on the PlanBungee class
-
-
Constructor Summary
Constructors Constructor Description PlanVelocity(com.velocitypowered.api.proxy.ProxyServer proxy, org.slf4j.Logger slf4jLogger, java.nio.file.Path dataFolderPath, org.bstats.velocity.Metrics.Factory metricsFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorScheme
getColorScheme()
java.io.File
getDataFolder()
com.velocitypowered.api.proxy.ProxyServer
getProxy()
java.io.InputStream
getResource(java.lang.String resource)
org.slf4j.Logger
getSlf4jLogger()
PlanSystem
getSystem()
void
onDisable()
void
onEnable()
void
onProxyShutdown(com.velocitypowered.api.event.proxy.ProxyShutdownEvent event)
void
onProxyStart(com.velocitypowered.api.event.proxy.ProxyInitializeEvent event)
void
registerCommand(Subcommand command)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.djrapitops.plan.PlanPlugin
isSystemEnabled
-
-
-
-
Method Detail
-
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 interfacePlanPlugin
-
onDisable
public void onDisable()
- Specified by:
onDisable
in interfacePlanPlugin
-
registerCommand
public void registerCommand(Subcommand command)
- Specified by:
registerCommand
in interfacePlanPlugin
-
getResource
public java.io.InputStream getResource(java.lang.String resource)
- Specified by:
getResource
in interfacePlanPlugin
-
getColorScheme
public ColorScheme getColorScheme()
- Specified by:
getColorScheme
in interfacePlanPlugin
-
getSystem
public PlanSystem getSystem()
- Specified by:
getSystem
in interfacePlanPlugin
-
getProxy
public com.velocitypowered.api.proxy.ProxyServer getProxy()
-
getSlf4jLogger
public org.slf4j.Logger getSlf4jLogger()
-
getDataFolder
public java.io.File getDataFolder()
- Specified by:
getDataFolder
in interfacePlanPlugin
-
-