# 旁观者修复

## 关于

旁观者模式在 1.8 版本被加入，在该模式的玩家会自动出现在 TAB 列表的底部，名称透明并且无法拥有[ 黄色数字](/tab-wiki/core-features/huang-se-shu-zi.md)。这个功能从发包（packet）层面取消模式改变的包，这样该机制也就不会出现了。

## 启用

要启用该功能，请打开 **config.yml** 并设置

```
prevent-spectator-effect:
  enabled: true
```

## 配置

`allow-spectator-bypass-permission: false`\
启用后，拥有 `tab.spectatorbypass` 权限的玩家仍会以正常旁观者模式玩家出现在 TAB 列表。


---

# 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/pang-guan-zhe-xiu-fu.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.
