Package com.djrapitops.plan.gathering
Class VelocitySensor
java.lang.Object
com.djrapitops.plan.gathering.VelocitySensor
- All Implemented Interfaces:
ServerSensor<Object>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
Check if server platform provides TPS calculation.boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.djrapitops.plan.gathering.ServerSensor
getChunkCount, getEntityCount, getTPS, getWorlds
-
Constructor Details
-
VelocitySensor
-
-
Method Details
-
supportsDirectTPS
public boolean supportsDirectTPS()Description copied from interface:ServerSensor
Check if server platform provides TPS calculation.- Specified by:
supportsDirectTPS
in interfaceServerSensor<Object>
- Returns:
- false if the server doesn't count TPS.
-
getOnlinePlayerCount
public int getOnlinePlayerCount()- Specified by:
getOnlinePlayerCount
in interfaceServerSensor<Object>
-
getOnlinePlayerNames
- Specified by:
getOnlinePlayerNames
in interfaceServerSensor<Object>
-
usingRedisBungee
public boolean usingRedisBungee()- Specified by:
usingRedisBungee
in interfaceServerSensor<Object>
-
getInstalledPlugins
- Specified by:
getInstalledPlugins
in interfaceServerSensor<Object>
-