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
LagMeter 1.9.3: Review By: UltiByteLagMeter 0.1: Review By: BrandonHopkins
LagMeter 0.1: Review By: ValBGaming
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.
Jenkins: latest builds
Stable
Version: 1.17.0
Build date: 3 March 2016
BukkitDev Download: Latest Build
Javadocs
Version: 1.15.0
Build date: 23 November 2013
Dropbox Download (zipped; standard doclet)
Source Code
GitHub: TheLunarFrog's SourceGitHub: Original Source by DemmyDemon (v.0.4)
Bugs and Feature Requests
Bug reports & Feature RequestsFeatures
- 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
@Godworld
Yeah, I did. Sorry. If you're using 1.5, it says 1.4. Either way, it's still 1.5.
@XeonG8
If you want to make a suggestion, post it in a ticket. If you want LogBlock to do something, tell them, not me. Us developers don't have psychic powers where we can magically communicate and just say "your plugin should have __".
You forgot you change your version? Lagmeter 1.5 jar is loading as lagmeter 1.4 at the server startup.
@xcanner
Likely a plugin conflict, then. I'll be refactoring the code for that soon-ish, once Bukkit updates (hopefully).
Still getting 0 players with LagMeter 1.4 for CB 1.0.1-R1
Isn't there any way, how to log TPS to rrd db instead of log file? I'm log gin various stuff into rrd and then making nice graphs from it and it would be really cool to have a graph with count of online players and TPS.
Maybe custom command for logging like
@sharkale31
That doesn't work. That just throws a TargetInvocationException.
@andrewkm
I do not. Sorry.
Would you happen to have some sort of jenkins for this plugin ?
@TheLunarFrog
yes lagmeter 1.2 and cb 1597 im not idiot
edit: you should use this after lagMeterLogger init
and no
you should use plugin instance
@TheLunarFrog
Thanks!
@TheLunarFrog
im running as admin, yes, is it maybe nolagg?
@sharkale31
Hmm.. Are you using the latest version (1.2)? Verify this and make sure it's not like 1.0 because I implemented it into that version but it was broken and always logged 0. You can verify by reloading the plugin - it'll say in the console, in the plugin's tag (i.e. [LagMeter 1.2] SEVERE: A wild mudkip appeared!).
@TheLunarFrog
no. is not related to time. log players = 0 always. check that. lag and mem works fine, the log for lag too but players log always 0
@minecraftyord
Hmm... Running as administrator? I really don't know what could cause that.
@sharkale31
Works fine for me. Any plugins that mess with time?
player log dont work, always log players: 0
@TheLunarFrog
the only error lagmeter gives is when i start up the server
2011-12-25 14:31:06 [SEVERE] [LagMeter 1.2] Old permissions system detected. Using it.
I removed the configuration file, updated and let it create a new one -> same issue
@minecraftyord
Hmm, strange. Is there a stack trace which pertains to LagMeter in your Server.log file?
Also, have you tried with a clean configuration file?
@TheLunarFrog
I waited like 10 hours before the server went down... No, I don't use a time modifier
@doggyroc
It's supposed to. I will change "SEVERE" to "INFO", however.
@LeonPhilips
Can't do. Can't tell how much memory is being used by one plugin.
@minecraftyord
Have you actually waited a while for it to start polling? Do you have a stack trace pertaining to this? Do you use any plugins which alter time (change length of days/nights), i.e. ProperTime, or automatically set it to day, etc.?
@andune
Sure! Thanks for the suggestion, and sorry it took so long - I was working on another plugin.
When i have PEx installed when all the plugins are starting when lagmeter starts up it says: [Severe] [LagMeter 1.2] Old permissions system detected. Using it
Hello! I am using this plugin for a while, but is it possible to let this plugin tell you
wich plugins are "Lagging" the server ? ( In order to change that afterwards)
here is an Example (how i imagined it)
Player: /lag
Server: {ticks}
Player: lagmem
Server: {memory}
Server: The plugin called {plugin (the plugin wich is producing the most lagg) } is using {memory (Displayed in%) }
Player: Fuck, Deinstall that plugin dude you dont need it at all!