# Ping 伪装

## 关于

默认情况下，服务器将会把玩家的延迟显示给所有玩家，你可以通过 TAB 列表的绿色条查看。一些修改过的客户端可以直接显示延迟数而不是绿色条。这个功能伪装所有玩家的延迟为配置的值，隐藏它们真实的值。我不知道为什么有人需要，但是有人想要，我就做了。

## 配置

在 **config.yml** 找到如下部分：

```
ping-spoof:
  enabled: false
  value: 0
```

要启用该功能，设置 enabled 为 true。\
当该功能启用后，所有玩家的延迟将会被伪装成 value 所设置的值。

客户端的 Ping 显示的绿色条规则如下:

* 负值: ✖
* 0 - 149: 5 条
* 150 - 299: 4 条
* 300 - 599: 3 条
* 600 - 999: 2 条
* 1000+: 1 条


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.superiormc.cn/tab-wiki/core-features/ping-wei-zhuang.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
