# Uses of Class
net.md_5.bungee.api.ServerPing

Packages that use ServerPing
Package
Description
net.md_5.bungee.api.config
net.md_5.bungee.api.event

- ## Uses of ServerPing in net.md_5.bungee.api.config

  Method parameters in net.md_5.bungee.api.config with type arguments of type ServerPing
  Modifier and Type
  Method
  Description
  `void`
  ServerInfo.`ping(Callback<ServerPing> callback)`
  Asynchronously gets the current player count on this server.

- ## Uses of ServerPing in net.md_5.bungee.api.event

  Methods in net.md_5.bungee.api.event that return ServerPing
  Modifier and Type
  Method
  Description
  `ServerPing`
  ProxyPingEvent.`getResponse()`
  The data to respond with.
  Methods in net.md_5.bungee.api.event with parameters of type ServerPing
  Modifier and Type
  Method
  Description
  `void`
  ProxyPingEvent.`setResponse(ServerPing response)`
  The data to respond with.
  Constructors in net.md_5.bungee.api.event with parameters of type ServerPing
  Modifier
  Constructor
  Description
  ``
  `ProxyPingEvent(PendingConnection connection, ServerPing response, Callback<ProxyPingEvent> done)`