Calculates server tick rate based on SetTime packet. You can display TPS by using scripting and Status Overlay. Use method tps.get() → float.
Example 1. Display TPS with 1 decimal:
Example 2. Display TPS in different colors with 2 decimals: