PingTab 1.3.5

Show players latency on the tablist

  1. tiagoratto
    [​IMG]

    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.

    [​IMG]

    This plugin requires Java 8!

    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
    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: "Yourpingis%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'spingis%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,yourlatencyof%pingisabove%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
    • Reload command
    • 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.
    [​IMG]
    Mr_robbit, davewolax and Ozelo like this.

Recent Reviews

  1. Elijah7823
    Elijah7823
    4/5,
    Version: 1.3.5
    Good plugin can you add 1.9.2 support thanks and make it more customizable like the colors and add sounds like you have a bad ping connection
  2. Refornm
    Refornm
    4/5,
    Version: 1.3.4
    Overall Good Plugin But Will It Lag If I Put The Ping Interval To 1? Nice Plugin Keep Updating This Plugin :)
    1. tiagoratto
      Author's Response
      Thanks for the review! It shouldn't, are you experiencing problems ?
  3. MsDemonicRaven
    MsDemonicRaven
    5/5,
    Version: 1.3.4
    It works now :D i'm glad ^^ thank you so much for getting the error fix. I hope this will be continued :)
  4. MsDemonicRaven
    MsDemonicRaven
    2/5,
    Version: 1.3.2
    it works...but i wish this error wouldnt come up every 2 seconds in my log.
    http://pastebin.com/UZc0vM8u

    its saying 1_7 meaning it works with 1.7 servers? im not a coder so im guessing.
    1. tiagoratto
      Author's Response
      Try the 1.3.3 version and tell me if the problem is solved please.
  5. Crackin_Dev
    Crackin_Dev
    5/5,
    Version: 1.2
    Great job c: keep it up! I liked
  6. Een_noob
    Een_noob
    4/5,
    Version: 1.2
    Work this whit 1.8??
    1. tiagoratto
      Author's Response
      Now it works
  7. SergiFerry
    SergiFerry
    5/5,
    Version: 1.2
    Perfect i needed
  8. Trenz001
    Trenz001
    5/5,
    Version: 1.2
    Was excited when I saw this plugin but when I tested it on my server which is using the version spigot 1649 or can be also called as protocol hack version. I received this errors when I logged in the server please fix !
    Hopefully you will fix this error :( : http://pastebin.com/GPW8puKi
    1. tiagoratto
      Author's Response
      Please try the new version.
  9. Ozelo
    Ozelo
    5/5,
    Version: v1.0
    perfect