Lets you check the server lag, in ticks-per-second.
Bukkit version does not matter for this plugin.
DescriptionA 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 ReviewsLagMeter 1.9.3: Review By: UltiByte
LagMeter 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.
DownloadCI/build (Jenkins) server
You 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
Build date: 3 March 2016
BukkitDev Download: Latest Build
Build date: 23 November 2013
Dropbox Download (zipped; standard doclet)
Source CodeGitHub: TheLunarFrog's Source
GitHub: Original Source by DemmyDemon (v.0.4)
Bugs and Feature RequestsBug reports & Feature Requests
- 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.
Change LogChange Log
Commands & PermissionsCommands & Permissions
[####################] 20.0 TPS
...or if your server isn't doing so hot...
[##########__________] 10.0 TPS
does not work on 1.9 Spigot.
If it says something like 5191.64 MB /5986.50 MB(86.72%) free that means that 5191.64MB is free, which is 86% of your RAM allocated to the server
When I do /lag it tells me I'm using 5.191,64MB of 5.986,50MB and that 86,72% are free. I'm no expert, but I would say 86,72% are used not free. :/
But it's still a awesome plugin, love it :)
What issues?? This plugin works fine on mine tiny server for like ages without any problems. Are you sure its not problem somewhere else? Some plugins are not broken on bukkit major update, just like this one.
last build 2013, I think that explains a lot of issues with the plugin!
This is a useful plugin, unfortunately it killed our server on average every 20 mins or more, even though a lot of the checking etc was reduced. We basically wanted an automatc notification if lagg dropped. It didn't ,but was incompatible with spigot 1.8 for some reason.
20 plugins is actually a fairly high amount - you can get more space by purchasing a physical stick of RAM and inserting it into your computer. Alternatively, if the server allows you to allocate more space (i.e. you're not maxing out the server's RAM already), google "how to set jvm heap size for bukkit" and you should be able to figure it out.
By using this plugin i have noticed that 80% of my server memory is being used. I have only 20 plugins. How can i get more space? Is it something about the ram or does my computer not have enough space? Thanks
I will look at this idea when I have time. With fall semester coming soon at a new university and my actual software development job, I don't have a ton of time for features anymore.
I will look into this, though I'm sure I already know what's happening.
Had an error:
5:58:47 AM CONSOLE: WARN]: Exception in thread "Thread-27"
5:58:47 AM CONSOLE: WARN]: java.util.ConcurrentModificationException
5:58:48 AM CONSOLE: WARN]: at java.util.LinkedList$ListItr.checkForComodification(Unknown Source)
5:58:48 AM CONSOLE: WARN]: at java.util.LinkedList$ListItr.next(Unknown Source)
5:58:48 AM CONSOLE: WARN]: at com.webkonsept.minecraft.lagmeter.LagMeterStack.getAverage(LagMeterStack.java:27)
5:58:48 AM CONSOLE: WARN]: at com.webkonsept.minecraft.lagmeter.LagMeter.getTPS(LagMeter.java:430)
5:58:48 AM CONSOLE: WARN]: at com.webkonsept.minecraft.lagmeter.LagWatcher.run(LagWatcher.java:13)
Could you make the lag log output configurable to a csv or other option so the data can be used easier.
is it possible to set 2 commands?
ConsoleCommand: /lag, /save-all
Somehow my jar got corrupted when I downloaded it, its fixed now,
You have the jar in your plugins folder twice. The plugin works fine.
Doesn't seem to work with 1.7.5 http://pastebin.com/zMFjkJrV
Sorry for the really late reply. I intended to reply when I saw your message a few hours after it was posted, but was on a phone and then forgot.
That could be caused by a junky network adapter, or perhaps your access point is dying. If you're using wireless, it could be that your router/WAP stops broadcasting intermittently, then turns back on; likewise, your modem, regardless of what you're using (wireless or wired) could be faulty.
It sounds more like an issue that your connection drops suddenly, then picks back up than it being a constant issue with your connection to the Internet; however, this is just my opinion of what it could be - don't take this as a professional opinion, I'm not a networking guy, I just do programming (I'm not taking many networking classes in college).
I ran it in game so it pinged my IP. Thank you for respond by the way. Anyway, my server's TPS is 20 with 80% free ram. Other players don't lag to the extend that I do..so I'm pretty positive that the server isn't lagging..it's my connection or my internet being crap. So, just wondering but d you think it's my internet or ..? Really doesn't have anything to do with the plugin but meh might as well ask. I also lag out a TON with Internet Exception.netty something error.
In follow-up from my previous comment, it appears that LagMeter will ping the player who runs the command from the server, or if run from the console, ping google.com from the server.
For tps, a higher number is better. For ping, however, a lower one is better. Here's a little insight on each: tps is how many times the server performs the actions it needs to per second, up to 20. Ping is how many milliseconds (1/1000 of a second) it takes from the pinging location to its target and back. Anything over 150 is extremely noticeable in most web applications and games.
The Ping feature is, I believe (I haven't modified lagmeters code in a while now), from the server to the player who runs the command. I believe there is a way to configure it to be from the server to a target, but I'm unsure. Unfortunately I have class soon, and will be unable to check for about three hours, but when I get home, I will implement this feature if it doesn't exist yet (as it was planned at some point anyways). In addition, if it does exist and I'm just I'm just losing it, I'll reply with a more in-depth response on how.
Given that your ping is sub-100 though, you should be fine. Try checking your server's tps?