public class SpongePingCounter
extends com.djrapitops.plugin.task.AbsRunnable
Constructor and Description |
---|
SpongePingCounter(PlanConfig config,
DBSystem dbSystem,
ServerInfo serverInfo,
com.djrapitops.plugin.task.RunnableFactory runnableFactory) |
Modifier and Type | Method and Description |
---|---|
void |
addPlayer(org.spongepowered.api.entity.living.player.Player player) |
void |
clear() |
void |
onPlayerJoin(org.spongepowered.api.event.network.ClientConnectionEvent.Join joinEvent) |
void |
onPlayerQuit(org.spongepowered.api.event.network.ClientConnectionEvent.Disconnect quitEvent) |
void |
removePlayer(org.spongepowered.api.entity.living.player.Player player) |
void |
run() |
@Inject public SpongePingCounter(PlanConfig config, DBSystem dbSystem, ServerInfo serverInfo, com.djrapitops.plugin.task.RunnableFactory runnableFactory)
public void run()
public void addPlayer(org.spongepowered.api.entity.living.player.Player player)
public void removePlayer(org.spongepowered.api.entity.living.player.Player player)
public void onPlayerJoin(org.spongepowered.api.event.network.ClientConnectionEvent.Join joinEvent)
public void onPlayerQuit(org.spongepowered.api.event.network.ClientConnectionEvent.Disconnect quitEvent)
public void clear()