LagMeter
![](http://dev.bukkit.org/thumbman/images/45/120/600x99/logo.png.-m1.png)
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
![http://www.hitbullseye.com/images/download_button_small.jpg](http://www.hitbullseye.com/images/download_button_small.jpg)
Javadocs
Version: 1.15.0
Build date: 23 November 2013
Source Code
Bugs and Feature Requests
![](http://forum.shrapnelgames.com/images/icons/Bug.gif)
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
@TeamCobalt I ignore feature requests that are not tickets.
add this:
hello,
is it possible to implement /reload function into this plugin? To be configurable if server is below 10TPs for 3-4 minutes to trigger /reload ?
And /reload toggle too?
I know its diagnostic plugin, but when its that great so far, is it possible to add this feature too?
many thnx in advance :)
@TipTricky
It looks like you may have negated that permission node (using - -lagmeter.* or similar). This shouldn't happen; every player has access to /lag by default. Using permissions doesn't usually change this. Also, if you're opped, you have access anyways so it looks like you may have configured pex wrong.
Using permissionsex or PEX and i gave my self the permissions to use the lagmeter.* permission and i am unable to type /lag it says permission lagmeter.command.lag was denied did i miss something
@TeamCobalt
What might you mean by this?
automessage support wiht a for loop?
@andrewkm
Works fine for me. Oops, I noted it in the wrong area. It should be at the very top of the file with no spaces grouped with these:
Lagmeter #43 displayEntitiesInLagCmds: false doesnt actually make it false.
bug ^
1.10.0 is out now. Includes functioning lag/mem alerts and entity counts per world (for every world you may have), with a cumulative total. Also one bug fix: setting the log timer now works (with thanks to Southpaw018 for his pull request - I didn't even know this bug existed).
For some reason, when doing /lag or /lm i'm getting [INFO] LagMeter just loaded, please wait for polling. the whole time (using LagMeter 1.9.3 @ CB RB 1.3.2-R1.0)
edit: okay, i've found what was causing it (an update of iChat: v2.60).
I've already informed the developer so i guess its an incompatibility-issue.
@Karnekdo
Your comment is invalid, at least give a reason. Don't try to go around and say derogatory things about random plugins. Deleted.
Why?
Ok. Stood 2 Minutes at 6.0 TPS. no message, no command
Ok, I will set it to 1 and test again ;)
@HeavenMc
Yeah, the interval is the CheckInterval configuration node, and it's minutes. Also, that only triggers when the amount of memory free drops below the amount configured in the Threshold node. So, it would start alerting you at 18% memory.
Yeah, I think so. How long does it take? 10 Minutes?
Lag: Enabled: true Threshold: 18 CheckInterval: 10
@HeavenMc
And you're sure that the server is below your tps threshold in TPS when the plugin checks?
@HeavenMc
Try #40. Should be fixed. The plugin includes one slash already, so if it's a one-slash command (i.e. /butcher), don't include the slash. If it's a two-slash command, such as one of world edit's set or something (not that the console can have a WE selection), include only one.