public class PlanVelocity extends com.djrapitops.plugin.VelocityPlugin implements PlanPlugin
Based on the PlanBungee class
Constructor and Description |
---|
PlanVelocity(com.velocitypowered.api.proxy.ProxyServer proxy,
org.slf4j.Logger slf4jLogger,
java.nio.file.Path dataFolderPath) |
Modifier and Type | Method and Description |
---|---|
com.djrapitops.plugin.command.ColorScheme |
getColorScheme() |
java.io.InputStream |
getResource(java.lang.String resource) |
PlanSystem |
getSystem() |
boolean |
isReloading() |
void |
onDisable() |
void |
onEnable() |
void |
onProxyShutdown(com.velocitypowered.api.event.proxy.ProxyShutdownEvent event) |
void |
onProxyStart(com.velocitypowered.api.event.proxy.ProxyInitializeEvent event) |
void |
onReload() |
getDataFolder, getDebugLogger, getErrorHandler, getLogger, getPluginLogger, getProxy, getRunnableFactory, getTimings, getVersion, registerCommand, registerListener, reloadPlugin, setDebugLoggers, setErrorHandlers, setReloading
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataFolder, isSystemEnabled
@Inject public PlanVelocity(com.velocitypowered.api.proxy.ProxyServer proxy, org.slf4j.Logger slf4jLogger, java.nio.file.Path dataFolderPath)
public void onProxyStart(com.velocitypowered.api.event.proxy.ProxyInitializeEvent event)
public void onProxyShutdown(com.velocitypowered.api.event.proxy.ProxyShutdownEvent event)
public void onEnable()
onEnable
in interface com.djrapitops.plugin.IPlugin
public void onDisable()
onDisable
in interface com.djrapitops.plugin.IPlugin
onDisable
in class com.djrapitops.plugin.VelocityPlugin
public void onReload()
onReload
in interface com.djrapitops.plugin.IPlugin
onReload
in class com.djrapitops.plugin.VelocityPlugin
public java.io.InputStream getResource(java.lang.String resource)
getResource
in interface PlanPlugin
public com.djrapitops.plugin.command.ColorScheme getColorScheme()
getColorScheme
in interface PlanPlugin
public PlanSystem getSystem()
getSystem
in interface PlanPlugin
public boolean isReloading()
isReloading
in interface PlanPlugin
isReloading
in interface com.djrapitops.plugin.IPlugin
isReloading
in class com.djrapitops.plugin.VelocityPlugin