Class VelocitySensor

  • All Implemented Interfaces:
    ServerSensor<java.lang.Object>

    @Singleton
    public class VelocitySensor
    extends java.lang.Object
    implements ServerSensor<java.lang.Object>
    • Constructor Detail

      • VelocitySensor

        @Inject
        public VelocitySensor​(PlanVelocity plugin)
    • Method Detail

      • supportsDirectTPS

        public boolean supportsDirectTPS()
        Description copied from interface: ServerSensor
        Check if server platform provides TPS calculation.
        Specified by:
        supportsDirectTPS in interface ServerSensor<java.lang.Object>
        Returns:
        false if the server doesn't count TPS.