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 Mar 24, 2013Now, do you have a release for 1.5/.1 stashed away anywhere?
-
View User Profile
-
Send Message
Posted Mar 21, 2013@rellac
In what stead? Do you have the entities/chunks loaded toggled on? If that's what you mean, look through the configuration, and make sure your configuration matches the format and all of the keys listed here (as there is an option to turn that off).
-
View User Profile
-
Send Message
Posted Mar 21, 2013Ah, my bad sorry.
Is there any way to just show users the TPS level and the meter upon /lag, like the gool ol' days?
-
View User Profile
-
Send Message
Posted Mar 19, 2013@rellac
That's not my plugin. That's because you don't have Java 7 installed.
-
View User Profile
-
Send Message
Posted Mar 19, 2013@TheLunarFrog
actually, LagMeter doesn't work for 1.5 at all (at least for me)
http://pastie.org/pastes/6629216/text
Only since 1.5 dev builds.
I hope you update soon, LagMeter is the best
-
View User Profile
-
Send Message
Posted Mar 17, 2013@Compressions
Well, you see, I don't update for dev builds unless it breaks. I can almost promise that it will never break, as well. Most of the code is comprised of math and logic. There are barely any Bukkit functions in LagMeter, besides Player.sendMessage(String). Unless they break that, it's fine. You as a developer should know that plugins don't often break with new builds (unless they deal with the NMS package, which this doesn't).
Works fine with 1.5 right now. I will update for a beta or recommended build, unless you can point out a 1.5-specific flaw.
-
View User Profile
-
Send Message
Posted Mar 16, 2013Please update to 1.5. Thanks.
-
View User Profile
-
Send Message
Posted Mar 11, 2013@TheDjKiDD
Implemented in next build. Looking at a beta build today or tomorrow (depending on how fast I can test FrogAnnounce and fix all of its bugs for its next release, then test LagMeter).
-
View User Profile
-
Send Message
Posted Mar 10, 2013@TheLunarFrog
It shows 0 chunks loaded for the mystcraft worlds I can see...
-
View User Profile
-
Send Message
Posted Mar 10, 2013@TheDjKiDD
I'll change that. There are 0 chunks loaded if the world is empty or what? Like 10?
-
View User Profile
-
Send Message
Posted Mar 10, 2013Great plugin! I just wish it wouldn't show worlds that don't have any chunks loaded when that option is enabled... I can't even see which chunks are loaded because chat doesn't display that many lines. Because I have mystcraft installed there are hundreds of worlds.
-
View User Profile
-
Send Message
Posted Mar 9, 2013@Phenomenological
Oops! I thought I replied to this, sorry! I've added more default documentation on both that and the log interval, but these changes are currently only visible on my GitHub.
The poll interval is in ticks. One second is 20 ticks, and so, conversely, one tick is 1/20 of a second.
The way Demmy has the log interval, however, is somewhat strange. It is directly related to the poll interval. Think of it as "after how many polls should the plugin log?" If both values (poll interval and log interval) are left at default settings (40 and 150, respectively), then it will log every 150 polls, while the plugin polls every 40 ticks, which is 40*150 ticks (6,000 ticks, or 300 seconds, or 5 minutes).
-
View User Profile
-
Send Message
Posted Mar 7, 2013@NemesisMate
Unfortunately, that's impossible to do. Bukkit does not contain an API to do so, and there's no way to have the Java Virtual Machine to check for me. Sorry.
-
View User Profile
-
Send Message
Posted Mar 7, 2013Are you adding a way to see which plugins are causing the most tickrate loss?
-
View User Profile
-
Send Message
Posted Mar 2, 2013What's the unit for poll interval? Would be nice if it said in the config. Ticks, seconds, minutes...?
-
View User Profile
-
Send Message
Posted Feb 24, 2013@andrewkm
I've discontinued my Jenkins repository, sorry. The owner of the server it was being hosted on ran out of HDD space, so I decided to just scrap it.
-
View User Profile
-
Send Message
Posted Feb 24, 2013Your jenkins is seriously spazzing out hardcore... Blew my rss feed up lol.
-
View User Profile
-
Send Message
Posted Feb 22, 2013@corraddave
Re-add the space between the colon (:) and the first slash (/). The value can't be next to the colon, where the key has to be attatched to it (i.e. Toads:true is wrong, but Toads: true is right). That's your config breaking, not my plugin. Please google how to configure YAML files, I cannot possibly explain everything to you.
As for the config values you've posted, no... the ones in the same section (indentation) as the respective lag/mem checker.
Also, in the future, please edit your own posts to add something instead of posting a new comment. It spams my email. Thanks.
-
View User Profile
-
Send Message
Posted Feb 22, 2013SEVERE] Caused by: while scanning a simple key in "<string>", line 79, column 9: ConsoleCommand:/lag;/butcher -l ^ could not found expected ':' in "<string>", line 80, column 5: Memory: ^
in the logs
-
View User Profile
-
Send Message
Posted Feb 22, 2013Is it this one?