@Singleton public class VelocitySensor extends java.lang.Object implements ServerSensor<java.lang.Object>
Constructor and Description |
---|
VelocitySensor(PlanVelocity plugin) |
Modifier and Type | Method and Description |
---|---|
int |
getOnlinePlayerCount() |
boolean |
supportsDirectTPS()
Check if server platform provides TPS calculation.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getChunkCount, getEntityCount, getTPS, getWorlds
@Inject public VelocitySensor(PlanVelocity plugin)
public boolean supportsDirectTPS()
ServerSensor
supportsDirectTPS
in interface ServerSensor<java.lang.Object>
public int getOnlinePlayerCount()
getOnlinePlayerCount
in interface ServerSensor<java.lang.Object>