PingTab

PingTab.jpg

PingTab Logo

I've started this project when PingList doesn't seemed to be maintained anymore, much thanks for @Dutch1ee for the idea and @Ozelo for pushing me into making this.

The plugin shows the players latency inside minecraft, not ICMP. So you should keep in mind that besides the connections between the client and the server, the server and client load (Disk, CPU and FPS) is taken in account.

Installation

  • Download the jar
  • Copy it to the plugins folder
  • Restart or Reload the server
  • Edit the config.yml as you please
  • Restart or Reload the server

Upgrading

If you are upgrading, remove the old PingTab Folder before restarting or reloading the server, the folder and the new config.yml will be automatically created. On the 1.4 version, the config will be updated automatically.

Configuration

On config.yml you can set:

  • AutoUpdate: Enable/Disable auto update checking (Default: true)
  • AutoDownloadUpdate: Enable/Disable auto downloading new updates, when disabled warns you about new versions (Default: false)
  • Interval: Pooling interval in seconds. (Default: 3)
  • DisableTab: Disable the tab portion of the plugin. (Default: false)
  • ShowPluginNameOnMessages: Show the plugin name on messages sent to the players and console. Please leave this option enabled so more people will know about this plugin! (Default: false)
  • ColoredPingParameter: Make the %ping parameter on messages to be automatically colored based on it's value.
  • GoodPing: Pings below this number will be printed as green in the /ping command. (Default: 200)
  • MediumPing: Pings below this number will be printed as gold in the /ping command. If the ping gets above this number, it will be printed in red. (Default: 500)
  • OwnPingMessage: Message that is sent to the player when he check it's own ping with /ping. Color codes are supported using & character. (Default: "Your ping is %pingms")
    • Parameters:
      • %ping - Ping Measured
  • PingMessage: Message that is sent to player when he check anothe player's ping with /ping. Color codes are supported using & character. (Default: "%playername's ping is %pingms")
    • Parameters:
      • %playername - Player Name;
      • %ping - Ping Measured;
  • AlertPlayers: Alert players about high latency (Default: true)
  • AlertThreshold: Players with the ping higher than this will be alerted (Default: 500)
  • AlertInterval: The interval, in minutes, for the alerts to be sent (Default: 5)
  • AlertMessage: The message that will be sent to the user on the alert event. Color codes are supported using & character. (Default: "%playername, your latency of %ping is above %threshold!")
    • Parameters:
      • %playername - Player Name
      • %ping - Ping Measured
      • %threshold - Threshold Set

Default config.yml

# PingTab v1.3.0

# AutoUpdate: Enable/Disable auto update checking
AutoUpdate: true

# AutoDownloadUpdate: Enable/Disable auto downloading new updates, when disabled warns
#                     you about new versions
AutoDownloadUpdate: false

# Interval: Ping Measurement interval in seconds
Interval: 3


# DisableTab: Disable the tab portion of the plugin.
DisableTab: false


# ShowPluginNameOnMessages: Show the plugin name on messages sent to the players
#                           and console. Please leave this option enabled so
#                           more people will know about this plugin!
ShowPluginNameOnMessages: false


# ColoredPingParameter: Make the %ping parameter on messages to be automatically
#                       colored based on it's value.  
ColoredPingParameter: true


# GoodPing: Pings below this number will be printed as green in the /ping command.
GoodPing: 200


# MediumPing: Pings below this number will be printed as gold in the /ping command.
#             If the ping gets over this number, it will be printed in red .
MediumPing: 500


# OwnPingMessage: Message that is sent to the player when he check it's own
#                 ping with /ping. Color codes are supported using & character.
#                 Parameters: %ping - Ping Measured
OwnPingMessage: "Your ping is %ping ms"


# PingMessage: Message that is sent to player when he check anothe player's
#              ping with /ping. Color codes are supported using & character.
#              Parameters: %playername - Player Name
#                          %ping - Ping Measured
PingMessage: "%playername's ping is %ping ms"


# AlertPlayers: Alert players about high latency (Default: true)
AlertPlayers: true


# AlertThreshold: Players with the ping higher than this will be alerted.
AlertThreshold: 1000


# AlertInterval: The interval, in minutes, for the alerts to be sent.
AlertInterval: 5


# AlertMessage: The message that will be sent to the user on the alert event.
#               Color codes are supported using & character.
#               Parameters: %playername - Player Name
#                           %ping - Ping Measured
#                           %threshold - Threshold Set
AlertMessage: "%playername, your latency of %ping is above %threshold!"

Permissions

This plugin supports the following permissions:

Permission Nodes

  • pingtab.* - Allow all users to use all commands
  • pingtab.default - Default configuration
  • pingtab.showscoreboard - Allow a user to see the PingTab scoreboard
  • pingtab.ping - Allow a user to use the /ping command
  • pingtab - Allow a user to use the /pingtab command
  • pingtab.reload - Allow a user to use the /pingtab reload command
  • pingtab.checkupdate - Allow a user to use the /pingtab checkupdate command
  • pingtab.update - Allow a user to use the /pingtab update command

Default Permissions

  • pingtab: Anyone
  • pingtab.showscoreboard: Anyone
  • pingtab.ping: Anyone
  • pingtab.reload: Op only
  • pingtab.checkupdate: Op only
  • pingtab.update: Op only

Current Features

  • Shows latency on the tablist
  • Support for colored names (This means that if you use a plugin to make the names colored it will work just fine)
  • /ping [player|self|list] command
  • /pingtab reload command
  • High latency alerts
  • MCStats
  • Permissions
    • SuperPerms

Planned Features

  • Autokick based on measured latency
  • List players on tab based on radius and or limits for big servers
  • List players order by own faction, enemy factions, other factions and lonewolves
  • Messages of high latency on PvP
  • Broadcast players with high ping
  • Werewolves plugin support (there are some glitches when using this plugin)

Uninstalling

  • Remove the jar from the plugins folder
  • Restart the server
  • Type /scoreboard objectives to clean the scoreboard

Review

A Review by VariationVault

Won't Work

  • Configurable and colored measures: Unfortunately that isn't possible at the moment.
  • ICMP latency measurements: Java doesn't support ICMP, there's a workaround but it too messy.

MCStats

This plugin utilizes Hidendra's plugin metrics system, which means that the following information is collected and/or sent to mcstats.org:

The following data is read from the server in some way or another:

  • File Contents of plugins/Plugin Metrics/config.yml (created if not existent)
  • Players currently online (not max player count)
  • Server version string (the same version string you see in /version)
  • Plugin version of the metrics-supported plugin
  • Mineshafter status - it does not properly propagate Metrics requests however it is a very simple check and does not read the filesystem

The following data is sent to http://mcstats.org:

  • Metrics revision of the implementing class
  • Server's GUID
  • System Architeture
  • Players currently online (not max player count)
  • Server version string (the same version string you see in /version)
  • Plugin version of the metrics-supported plugin
  • Minecraft Server Mod
  • The server's version of Java
  • Whether the server is in offline or online mode
  • The plugin's version
  • The server's version
  • The OS version/name and architecture
  • The core count for the CPU

Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.

MCStats

Feature Request and Bug Reports

Feel free to PM me with any other feature needed, bugs should be reported in the comments section on bukkit.org.

Source Code

You can get the source here. Just give the credits

Donations

If you like this plugin, feel free to donate, my kids will appreciate that!

Donate!

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

  • Avatar of Refornm Refornm Mar 17, 2016 at 04:58 UTC - 0 likes

    Can you add 1.9 support doesn't work for 1.9

  • Avatar of GomoDD GomoDD Nov 28, 2015 at 18:57 UTC - 0 likes

    Hey there, could you please release a version that'll work with 1.6.4 (or upload it somewhere & post the DL link)? I'd really appreciate it <3

    Last edited Nov 28, 2015 by GomoDD
  • Avatar of Calx9 Calx9 Oct 23, 2015 at 22:46 UTC - 0 likes

    I added the permissions to both my members and my admins and now it only displays 0 even with the new update. I'm very new to permissions but I've managed to successfully add the permissions from my other plugins. I even tried completely reinstalling.

  • Avatar of tiagoratto tiagoratto Oct 20, 2015 at 00:59 UTC - 0 likes

    @alexander_gq: Go

    Install the new version the remove it.

  • Avatar of tiagoratto tiagoratto Oct 20, 2015 at 00:58 UTC - 1 like

    @FreeWall1: Go

    Hello there! The new version corrects this problem you're having. Just install the new version, run the server then remove it and it all should be fine.

  • Avatar of FreeWall1 FreeWall1 Oct 18, 2015 at 11:43 UTC - 1 like

    @tiagoratto: Go

    I use Bukkit 1.8.8, Java version 1.8, thank's for fixing it.

  • Avatar of tiagoratto tiagoratto Oct 15, 2015 at 13:57 UTC - 0 likes

    @FreeWall1: Go

    Ill be updating the plugin to solve the "damaged" scoreboard when removing the plugin. Also, witch version of minecraft are you using ? And Java ? And are you using bungee ?

  • Avatar of FreeWall1 FreeWall1 Oct 07, 2015 at 22:57 UTC - 0 likes

    Plugin shows only "0" ping for all players (default config).

    If I remove this plugin (remove .jar + folder + server restart), "0 ping" stays in the TABlist, please help me.

    Last edited Oct 07, 2015 by FreeWall1
  • Avatar of games647 games647 Oct 01, 2015 at 17:57 UTC - 1 like

    Really nice plugin. Thank you very much.

    Neat feature for a server.

    Last edited Oct 01, 2015 by games647

    FastLogin Auto login cracked accounts if the player has a paid account
    ScoreboardStats Fast custom scoreboard + compatibility with other scoreboard plugins
    ChangeSkin Change your ingame skin
    LagMonitor Analyze your server performance
    Minecraft Database

  • Avatar of lichi2050 lichi2050 Sep 23, 2015 at 17:51 UTC - 0 likes

    Nice plugin I love that!

Facts

Date created
Dec 30, 2013
Category
Last update
Oct 19, 2015
Development stage
Release
Language
  • enUS
License
GNU General Public License version 3 (GPLv3)
Curse link
PingTab
Downloads
14,665
Recent files

Authors