Class BungeePingCounter

java.lang.Object
net.playeranalytics.plugin.scheduling.PluginRunnable
com.djrapitops.plan.TaskSystem.Task
com.djrapitops.plan.gathering.timed.BungeePingCounter
All Implemented Interfaces:
Runnable, net.md_5.bungee.api.plugin.Listener

@Singleton public class BungeePingCounter extends TaskSystem.Task implements net.md_5.bungee.api.plugin.Listener
Task that handles player ping calculation on Bungee based servers.
  • Constructor Details

    • BungeePingCounter

      @Inject public BungeePingCounter(net.playeranalytics.plugin.server.Listeners listeners, PlanConfig config, DBSystem dbSystem, ServerInfo serverInfo)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • register

      public void register(net.playeranalytics.plugin.scheduling.RunnableFactory runnableFactory)
      Specified by:
      register in class TaskSystem.Task
    • addPlayer

      public void addPlayer(UUID uuid)
    • removePlayer

      public void removePlayer(net.md_5.bungee.api.connection.ProxiedPlayer player)
    • onPlayerJoin

      public void onPlayerJoin(net.md_5.bungee.api.event.ServerConnectedEvent joinEvent)
    • onPlayerQuit

      public void onPlayerQuit(net.md_5.bungee.api.event.ServerDisconnectEvent quitEvent)
    • clear

      public void clear()