# 如果设置权限组的 weight？

## 它们是什么？

每个权限组插件都会有一套 weight（权重值）系统。这些权重值决定玩家能拥有的各个权限组的优先级，即哪个组排列更高。

在 TAB 中，您需要指定各个组的权重值，这样 TAB 的自动排列等功能才会像您想要的样子工作。

## 如何设置它们？

### LuckPerms

如果你正在使用 LuckPerms 作为权限组插件，那么你可以使用指令`/lp group <组名称> setweight <数字>` 如果这个组越重要，那么它的权重值对应的数字就应该越大。

### PermissionsEx

如果你正在使用 PEX 作为权限组插件，那么你可以使用指令 `/pex group <组> weight <数字>` 相较于 LuckPerms，如果这个组约重要，那么它的权重值对应的数字就应该越小。

### 其他插件

如果你不使用 LuckPerms 或者 PermissionsEx，你必须仔细阅读它们的 Wiki 并查找如何设置权限组的权重值。如果你的权限组插件不支持该功能，你可以尝试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/other-guie/ru-guo-she-zhi-quan-xian-zu-de-weight.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.
