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
Just perfect! Thank you.
@noxturno
Are you sure your server recognizes the memory you have allocated to it? It uses Bukkit's methods to get your max ram.
@stgram
I'll look into adding something similar to this in the near future.
@sharkale31
Can I ask what you use to get that?
Hi, wonderful plugin, but can you please add a /broadcost/ function? One setting, every 30sec maybe, configurable, when to send a broadcast with the /lag command, and one setting, which says whether to msg whenever the tps drops bellow 15, so everyone knows. :)
my server has 12288MB ram allocated but the plugin only shows 10922MB how come?
could you add to the log the number of entities, players and loaded chunks all per world and ram usage ;] ? it would be very helpful
Love the choice of license. :) Thx for the software.
I have a suggestion. When you get to a low ammount of RAM free (maybe configurable), it will warn you through chat.
Implemented a new feature which allows for use of a logs folder inside the LagMeter data folder (where you put the configuration for LagMeter). This will make LagMeter use a new file daily, but beware it is still somewhat experimental, so if you run a server from day 1 to day 2 and it's still online on day 2, it might log in day 1's file.
I'll be uploading this version soon.
Amazing :)
@Jenssss91
Anything that would help me make something like that would be much appreciated
Thanks for making and sharing this plugin. I have LagMeter 1.8 installed on a CraftBukkit 1.2.5-R1.0 server (Ubuntu Server 10.04, 64-bit) and it works great.
LHammonds
@hGabbeh
i will ask the other author, if we could share this plugin for munin.
@Jenssss91
Any chance I could have look at the source on that?
@Sadragos
I just use a cron job script to copy off the log to another directory and then let the lagmeter repopulate a new log.
Is it possible to limit the Log somehow? Anything like keep the log of the last 24 hours or 7 days? Would be a really great feature I think :) Its already a great Plugin already, but that would make it even better for me :)
@MontegroDK
It already is. There is a new feature, but I prefer to wait until a RB for 1.2.4 is released to release the new jar.
Any word on when the plugin will become compatible with 1.2.4, or is it already compatible?
@iVMoRiginal
try to use munin for that.
you just have to write a php plugin.
like this:
@Jobsti2
I'll look into adding that. I dunno if there's a way to count mobs in the world, though.
@iVMoRiginal
In order to add an average, I'd need to make a huge memory section to store all the data for the previous 24h, then have it erase old data. This would end up in a huge memory leak, probably.
As for the web interface, I don't have enough time for that. Sorry.