Reference

TPS Below Threshold

Starts a run when the server's TPS falls below a threshold.

Category
Trigger
Topics
Scheduler ยท Performance
01

Ports

TPS Below Thresholdtrigger
  • Thresholdnumber
  • Cooldownnumber
  • onCompletecontrol
  • Current TPSnumber
Ports Control Data
Data types string number bool

Strings accept any data input.
Numbers accept boolean input.

02

Fields

Field What it does Default Limits
TPS threshold The block fires when TPS is below this value. 14 An empty field uses 14 TPS.
Cooldown (seconds) The shortest time between two firings of this block. 300 0 s or more. A negative or empty value uses 300 s.
03

What a run does

While the server runs, Konnekt takes a stats snapshot every 10 seconds.
If the snapshot's TPS is below TPS threshold and the cooldown has passed, the block fires.
The run leaves by onComplete, and Current TPS carries that snapshot's value.

The server's TPS comes from RCON, polled every 15 seconds, and is capped at 20.
Without RCON it is estimated from the server's Can't keep up warnings.

A long dip fires again each time the cooldown passes.
A value wired into Threshold or Cooldown is not read.

It fires only for the server the graph belongs to.