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
@xjomo
I'll look into adding something like this. Thanks for the suggestion.
@noxturno
It should, yes.
I really love the plugin!
How about an alert mode? Like you get a message when the TPS or memory value is under the configured alert value.
"ALERT: TPS is less then 18 TPS!"
that would be a very nice feature :)
(sry if my english sucks)
@nhoclesnar
quick question does the memory you get when you do /mem ingame also counts the memory used by plugins? or it removes that memory that your plugins use ? so it shows you less memory
Sorry to hear of your loss Lunar. Take it easy bro, the plugin is awesome "as is", and we can wait for any future additions.
@TheLunarFrog
Thanks, that worked, but is there also a way to make /lm work instead of just /lagmem ? Thanks for the response tough
Hi guys. A family member of mine has died recently and I will not be developing new features for at least a short while. I will, however, continue to maintain it; though, this means no new features for a while.
@nhoclesnar
Thanks for explaining that to them.
@flyingtacoz
I've been seeing some issues with that lately. I've made changes already and plan to commit a couple aliases for those next version. In the meantime, are you sure you've not messed with the plugin.yml inside the .jar?
@joshh20
Yup. Open LagMeter.jar in 7Zip or something similar, extract the file called "plugin.yml". After that, open that file, then find the commands section. For whatever commands you want, change the "default" node. Applicable options are: true, op, and false. True makes everyone have it, while op makes only OPs have it. False will make it so that no-one will get that command normally and there's probably a way to get it like via permissions. After editing, put it back where you found it inside the .jar. If this is unclear, I will try to explain in a different way.
Is there a way to allow players that dont have op to use LagMeter without installing some sort of permissions plugin, I really would like that feature, but I'm not sure if it exists or not. Also, you probably wouldn't want to implement this, and it might not even be possible, but is there a way to test the internet speed of the server that LagMeter is running on. The reason I ask is because on my dedicated server, I'm not sure if the company is being completely honest with me about the actual speed of their connection. Any response is appreciated, thanks - Josh :)
@MarioG1
For network load, essential or other similar plugins have a '/ping' command that will give back a 'pong' message.
Is it possible to show the network load?
This would be a nice feature.
/lagmem or /lm does not work at all. Says Unknown command, /lag and /mem works fine though.
EDIT: Oops did not put the plugin in the plugins folder -.-, so /lag and /mem was from a different plugin I had, sorry for my stupidity. =)
@noxturno
Of course it doesn't match. You can try with all plugins and you will find none giving you the same RAM as the server host promised. This is due to multicraft dedicating some RAM to itself. This plugin is accurate.
@rebel24
-,- if NoLagg is causing troubles to you then report the bugs. Just don't plainly say 'nolagg plugin only causes issues anyway' without evidence.
so I been using this pluging for a while now but now for some reason I dont think its acurate atm atleast the memory it doesnt show the correct about of memory alocated to my server on multicraft is there anything I may of done wrong? also i got 30 people on the server atm and the server its only at 80% memory free, either my server its so good or its wrong xD . ps the memory usage on the multicraft does not match with the one I get from doing /mem ingame
@TheLunarFrog
Sucks :/ And as ferrybig said about nolagg... The nolagg plugin only causes issues anyway :/
@Blocker226
Use /lagmem or /lm? I'll make an alias for it next version. Thanks for notifying me of the collision.
@ferrybig
Yes, but that just watches plugins and all the events and sees what's going on - it uses reflection, probably, to see what's going on.
@TheLunarFrog
you ever heard of /nolagg examine if you have nolagg? that will analize what plugin is doing bad
The /mem command clashes with AdminCmd's /mem command. I want to use AdminCmd's /mem as it has a flag to kill entities and stuff like that.
@metalmatt13
It means what it says. 750MB free.
Nice plugin. Really simple and works just great, but I have one question.
When it says, for example "750MB/1000MB (75%) free", does that mean 750MB is being used? or 750MB is free?
@rebel24
Unfortunately, you'd have to do the math one plugin at a time, manually. Bukkit does not currently support such a feature.
Actually, when you use the /mem, /lagmem, or /lm commands, the memory values you see are obtained by using methods that are in the Java language itself, but not in Bukkit. Bukkit can't gauge a single plugin's performace - though, I do wish this were possible.
Is there a way to notify the server owner that one plugin is draining the ticks or memory?