LagMeter

LagmeterBanner

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: 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.

Download

CI/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.
Jenkins faviconJenkins: latest builds

Stable
Version: 1.17.0
Build date: 3 March 2016
http://www.hitbullseye.com/images/download_button_small.jpg BukkitDev Download: Latest Build

Javadocs
Version: 1.15.0
Build date: 23 November 2013
Dropbox Download (zipped; standard doclet)

Source Code

https://github.com/favicon.ico GitHub: TheLunarFrog's Source
GitHub: Original Source by DemmyDemon v.0.4

Bugs and Feature Requests

Bug reports & 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 Log

Commands & Permissions

Commands & Permissions

Configuration Explanation

Configuration


Note:
Possible compatibility issues with "time-altering" plugins, such as [ProperTime](http://forums.bukkit.org/threads/ProperTime.2782/), has been raised. If you are the admin of a server that uses such a plugin, regardless of you having issues or not, I would love to hear from you!

Example output:

[####################] 20.0 TPS

...or if your server isn't doing so hot...

[##########__________] 10.0 TPS

Servers Using LagMeter

Server List

Donations:

Use the button next to the curse link at the top on bukkit dev

Thank You:

  • RalphFox

Please note that I do not accept donations for this plugin anymore.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of TheLunarFrog TheLunarFrog May 09, 2016 at 06:19 UTC - 1 like

    @GodsDead: Go

    Your ticket has been resolved.

    You can grab the latest build in which it has been fixed off of my CI server - I will not be uploading a new version of LagMeter until I look into another ticket, at least.

    Last edited May 09, 2016 by TheLunarFrog
  • Avatar of TheLunarFrog TheLunarFrog May 01, 2016 at 16:34 UTC - 0 likes

    @GodsDead: Go

    Thanks, I'll get started on this as soon as I can.

  • Avatar of GodsDead GodsDead May 01, 2016 at 10:58 UTC - 0 likes

    @TheLunarFrog: Go

    LagMeter 1.17.0

  • Avatar of TheLunarFrog TheLunarFrog Apr 26, 2016 at 23:34 UTC - 0 likes

    @GodsDead: Go

    Will look into this. What version are you using?

  • Avatar of GodsDead GodsDead Apr 26, 2016 at 21:56 UTC - 0 likes
    [22:04:34] [Server thread/INFO]: [LagMeter] The server's free memory pool has dropped below 25.0%! Executing command (if configured).
    [22:04:34] [Thread-925/WARN]: java.lang.ArrayIndexOutOfBoundsException: 1
    [22:04:34] [Thread-925/WARN]: 	at com.webkonsept.minecraft.lagmeter.TimedCommand.process(TimedCommand.java:13)
    [22:04:34] [Thread-925/WARN]: 	at com.webkonsept.minecraft.lagmeter.TimedCommand.run(TimedCommand.java:38)
    [22:04:34] [Thread-925/WARN]: 	at java.lang.Thread.run(Thread.java:745)
    [22:04:34] [Thread-926/WARN]: Exception in thread "Thread-926" 
    [22:04:34] [Thread-926/WARN]: java.lang.ArrayIndexOutOfBoundsException: 1
    [22:04:34] [Thread-926/WARN]: 	at com.webkonsept.minecraft.lagmeter.TimedCommand.process(TimedCommand.java:13)
    [22:04:34] [Thread-926/WARN]: 	at com.webkonsept.minecraft.lagmeter.TimedCommand.run(TimedCommand.java:38)
    [22:04:34] [Thread-926/WARN]: 	at java.lang.Thread.run(Thread.java:745)
    
  • Avatar of GodsDead GodsDead Apr 16, 2016 at 12:08 UTC - 0 likes
  • Avatar of TheLunarFrog TheLunarFrog Mar 27, 2016 at 10:55 UTC - 0 likes

    @GodsDead: Go

    Please post your configuration, it looks like an issue with that.

    It's trying to find the time specified on a timed command, but you don't have one

    It should look something like /time day<>5m

    Last edited Mar 27, 2016 by TheLunarFrog
  • Avatar of GodsDead GodsDead Mar 27, 2016 at 10:33 UTC - 0 likes

    issue:

    [00:28:11] [Thread-73/WARN]: Exception in thread "Thread-73" 
    [00:28:11] [Thread-73/WARN]: java.lang.ArrayIndexOutOfBoundsException: 1
    [00:28:11] [Thread-73/WARN]: 	at com.webkonsept.minecraft.lagmeter.TimedCommand.process(TimedCommand.java:13)
    [00:28:11] [Thread-73/WARN]: 	at com.webkonsept.minecraft.lagmeter.TimedCommand.run(TimedCommand.java:38)
    [00:28:11] [Thread-73/WARN]: 	at java.lang.Thread.run(Thread.java:745)
    
  • Avatar of TheLunarFrog TheLunarFrog Mar 02, 2016 at 18:43 UTC - 0 likes

    @Culvanen: Go

    Now that I've had time to look into this, I know what the problem is and how I'm going to fix it.

    The problem is that the old way that we used to get the amount of online players has been replaced, but the old way is gone and the new one can't be used in the same way. I will be correcting this today.

    The reason it used player counts at all is that it tells you how many players are online (an old feature request) in the logs (when that feature is enabled). This code is located in the class that polls the server's TPS (i.e. the core of it), so that's why it broke.

    For now, if you disable player logging, it should work. It's an easy fix, but I have to get a development environment set up again and then wait on bukkitdev approval.

    Thanks for the report!

  • Avatar of Culvanen Culvanen Mar 02, 2016 at 08:40 UTC - 0 likes

Facts

Date created
Aug 25, 2011
Categories
Last update
Mar 03, 2016
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
LagMeter
Reverse relationships
1
Downloads
270,974
Recent files

Authors