Package com.djrapitops.plan
Class PlanVelocity
java.lang.Object
com.djrapitops.plan.PlanVelocity
- All Implemented Interfaces:
PlanPlugin
Velocity Main class.
Based on the PlanBungee class
-
Constructor Summary
ConstructorsConstructorDescriptionPlanVelocity(com.velocitypowered.api.proxy.ProxyServer proxy, Logger slf4jLogger, Path dataFolderPath) -
Method Summary
Modifier and TypeMethodDescriptioncom.velocitypowered.api.proxy.ProxyServergetProxy()getResource(String resource) voidvoidonEnable()voidonProxyShutdown(com.velocitypowered.api.event.proxy.ProxyShutdownEvent event) voidonProxyStart(com.velocitypowered.api.event.proxy.ProxyInitializeEvent event) voidregisterCommand(Subcommand command) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.djrapitops.plan.PlanPlugin
isSystemEnabled
-
Constructor Details
-
PlanVelocity
-
-
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:
onEnablein interfacePlanPlugin
-
onDisable
public void onDisable()- Specified by:
onDisablein interfacePlanPlugin
-
registerCommand
- Specified by:
registerCommandin interfacePlanPlugin
-
getResource
- Specified by:
getResourcein interfacePlanPlugin
-
getColorScheme
- Specified by:
getColorSchemein interfacePlanPlugin
-
getSystem
- Specified by:
getSystemin interfacePlanPlugin
-
getProxy
public com.velocitypowered.api.proxy.ProxyServer getProxy() -
getSlf4jLogger
-
getDataFolder
- Specified by:
getDataFolderin interfacePlanPlugin
-