pinger 图标

pinger

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/pinger
资源信息

Minecraft 版本: 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2 26.2

平台: folia paper purpur

标签: utility

资源介绍

Pinger

Displays each player's real-time ping in the tab list, color-coded by latency threshold. Includes a private /ping command and full runtime control via admin commands.


Features

  • Live ping indicator in the tab list, refreshed on a configurable interval
  • Color-coded thresholds — configurable colors, values, and bracket style
  • Private /ping command — response is only visible to the sender
  • Runtime toggle for tab display and /ping command without a server restart
  • Full internationalization — drop any .yml into lang/ and point config to it
  • Bundled languages: English (en_US) and Custom

Ping Thresholds

Range Color Default
Excellent Green ≤ 35 ms
Good Gold 36 – 99 ms
Warning Red 100 – 999 ms
Critical Dark Red, bold ≥ 1000 ms

All values and colors are editable in config.yml.


Commands

Command Description Permission
/ping Show your current ping pinger.ping
/pinger help List all commands
/pinger reload Reload config and language pinger.admin
/pinger on tab Enable tab ping display pinger.admin
/pinger off tab Disable tab ping display pinger.admin
/pinger on ping Enable /ping command pinger.admin
/pinger off ping Disable /ping command pinger.admin
/pinger status Show current plugin state pinger.admin

/pinger on and /pinger off without an argument toggle both at once.
Runtime changes reset to config.yml values on /pinger reload.


Permissions

Node Default Description
pinger.admin OP All /pinger admin subcommands
pinger.ping true Use /ping
pinger.see true See ping in tab list

Configuration

Generated automatically on first launch with full inline documentation.

general:
  enabled: true
  update-interval: 20        # 20 ticks = 1 second
  language: en_US

display:
  show-in-tab: true
  ping-command-enabled: true
  show-ms-suffix: true
  brackets:
    open: "["
    close: "]"
    color: GRAY
    bold: true

thresholds:
  excellent:  { max: 35,   color: GREEN    }
  good:       { max: 99,   color: GOLD     }
  warning:    { max: 999,  color: RED      }
  critical:   { min: 1000, color: DARK_RED, bold: true, text: "CRITICAL" }

Custom Language

  1. Create plugins/pinger/lang/your_lang.yml — use en_US.yml as a template
  2. Set language: your_lang in config.yml
  3. Run /pinger reload

& color codes and placeholders ({ping}, {player}, etc.) are fully supported.


Requirements

  • Paper 1.21+ (or any Paper fork)
  • Java 21+
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Tropical Fish Are Poisonous!│熱帶魚有毒!

价格:0 墨喵币
下载量:0

查看详情
Torium, QoL

价格:0 墨喵币
下载量:0

查看详情
PunchingBag | Lobby Entertainment | Physics, Duels & Rankings

价格:0 墨喵币
下载量:0

查看详情
Saddler

价格:0 墨喵币
下载量:0

查看详情