@Singleton public class BungeeSensor extends java.lang.Object implements ServerSensor<java.lang.Object>
Constructor and Description |
---|
BungeeSensor(PlanBungee 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 BungeeSensor(PlanBungee plugin)
public boolean supportsDirectTPS()
ServerSensor
supportsDirectTPS
in interface ServerSensor<java.lang.Object>
public int getOnlinePlayerCount()
getOnlinePlayerCount
in interface ServerSensor<java.lang.Object>