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
ConstructorDescriptionPlanVelocity
(com.velocitypowered.api.proxy.ProxyServer proxy, Logger slf4jLogger, Path dataFolderPath) -
Method Summary
Modifier and TypeMethodDescriptioncom.velocitypowered.api.proxy.ProxyServer
getProxy()
getResource
(String resource) void
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
-
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:
onEnable
in interfacePlanPlugin
-
onDisable
public void onDisable()- Specified by:
onDisable
in interfacePlanPlugin
-
registerCommand
- Specified by:
registerCommand
in interfacePlanPlugin
-
getResource
- Specified by:
getResource
in interfacePlanPlugin
-
getColorScheme
- Specified by:
getColorScheme
in interfacePlanPlugin
-
getSystem
- Specified by:
getSystem
in interfacePlanPlugin
-
getProxy
public com.velocitypowered.api.proxy.ProxyServer getProxy() -
getSlf4jLogger
-
getDataFolder
- Specified by:
getDataFolder
in interfacePlanPlugin
-