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
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.
Stable
Version: 1.17.0
Build date: 3 March 2016
BukkitDev Download: Latest BuildJavadocs
Version: 1.15.0
Build date: 23 November 2013
Source Code
Bugs and Feature Requests
Features
- 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
-
View User Profile
-
Send Message
Posted Sep 19, 2012@HeavenMc
Yes, but I did say that I have never executed a command from a plugin before. I will try to fix it, but it may take time and lots of googling.
-
View User Profile
-
Send Message
Posted Sep 19, 2012But the command wont execute, too.
-
View User Profile
-
Send Message
Posted Sep 18, 2012@HeavenMc
I'm guessing the reason they sometimes show up is because the interval at which the plugin checks to see if the tps/mem is low is configurable, defaulting to I think 5 minutes for tps, 10 for memory.
-
View User Profile
-
Send Message
Posted Sep 18, 2012@HeavenMc
Some work, some don't work correctly, and some just don't work at all.
That's what a dev build is. You can read above in the main post, it forewarns that they are not always completely tested, or sometimes, tested at all.
If you need it to work, use a recommended build - they're always on this BukkitDev page and I promote them to "recommended" on my jenkins.
@andrewkm
Will attempt to fix when I return from my nephews' elementary school (picking them up).
-
View User Profile
-
Send Message
Posted Sep 18, 2012The dev builds wont work at all.
-
View User Profile
-
Send Message
Posted Sep 17, 2012Build 38 1.10.0 http://www.pastie.org/4743362 This happens when I deleted lagmeter folder... and started server.
Once started again though and turned off logging it stopped.
-
View User Profile
-
Send Message
Posted Sep 17, 2012Build 38 1.10.0 http://pastie.org/4741152
-
View User Profile
-
Send Message
Posted Sep 15, 2012Build #38 Doesnt work with this config, too.
-> http://pastebin.com/1ShrW9aL
Tested with and without slash.
-
View User Profile
-
Send Message
Posted Sep 14, 2012No, the warnings dont show up. And with an slash, the command wont execute, too...
Edit: Okay, sometimes the warning will appear, but no command will be executed... with slash or not... nothing
I dont know, whats wrong with this plugin :( But it doesnt work for me ....
-
View User Profile
-
Send Message
Posted Sep 13, 2012@HeavenMc
Ok, two things...
First: are the low tps warnings showing up? I'm not sure if I tested this.
Second: Try adding a slash to the beginning. I'm not sure if I hardcoded one in. It could easily just be my code, though. I've never forced a command from a plugin before, so I may have failed on that account.
-
View User Profile
-
Send Message
Posted Sep 13, 2012yeah, plugin works, but it doenst execute an command?!
http://pastebin.com/TbbG5Gmp
I think this should execute /butcher world to kill all mobs, when tps reach 17?
Edit: And i get this errors. http://pastebin.com/XhD44H0P
-
View User Profile
-
Send Message
Posted Sep 12, 2012@HeavenMc
I tried fixing it and my test server decided to spam its console until it died. That was a derp moment because I forgot to change something.
Now, after changing that, it's fixed and pushed to github.
-
View User Profile
-
Send Message
Posted Sep 12, 2012Doesnt work, too :( It doenst generate an config. Just an folder
http://pastebin.com/BG5CEkij
Build #36
[INFORMATION] This server is running CraftBukkit version git-Bukkit-1.3.2-R0.1-8-g00e8910-b2364jnks (MC: 1.3.2) (Implementing API version 1.3.2-R0.2-SNAPSHOT)
-
View User Profile
-
Send Message
Posted Sep 11, 2012@HeavenMc
Oops, made Vault a hard depend instead of soft. Hold on.
Edit: or not... dunno what's wrong.
Edit 2: Nevermind, I know what's wrong. Pushing to github, it'll build on jenkins again in 15mins or less.
-
View User Profile
-
Send Message
Posted Sep 11, 2012http://mc.grminecraft.org:8080/jenkins/job/LagMeter/35/
Wont startup
http://pastebin.com/cbsm4DaD
-
View User Profile
-
Send Message
Posted Sep 11, 2012@TheLunarFrog
Let's try that again!
-
View User Profile
-
Send Message
Posted Sep 11, 2012Yea, doesnt work for me.
-
View User Profile
-
Send Message
Posted Sep 10, 2012It's about finished, and I'm about to push to GitHub, which means it should automatically build on my Jenkins server within the next 15-20 minutes. Be warned I have done little QA on this, so it may not work.
In fact, I kind of doubt it to work.
Configs: Notifications: Lag: Enabled: true Threshold: 17 CheckInterval: 5 ConsoleCommand: lag Memory: Enabled: true Threshold: 25 CheckInterval: 10 ConsoleCommand: mem
Note that memory is memory free, not memory used.
-
View User Profile
-
Send Message
Posted Sep 10, 2012No, but today is LagMeter day - I cleaned up the code yesterday, now it's time to work on it. I do have to go get my nephews shortly, though, so when I return, I will begin work on it.
-
View User Profile
-
Send Message
Posted Sep 10, 2012I hope :O
Cant wait for this feature!!!