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
If you guys cant disable them can you atleast make the lag and mem info at the very bottom.
Currently its Lag + + + + entities a a a a chunks a a a a mem + + + +
can you do:
entities a a a a chunks a a a a lag + + + + mem + + + +
A server with 10 + worlds makes it very hard to get quick outputs... you need to scroll through chat to find the lag tps.
Doing it the above way would ensure lag and mem are at the bottom and immediately available after running the /lagmem command. Please consider.
The entities and chunks in lagmem command... disabling them still doesnt work in config. I select false and nothing; there is no way to get rid of that info.....
Im using your very latest dev build from your jenkins.
@JoneKone
There is not. It is late here, but if you submit a ticket I'll add it tomorrow and it'll be available in a jenkins build. :)
Is there a way to get Entity Counts to the log file?
@PAL18
Well, it likely will as the almost all of methods that LagMeter uses from bukkit are the very core ones that, if changed, would break every plugin in existance.
For this reason, it's almost impossible to break LagMeter, and it should almost always work with a new build, but I won't rebuild it until a recommended build.
Does this work in 1.4.2 ?
@TheLunarFrog
Ahhhhh forgot about Vault. Thanks man, I highly appreciate it.
@GuildMasterLelo
1. Do you have Vault? It should be op-only if not, but even then... 2. Check to make sure you're not negating your own permissions, maybe?
I keep getting an error message saying "Sorry, permission lagmeter.command.lag was denied" for some odd reason. I have all the permission nodes.
@lastrachris
Ticks per second is the amount of server 'ticks' occur in one second, maximum being 20. Every tick, the server handles things such as plugin tasks, block breaks, player movement, etc.. If the tps drops, then less things get accomplished per second; therefore, a higher value is preferred.
Excuse my ignorance, but could someone please explain ticks per second? Is the more better or is less better?
@deaddude22
It should say when you use the command, but it's memory free.
@HeavenMc
Well when at 4TPS your server is probably full on memory too making it take time for it to show up on your screen either that or i would just re-install the plugin and keep the default settings like i do.
Bit of a dumb question but when you do /mem does
[
#
#
_] 1281.0MB/1915.0MB (66%) is it free or in use?
Yeah, I know that ;) But when i stay 10 minutes at 4 TPS and no warnings will show up, than I don't know, what's wrong :P
@HeavenMc
It works for me when I use it the way it is documented. If you cannot set up the configuration correctly as the documentation states, I will not help you. You do know that it only works when the tps/mem free drops below the threshold, right?
The lag notification still not work ... ;)
Are you testing your Plugins? With which config does it work for you? I tried so many things ;)
@GoldcraftPVP
Sorry, but DemmyDemon probably doesn't check this page anymore, as he has abandoned the project and I picked it up from him. If you want to reach him, you might want to consider sending him a PM.
You need to bring KonseptGate back.
@TheLunarFrog
ticket created