Skip to content

Ping ​

Module info
Configurationping in config.yml
ManagerPingManager
Support1.8+
Free versionâś”
Proxy-configurable❌

This module allows players to check theirs or another player's ping in milliseconds and offers custom placeholders. It is possible to configure ranges to colorize the ping based on its value.

Setup ​

The following snippet of code represents and explains the ping's configuration.

yaml
# ...mutes' settings...
ping: 
  update-timeout-ms: 5000 # timeout between updates, in milliseconds
  qualities:
    excellent: 20 # first quality's max latency, in milliseconds (0-20)
    great: 50 # second quality's max latency, in milliseconds (21-50)
    good: 68 # ... (51-68)
    funny: 69 # ... (69-69)
    good-2: 100
    poor: 150
    bad: 200 # ... (151-200)
    unplayable: 201 # ... (201+)
# ...TPS's settings...

The first and last qualities determine the first and last ping ranges (0-20, 201+).

Adding qualities ​

To add a new quality or range, you just need to specify its ID and its max latency.

yaml
# ...ping's settings...
  qualities: 
    # ...default qualities...
    new-quality: 250
# ...TPS's settings...

NOTE

Order does matter in the configuration above: make sure to insert new qualities in the correct place; example: 250 > 201, so put it last.

Once done, open messages.yml and any custom messages files present and insert the new quality's ID, color and text at ping:

yaml
# ...mutes' messages...
ping: 
  # ...default qualities...
  new-quality: # new quality's ID
    color: '&0' # new quality's color
    text: '&0about to crash'
# ...TPS's messages...

/ping command ​

It is possible to check yours or another player's ping using the /ping command:

/ping example

Refer to the Getting started/Commands/User page for more info.

ChatPlugin - A complete yet lightweight plugin which handles just too many features!
© 2024  Remigio07
This wiki is currently updated to version 1.9.4.
Please report any errors, mistakes and misspellings as described at Home/Reporting issues.

Remigio07.me - built w/ VitePress