Package com.djrapitops.plan.gathering
Class BungeeSensor
java.lang.Object
com.djrapitops.plan.gathering.BungeeSensor
- All Implemented Interfaces:
ServerSensor<Object>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
Check if server platform provides TPS calculation.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
-
BungeeSensor
-
-
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>
-