@Singleton
public class BungeePingCounter
extends com.djrapitops.plugin.task.AbsRunnable
implements net.md_5.bungee.api.plugin.Listener
Constructor and Description |
---|
BungeePingCounter(PlanConfig config,
DBSystem dbSystem,
ServerInfo serverInfo,
com.djrapitops.plugin.task.RunnableFactory runnableFactory) |
Modifier and Type | Method and Description |
---|---|
void |
addPlayer(net.md_5.bungee.api.connection.ProxiedPlayer player) |
void |
clear() |
void |
onPlayerJoin(net.md_5.bungee.api.event.ServerConnectedEvent joinEvent) |
void |
onPlayerQuit(net.md_5.bungee.api.event.ServerDisconnectEvent quitEvent) |
void |
removePlayer(net.md_5.bungee.api.connection.ProxiedPlayer player) |
void |
run() |
@Inject public BungeePingCounter(PlanConfig config, DBSystem dbSystem, ServerInfo serverInfo, com.djrapitops.plugin.task.RunnableFactory runnableFactory)
public void run()
run
in interface java.lang.Runnable
public void addPlayer(net.md_5.bungee.api.connection.ProxiedPlayer player)
public void removePlayer(net.md_5.bungee.api.connection.ProxiedPlayer player)
public void onPlayerJoin(net.md_5.bungee.api.event.ServerConnectedEvent joinEvent)
public void onPlayerQuit(net.md_5.bungee.api.event.ServerDisconnectEvent quitEvent)
public void clear()