Add current tick information to the server-status

This commit is contained in:
Marc Di Luzio 2020-07-07 18:40:38 +01:00
parent 1412579c6c
commit 3ba7652c74
5 changed files with 85 additions and 64 deletions

View file

@ -175,7 +175,8 @@ func InnerMain(command string, args ...string) error {
default:
fmt.Printf("Ready: %t\n", response.Ready)
fmt.Printf("Version: %s\n", response.Version)
fmt.Printf("Tick: %d\n", response.Tick)
fmt.Printf("Tick Rate: %d\n", response.TickRate)
fmt.Printf("Current Tick: %d\n", response.CurrentTick)
fmt.Printf("Next Tick: %s\n", response.NextTick)
}