Package com.djrapitops.plan.gathering
Class BungeeSensor
java.lang.Object
com.djrapitops.plan.gathering.BungeeSensor
- All Implemented Interfaces:
ServerSensor<Object>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanCheck if server platform provides TPS calculation.booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.djrapitops.plan.gathering.ServerSensor
getChunkCount, getEntityCount, getMspt, getTPS, getWorlds, isBanned, supportsBans
-
Constructor Details
-
BungeeSensor
-
-
Method Details
-
supportsDirectTPS
public boolean supportsDirectTPS()Description copied from interface:ServerSensorCheck if server platform provides TPS calculation.- Specified by:
supportsDirectTPSin interfaceServerSensor<Object>- Returns:
- false if the server doesn't count TPS.
-
getOnlinePlayerCount
public int getOnlinePlayerCount()- Specified by:
getOnlinePlayerCountin interfaceServerSensor<Object>
-
getOnlinePlayerNames
- Specified by:
getOnlinePlayerNamesin interfaceServerSensor<Object>
-
usingRedisBungee
public boolean usingRedisBungee()- Specified by:
usingRedisBungeein interfaceServerSensor<Object>
-
getInstalledPlugins
- Specified by:
getInstalledPluginsin interfaceServerSensor<Object>
-