This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
What is the enhancement in mind? How should it look and feel?The current TPS monitor with this syntax in config:#Meters your TPS, if it goes to low, run the commands you wrote below!tps-meter: enabled: false interval: 15 tps-trigger: 14.0 commands: - 'msg Person TESTING'
I was going to use this to run restarts on my server during a low TPS time, because they are rare and it would make it easier just to restart when a memory leak had occurred (most common cause of any tps issues currently for me)So I ran the testing command to msg myself each time the TPS trigger was below 19.9 ( should be constantly messaging for anything less than 19.9 was my assumption based on interval:15) I assumed i would get a new message every 15 seconds. What I found was, sometimes it would be as few as 3 seconds and as many as 50? So I'm not sure what interval does anymore, as I changed it, to higher and lower numbers and saw no actual results.
But anyways,I would like to see a IF TPS DROPS BELOW # then do this, and add a DELAY option, with options to add multiple commands between delay (some form of timer)so I could deliever msg like soServer restart in 5mServer restart in 1minthen count down from 10 seconds or something of the sort.Then issue restart command.I see the command part is already implemented, but here is the catch, I need these commands to ISSUE ONCE! And the delay function. As if you lets say droped below # more than once, before restart, then it would reset the timer rotation of the command list.
Thanks, and I really hope you choose to implement this, it would do away with a lot of the timed restart servers and I think added more serious flexibility to this plugins lag prevention! (it wouldn't have to have a command for restart, I can call the built in bukkit one in a command call)
Well it should run every 15 seconds - if not then your clearlag config might be messed up. Also, if you have a low TPS the timer will be delayed as it's sync to the main thread
@bob7l: Go
I agree that is what I believed Interval SHOULD be, but it was not, and I removed config and reloaded clearlagg. With 19.9TPS being set as the threashold and holding solid 19s I should get more than 1 warning per minute. And then some would come through within seconds (less than 15)
To post a comment, please login or register a new account.