@Singleton
public class PingCountTimerVelocity
extends com.djrapitops.plugin.task.AbsRunnable
Based on PingCountTimerBungee
Constructor and Description |
---|
PingCountTimerVelocity(PlanVelocity plugin,
PlanConfig config,
DBSystem dbSystem,
ServerInfo serverInfo,
com.djrapitops.plugin.task.RunnableFactory runnableFactory) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
onPlayerJoin(com.velocitypowered.api.event.player.ServerConnectedEvent joinEvent) |
void |
onPlayerQuit(com.velocitypowered.api.event.connection.DisconnectEvent quitEvent) |
void |
removePlayer(com.velocitypowered.api.proxy.Player player) |
void |
run() |
@Inject public PingCountTimerVelocity(PlanVelocity plugin, PlanConfig config, DBSystem dbSystem, ServerInfo serverInfo, com.djrapitops.plugin.task.RunnableFactory runnableFactory)
public void run()
public void removePlayer(com.velocitypowered.api.proxy.Player player)
public void onPlayerJoin(com.velocitypowered.api.event.player.ServerConnectedEvent joinEvent)
public void onPlayerQuit(com.velocitypowered.api.event.connection.DisconnectEvent quitEvent)
public void clear()