v1.2

PingTab Logo

Since PingList doesn't seems to be maintained anymore, I've decided to implement my own version, 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 as soon they approve it
  • Copy it to the plugins folder
  • Restart or Reload the server
  • Edit the config.yml as you please
  • Restart or Reload the server

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.

Configuration

On config.yml you can set:

  • Interval: Pooling interval in seconds. (Default: 3)
  • DisableTab: Disable the tab portion of the plugin. (Default: false)
  • 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.2

# 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
#                           and console. Please leave this option enabled so
#                           more people will know about this plugin!
ShowPluginNameOnMessages: true


# 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 %pingms"


# 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 %pingms"


# 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!"

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
  • 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
  • Permissions
    • PermissionsEx
    • Group Manager

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

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!


Comments

Posts Quoted:
Reply
Clear All Quotes