Constructor and Description |
---|
PluginData(Object pluginInstance,
com.velocitypowered.api.proxy.ProxyServer server,
org.slf4j.Logger logger)
Creates a plugin data
|
Modifier and Type | Method and Description |
---|---|
Path |
getDataFolder() |
org.slf4j.Logger |
getLogger() |
Object |
getPluginInstance() |
com.google.gson.JsonObject |
getSent(com.google.gson.JsonArray customCharts) |
com.velocitypowered.api.proxy.ProxyServer |
getServer() |
public PluginData(Object pluginInstance, com.velocitypowered.api.proxy.ProxyServer server, org.slf4j.Logger logger)
pluginInstance
- plugin instanceserver
- server instancelogger
- plugin loggerpublic com.google.gson.JsonObject getSent(com.google.gson.JsonArray customCharts)
public com.velocitypowered.api.proxy.ProxyServer getServer()
public org.slf4j.Logger getLogger()
public Object getPluginInstance()
public Path getDataFolder()
Copyright © 2020. All rights reserved.