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
@ha11oga11o
There is a way, but to be honest, I don't remember how. I've not worked with LagMeter's code in a while now. There should be some documentation if you click "Pages" at the top of this page. If not, well, I'm on a phone about to leave for school, so I'll respond again later.
@TheLunarFrog
Oke, i did it that way. I have this when i start server, is this fine or not?
http://pastebin.com/xn6A0Eps
This is cfg:
http://pastebin.com/Ctx8STdq
Any chance to delay it, at least for the start? Its not mandatory, but could be feature.
Thank you, for mine aspect it works, it clearly says it clean entities and i think it will work fine during regular work hours. But what that
"[INFO] package main.java.com.webkonsept.minecraft.lagmeter.exceptionsInvalidTimeFormatException: The time "/nolagg clear" is invalid and couldn't be parsed."
means? Is it OK or not?
Cheers :)
@ha11oga11o
Try "ConsoleCommand: /lag;/nolagg clear"
How to use multiple commands on this?
Specify a command to use when the plugin notices that the TPS is low. Must be usable from console.
Default: /lag
"ConsoleCommand: /lag"
is it like
"ConsoleCommand: /lag /nolagg clear "
or something similar? Ehm, can it do at all?
Thanks
I am currently working to finish up things unrelated to BukkitDev, and will update my plugins on BukkitDev when I am finished. I will be updating my plugins in order of FrogAnnounce, then LagMeter, then FrogBox. FrogAnnounce is first because it has few updates to go before it is ready, while LagMeter requires some more work.
Thanks for your patience.
@TWSSYesterday
Yes, I know. I posted "I will update when stable" when Minecraft had a bit of a fit over changing versions just as Bukkit had; now, I'm just pushing out a couple of final updates, then I'll release a new version.
Just some fixes, really. But better now than next month or two, since LagMeter doesn't really need many updates.
@MGbeenieboy
I thought the same when I took over the plugin from DemmyDemon. However, there are already elements of the API (which, silly enough, I created) which return certain values, etc. and people are used to the way it is now. For this reason, I won't change it. Maybe configurably in the future.
@TheLunarFrog
wouldn't it be better to do the opposite? The green bar should show how much is in use :D
@MGbeenieboy
Well, reading skills say that 5,149 MB of RAM is free, while the picture shows that the server has a total of 5,777 MB of RAM. That means that 628 MB is being used.
@the picture at the top Is 5000 MB RAM in use? or is it what is free, i'm irritated
@Bodyash
Waiting for Bukkit to be stable.
@LB1
Thought about it, but decided against it. Sorry.
Any updates?
You should add a command to toggle a live-updating lagometer on the right side of the screen using the scoreboard stuff. I would find this very useful.
@Finelarme2
At this time, there is no way to configure the colour of the console messages.
Hi. Thanks for this plugin. Where can i change the color "green/olive" of the words "Lag metter" in the console craftbukkit when it load ?
@MGbeenieboy
20 tps - good
17 tps - 50\50
10 tps - bad
1 tps - Server is going to die.
10 TPS = good 20 TPS = bad right? and <10 TPS?
@Anonymous777
You're using the old format. You don't use {<>} to separate time values from the commands anymore, it's just <>
Change that and it'll fix your problem.
Hey! lagmeter works for me at 1.6.2 bukkit dev build. but its post a error on startup
what means this? :/
@kriso99
It works as-is... If you find an issue with it, report it as a bug on my tickets page. Many plugins don't need to update when bukkit does. Mine is one.