LagMeter

Lets you check the server lag, in ticks-per-second.
Bukkit version does not matter for this plugin.
Description
A lot of plugins tell you that something happens "every X seconds, depending on lag." That's because when the server is overworked, there are less than 20 ticks per second. This plugin will measure the number of ticks per second, and output it on your screen as a "Lag Meter." The plugin can also output the amount of memory free, alert those with a specific permission node when the ticks per second or free RAM goes down too far, and even measure the server's ping to google.com.Tutorials and Reviews
Some of them are a little out of date, but you get the idea.
Download
CI/build (Jenkins) serverYou can always pick up the latest compiled version of LagMeter on my CI server. Note that BukkitDev doesn't warrant the safety of these builds, etc, but it's all pulled from GitHub anyways, so you could compile it yourself or look at the commits. Lagmeter is more stable than Lagmeter-bleed.
Stable
Version: 1.17.0
Build date: 3 March 2016

Javadocs
Version: 1.15.0
Build date: 23 November 2013
Source Code
Bugs and Feature Requests

Features
- Simple, minimum-fuzz installation
- Configurable without drowning you in options
- Checks the server performance
- Ability to check the ping between the server and Google.com
- When someone says "GAH! LAG!", you can /lag, and tell them "Dude, it's your computer sucking."
- Supports Bukkit's built-in permissions system, for example via [the official plugin](http://forums.bukkit.org/threads/permissionsbukkit-official-default-groups-plugin-1000.26785/)
- Support for the "old-school" Permissions, as well as PermissionsEX
- Logging of the lag, if you want it.
- Logging of players online, with the above, if wanted.
- Suggestions?
Change Log
Change LogCommands & Permissions
Commands & PermissionsConfiguration Explanation
ConfigurationExample output:
[####################] 20.0 TPS
...or if your server isn't doing so hot...
[##########__________] 10.0 TPS
Hello, recently I've been lagging a TON on my server and a lot on other servers. I installed this plugin (love it, by the way. Great job!) and I did /ping. It says:
[LagMeter] Average response time for the server for 1 ping hop(s) to (insert my IP address here): 78.556
My questions are 1- Is the higher number better or...? 2- Is that a good connection to the server? 3- Little off topic from the plugin but is that mean my connection to the server is bad or do I lag out because of my internet just being bad in general? (my ISP said to check my ping from my ISP to the server. If it's slow connection to the server it's bad but if my connection to my ISP is bad it's my ISP's issue..) ?
@Iwitrag
I can't reproduce this bug in any way, no matter what I try. Care to shed some light on what you're doing, perhaps your configuration?
@Eriatool
Feature already exists. See the configuration page.
Can you add a feature, when the TPS of the server are low, Lagmeter execute a command (/butcher for example)
@Iwitrag
Will check this out.
It shows 0 TPS when using CB 1.7.2 R 0.3 BETA
How to use multiple commands if the server runs low on memory / lower TPS?
Amazing plugin! Works with 1.7 and works like a charm! My server isn't using hardly any ram at all! Brilliant!
@TheLunarFrog
Can you update this to 1.7.2?
1.15.0 uploaded and waiting for approval.
@Crazypeon88
Unfortunately, there isn't a way for me to access that information from the API interface, then display it in a real-time manner. If you type /timings into your server console (I don't remember the full command - try typing /timings then pressing tab and it should tell you), let it run for a while then paste the log it generates here: http://www.aikar.co/timings.php then it'll tell you what's taking the longest to process on your server.
Hey i have a question, will this plugin also see what cause the lagg ? Because im playing on a server that had just a hardware update (i7 CPU, SSD, 32GB ram) but since the update (same time 1.6.4 got released) server got nasty lag/rollbacks of 2 a 3 seconds every 30 seconds. Also server got moved to a different location. (from France to USA)
Is there any way we can find the problem of these laggs/rollbacks ?
Been searching on google for a while now but this looks most promised to me :)
edit: before update server runs smoothly with around 150 players, now with even 1 player online this lag is still here.
Finally got my repository working again after being unable to do a whole ton. Updates are coming soon (really, this time).
@Bodyash
There are updates coming, hopefully soon. I've been working on pushing to LagMeter's repository for a while, but I recently became swamped with coursework for school, so I haven't really had time to do a whole ton.
Any updates?
@TheLunarFrog
No worries thanks for the awesome plugin! I figured out it would probably be percentage since I set it to 400 it would run the command at the first chance it would get lol.
@rlpn
It should be a value based on the percentage of memory free. So it'd be 4 or 5 in your case. Sorry for the confusion.
Hello, for free memory threshold what does the value represent? I set it to 400 thinking it would run the commands if the server went under 400mb free memory but it would run the command at around 9gb's free memory so I believe I'm using it wrong lol.
Thanks in advanced.
@TheOnlyRealTGS
Added.
My server is using this plugin:
Name: Minecraft Simple Gaming
Ip: mcsimplegaming.com
Banner: http://cdn2.planetminecraft.com/files/banner/89119_0.png