TabCompleteFilter Tab补全过滤器
作者:Lee
发布时间:2020年2月15日
原生版本:未知
测试支持:1.13,1.14,1.15,1.16,1.17,1.18,1.19,1.20
过滤用户可以在Tab-Complete上看到的命令。
点此下载插件详细介绍
TabCompleteFilter 是一款 Minecraft 插件,允许你通过权限组过滤 Tab 补全命令。玩家可以拥有多个组权限进行过滤,支持在游戏中配置命令 Tab 补全。插件完全可翻译和配置,可以自定义/创建已注册插件命令的 Tab 补全参数。支持 Bungeecord/Waterfall (需要 Waterfall),需要 Java 16+。
⚙️ TabCompleteFilter
📍 特性
- 通过权限组过滤 Tab 补全命令
- 玩家可以拥有多个组权限进行过滤
- 在游戏中为组配置命令 Tab 补全
- 完全可翻译和配置
- 自定义/创建已注册插件命令的 Tab 补全参数
- Bungeecord/Waterfall 支持 (需要 Waterfall)
- 需要 Java 16+
📚 指令
常规指令
/tcf reload- 重载配置文件。/tcf group add- 创建一个新的补全组。/tcf group remove- 移除一个补全组。/tcf group- 给一个组添加权限节点。permission add /tcf group- 移除一个组的权限节点。permission remove /tcf group- 设置组的优先级 (越高越优先)。priority /tcf group- 添加一个命令到组里。command add /tcf group- 从组里移除一个命令。command remove /tcf group- 添加一个参数到命令里。command argument add /tcf group- 从命令里移除一个参数。command argument remove /tcf group- 给参数添加一个建议值。command argument suggest /tcf group- 移除参数的一个建议值。command argument suggest remove
Bungee 指令
/tcfilter reload- 重载配置文件。/tcfilter group add- 创建一个新的补全组。/tcfilter group remove- 移除一个补全组。/tcfilter group- 给一个组添加权限节点。permission add /tcfilter group- 移除一个组的权限节点。permission remove /tcfilter group- 设置组的优先级 (越高越优先)。priority /tcfilter group- 添加一个命令到组里。command add /tcfilter group- 从组里移除一个命令。command remove /tcfilter group- 添加一个参数到命令里。command argument add /tcfilter group- 从命令里移除一个参数。command argument remove /tcfilter group- 给参数添加一个建议值。command argument suggest /tcfilter group- 移除参数的一个建议值。command argument suggest remove
🔑 权限
tabcompletefilter.command.tcf- 允许使用/tcf命令。tabcompletefilter.command.tcfilter- 允许使用/tcfilter命令 (BungeeCord)。
🛠️ 配置示例
config.yml
# +-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
# | TabCompleteFilter Configuration |
# +-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
# | priority: The higher the priority, the more precedence the group has when determining tab completions. |
# | permissions: A list of permissions that a player must have at least one of to be able to use the tab completions in this group. |
# | commands: A list of commands that will be filtered for players who have the permissions in this group. |
# | arguments: A list of arguments that will be filtered for the command. |
# | suggestions: A list of suggestions that will be offered to the player when they tab complete the argument. |
# +-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
# | For more information, visit the wiki: https://github.com/SirLeezus/TabCompleteFilter/wiki |
# +-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
groups:
example_group:
priority: 1
permissions:
- "example.permission"
commands:
example_command:
arguments:
example_argument:
suggestions:
- "suggestion1"
- "suggestion2"
admin_group:
priority: 10
permissions:
- "tabcompletefilter.admin"
commands:
op:
arguments:
player:
suggestions:
- "<player>" # <player> is a special suggestion that will be replaced with the online player names.
bungee_config.yml (BungeeCord)
# +-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
# | TabCompleteFilter Configuration |
# +-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
# | priority: The higher the priority, the more precedence the group has when determining tab completions. |
# | permissions: A list of permissions that a player must have at least one of to be able to use the tab completions in this group. |
# | commands: A list of commands that will be filtered for players who have the permissions in this group. |
# | arguments: A list of arguments that will be filtered for the command. |
# | suggestions: A list of suggestions that will be offered to the player when they tab complete the argument. |
# +-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
# | For more information, visit the wiki: https://github.com/SirLeezus/TabCompleteFilter/wiki |
# +-----------------------------------------------------------------------------------------------------------------------------------------------------------------+
groups:
bungee_example_group:
priority: 1
permissions:
- "bungee.example.permission"
commands:
bungee_command:
arguments:
bungee_argument:
suggestions:
- "bungee_suggestion1"
- "bungee_suggestion2"
bungee_admin_group:
priority: 10
permissions:
- "tabcompletefilter.bungee.admin"
commands:
glist:
arguments:
server:
suggestions:
- "<server>" # <server> is a special suggestion that will be replaced with the online server names.