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
LagMeter just loaded, please wait for polling.
Thats what it says EVERYtime i use /lag. /mem works fine
Thank you for adding the player count as well as posting the source. Much appreciated - great plugin!
@Psithief
It doesn't matter. The purpose for that 'fake' plugin is to act as a net for plugins to fall into when they try to use old Permissions and it re-routes those caught plugins into PermissionsEX. In summary, it says it's using Permissions by TheYeti, but in reality, it's actually using PermissionsEX.
@Jobsti2
That's fixed in the newest version, that marvinej hasn't uploaded yet (I think it's actually fixed in .9 but I don't remember and he didn't update pages when he updated to .9, so..)
@ known issues Why not only using
in the plugin.yml?
Is it the case that PermissionsEx's fake Permissions plugin is being preferred by LagMeter over PermissionEx itself? The startup message is unhelpful.
Knowing there's lag is nice, but that alone isn't actionable. Will you consider logging the # of players online along with the lag level, and doing that every 15 minutes or so? That will help admins figure out how many players their hardware can support so that they can adjust to a level where everybody can have lag-free fun.
Ooh, or even better - what if when lag spikes too high, you temporarily reduce the max players for a couple of hours? You keep reducing the max player count while lag persists, and when it relents, you gradually increase it back. Then admins don't have to do anything, and it just works.
@GameCharmer
haha wish my server would do that lol. it seems like every time i turn around i have a plugin conflict or memory leaks all over the place.
Works great! Running around 50 or so mods and I'm still at 20TPS. :)
@marvinej
If it still wont work for you then i guess your out of luck.
Niiiice!
sorry i'm not willing to spend hours playing with github i hate that thing.
Can you post the recent source codes?
@godgodgodgo
it did work with JRE 7 because i hadn't realized that my IDE was setup to use Java 7. This would be the reason it wasn't working for you.
@godgodgodgo
Hey big deal 17kb is tiny. besides i had to update the jar files that it hooks into which is most likely the cause. bukkit gets bigger and bigger with each build.
@marvinej
The files have gone from half the size of the origional to double the size XD
Ok i reduced the size to 17KB
updated the coding (I missed 1 bracket. seriously) there were no errors or warnings on compilation and I tested it on my servers. EVERYTHING WORKED. If it still wont work for you then i guess your out of luck.
@marvinej
You've added a version that doesn't work?......
Lol yeah I was gonna saw, the plugin was 9.1 KB and now 3 MB :O
Why in the world is the whole bukkit JAR in the /libs folder? It's 3,5MB for such a small plugin!
I have taken over maintenance for this plugin. I will not be adding any features anytime in the near future, but i will keep it up to date as best as i can. As for errors, i am fairly new to java but i'm learning so bear with me.
So is this not being updated and maintained anymore or what?