# TAB 后缀对齐

## 关于

自动在玩家名称和后缀之间添加空格以实现所有玩家 TAB 后缀对齐。\
![](https://camo.githubusercontent.com/548af846fa1556858ecf554378d8c0e78ee6f9e49588e99f8edbebb044155824/68747470733a2f2f6d656469612e646973636f72646170702e6e65742f6174746163686d656e74732f3733373033323835343932333634303933332f3831323833393733353134333832353434382f386237306339383732623839323666656537366334303361316465656661643563653339653437362e706e67)

## 启用

要启用这个功能，打开 **config.yml** 并设置

```
tablist-name-formatting:
  enabled: true
  align-tabsuffix-on-the-right: true
```

## 配置

启用后，玩家的 TAB 后缀应该会很好的对齐了，就像 [黄色数字](https://docs.superiormc.cn/tab-wiki/core-features/huang-se-shu-zi)，但是这个功能几乎没有任何限制。所以我很推荐你将黄色颜色关闭使用这个功能代替 (`yellow-number-in-tablist: enabled: false`) (除非你真的两个都需要，尽管所有的内容都可以在这个功能中显示)。\
这个功能唯一的可供配置是关闭指定 **TAB后缀** 的对齐。如果你想要设置不自动对齐的 TAB后缀，将它们配置到 `customtabname` 选项的其中一部分(不要忘记你需要使用 %player% 变量符来显示玩家名称)。

## 限制

这个功能不支持自定义字符 (例如资源包或者在客户端开启 unicode 字符设置)。 我们无法知道客户端显示的字符到底是什么样子的，所以这个限制永远也无法解决。


---

# 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/tab-hou-zhui-dui-qi.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.
