F-Command

按Q或F执行命令。

资源图片
![bStats Servers](https://img.shields.io/bstats/servers/17738?style=for-the-badge) ![bStats Players](https://img.shields.io/bstats/players/17738?style=for-the-badge) ![GitHub last commit](https://img.shields.io/github/last-commit/Hutch79/F-Command?style=for-the-badge) ![Spiget Downloads](https://img.shields.io/spiget/downloads/108009?style=for-the-badge&logo=SpigotMC) ![Spiget Rating](https://img.shields.io/spiget/rating/108009?style=for-the-badge&logo=SpigotMC) ![Modrinth Downloads](https://img.shields.io/modrinth/dt/zDdNh6jC?style=for-the-badge&logo=modrinth) [![Codacy Badge](https://img.shields.io/codacy/grade/69b96e7e9deb4f77a770449ff4daf9f0?style=for-the-badge)](https://app.codacy.com/gh/Hutch79/F-Command/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [![Discord](https://github-production-user-asset-6210df.s3.amazonaws.com/42042811/249748477-12729e90-064e-4647-93cb-faae60cb033e.png)](https://dc.hutch79.ch) # 描述 F-Command 是一个小型且易于配置的 Minecraft 插件,它允许你设置多个命令,这些命令在按下 F 或 Q 键(交换手或掉落物品)时执行。 你可以使用以下易于使用的选项精确配置每个命令: - 应该按下哪个键 - 每个命令的权限 - 定义每个命令是否由玩家或服务器执行 - 是否执行动作(掉落物品或交换手) - 玩家是否需要潜行 而且最好的部分是:你甚至可以使用 PlaceholderAPI 在命令中使用占位符,从而集成数百个其他插件! 所有这些选项都可用于你配置的每个命令! # 使用案例
点击我 ## 服务器菜单 你的玩家可以通过一个菜单轻松地切换网络上的服务器? 通过按下 Shift+F 来轻松访问该菜单! ## 基于 GUI 的 AdminShop 你有一个 GUI 中的 AdminShop,例如 EconomyShopGUI? 为什么不通过按下 F 来打开它呢? 这比输入命令容易得多!
# 命令 & 权限 只有一个命令,只有一个权限! `/fcmd reload` - 重新加载你的配置 `fcommand.admin` - 获取更新通知以及访问 /fcmd reload # 配置 ```yaml # 仅在开发者要求时开启此项 # 它可能会在你的控制台和/或聊天中发送垃圾信息 ;-) debug: false # 示例配置 command: # 命令的名称。 command1: key: f # f 或 q # 玩家需要潜行才能执行命令吗? requireShift: false # 执行此命令所需的权限是什么? permission: f-command.example # 应作为哪个玩家执行命令? # 你也可以在此处使用 PlaceholderAPI! # 不带 / command: say f no shift # 阻止掉落物品或交换手发生 cancel: true # 是否应从服务器执行命令? executeAsServer: false command2: key: F requireShift: True permission: f-command.example command: say F shift cancel: true executeAsServer: false ``` # bStats [![](https://bstats.org/signatures/bukkit/F-Command.svg)](https://bstats.org/plugin/bukkit/F-Command) ## 特别鸣谢 [mfnalex](https://github.com/JEFF-Media-GbR/Spigot-UpdateChecker) 因他的插件更新检查器 [Ntdi ](https://github.com/n-tdi) 因协助开发