04-03-2013, 12:05 AM
Good job! Something similar to what I've been planning for quite some time, just never got around to it.
May I suggest a second feature? If a tick takes longer than a configurable threshold (let's say half a second), log that to the server console:
"INFO: Tick took too long: 985 ms instead of 50 ms. Last such overload: 5 ticks ago". That would be quite helpful for me as a developer.
Also, there's a small mistmatch between /tps and /lag commands in the description.
May I suggest a second feature? If a tick takes longer than a configurable threshold (let's say half a second), log that to the server console:
"INFO: Tick took too long: 985 ms instead of 50 ms. Last such overload: 5 ticks ago". That would be quite helpful for me as a developer.
Also, there's a small mistmatch between /tps and /lag commands in the description.