DiscordIntegration

DiscordIntegration

3M Downloads

Colored !tps response

MiraWaNeko opened this issue ยท 0 comments

commented

Make each line in the !tps response have a color depending on the TPS.

Green = 20 TPS
Yellow = >=15 && <20 TPS
Red = <15 TPS

Something like (result looks different in Discord)

+ Dim -1 Nether    : Mean tick time:   0.032 ms. Mean TPS: 20.000
! Dim  0 Overworld : Mean tick time:   0.034 ms. Mean TPS: 18.000
- Dim  1 The End   : Mean tick time:   0.008 ms. Mean TPS: 12.000
+ Overall          : Mean tick time:   0.082 ms. Mean TPS: 20.000