Skip to content

Commit ae89e77

Browse files
committed
docs(style): Add permission description
Signed-off-by: MSDNicrosoft <wang3311835119@hotmail.com>
1 parent 36d8c12 commit ae89e77

2 files changed

Lines changed: 40 additions & 4 deletions

File tree

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ whitelist management which is compatible with the [Floodgate](https://geysermc.o
1717

1818
- **Server-to-Server Send (`/send`)**: Send individual players from one server to another.
1919
- **Bulk Server-to-Server Send (`/sendall`)**: Send all players from a specified server to another.
20-
- **Player Kick (`/kick`)**: Allows admins to kick specified players with an optional reason.
21-
- **Bulk Kick (`/kickall`)**: Allows admins to kick all players from a specified server with an optional reason.
20+
- **Player Kick (`/kick`)**: Kick specified players with an optional reason.
21+
- **Bulk Kick (`/kickall`)**: Kick all players from a specified server with an optional reason.
2222
- **Whitelist Management (`/avmwl`)**: Add players to the whitelist using UUIDs or usernames, and compatible with
2323
[Floodgate](https://geysermc.org/wiki/floodgate/)
2424
- **Custom Broadcasts**: Customize messages for player joins, leaves, and server switches.
@@ -38,6 +38,24 @@ whitelist management which is compatible with the [Floodgate](https://geysermc.o
3838
- **Player Kick**: Use the `/kick <player> [reason]` command.
3939
- **Bulk Kick**: Use the `/kickall <server> [reason]` command to kick all players from a specified server.
4040

41+
### Permissions
42+
43+
- `avm.command.info` - Show plugin info
44+
- `avm.command.reload` - Give up data in memory, and reload config, language and whitelist from file
45+
- `avm.command.confirm` - Confirm an action
46+
- `avm.command.kick` - Kick specified players
47+
- `avm.command.send` - Send individual players from one server to another
48+
- `avm.command.sendall` - Send all players from a specified server to another
49+
- `avm.command.kickall` - Kick all players from a specified server
50+
- `avm.command.whitelist.list` - Show whitelist
51+
- `avm.command.whitelist.add` - Add a player to whitelist by username or UUID
52+
- `avm.command.whitelist.remove` - Remove a player from whitelist
53+
- `avm.command.whitelist.clear` - Clear the whitelist
54+
- `avm.command.whitelist.find` - Find player(s) in whitelist by keywords
55+
- `avm.command.whitelist.on` - Turn on the whitelist
56+
- `avm.command.whitelist.off` - Turn off the whitelist
57+
- `avm.command.whitelist.status` - Show whitelist status
58+
4159
## Configuration File
4260

4361
The `config.yml` file allows you to customize various aspects of the plugin, including server mapping, broadcast

README_CN.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ AdvancedVelocityManager 是一款为 Velocity 端设计的 Minecraft 服务器
1515

1616
- **跨服务器发送 (`/send`)**:将单个玩家从一个服务器发送到另一个服务器。
1717
- **批量跨服务器发送 (`/sendall`)**:将指定服务器的所有玩家发送到另一个服务器。
18-
- **玩家踢出 (`/kick`)**允许管理员踢出指定玩家,并可选择提供理由。
19-
- **批量踢出 (`/kickall`)**允许管理员从指定服务器踢出所有玩家,并可选择提供理由。
18+
- **玩家踢出 (`/kick`)**踢出指定玩家,并可选择提供理由。
19+
- **批量踢出 (`/kickall`)**从指定服务器踢出所有玩家,并可选择提供理由。
2020
- **白名单管理 (`/avmwl`)**:支持通过 UUID 和用户名添加玩家到白名单,并**[Floodgate](https://geysermc.org/wiki/floodgate/) 兼容**
2121
- **自定义广播**:自定义玩家加入、离开和服务器切换的广播消息。
2222

@@ -34,6 +34,24 @@ AdvancedVelocityManager 是一款为 Velocity 端设计的 Minecraft 服务器
3434
- **批量跨服务器发送**:使用 `/sendall <源服务器> <目标服务器>` 命令。
3535
- **玩家踢出**:使用 `/kick <玩家名> [理由]` 命令。
3636
- **批量踢出**:使用 `/kickall <服务器> [理由]` 命令从指定服务器踢出所有玩家。
37+
-
38+
### Permissions
39+
40+
- `avm.command.info` - 查看插件信息
41+
- `avm.command.reload` - 放弃内存中的数据,并从文件中重载配置、语言和白名单
42+
- `avm.command.confirm` - 确认操作
43+
- `avm.command.kick` - 踢出指定玩家
44+
- `avm.command.send` - 将单个玩家从一个服务器发送到另一个服务器
45+
- `avm.command.sendall` - 将指定服务器的所有玩家发送到另一个服务器
46+
- `avm.command.kickall` - 从指定服务器踢出所有玩家
47+
- `avm.command.whitelist.list` - 查看白名单
48+
- `avm.command.whitelist.add` - 通过用户名或 UUID 将玩家添加到白名单
49+
- `avm.command.whitelist.remove` - 从白名单中移除玩家
50+
- `avm.command.whitelist.clear` - 清空白名单
51+
- `avm.command.whitelist.find` - 通过关键词在白名单内查找玩家
52+
- `avm.command.whitelist.on` - 开启白名单
53+
- `avm.command.whitelist.off` - 关闭白名单
54+
- `avm.command.whitelist.status` - 查看白名单状态
3755

3856
## 配置文件
3957

0 commit comments

Comments
 (0)