# PlugManX
PlugManX 是一个简单易用,允许服务器管理员在游戏内或控制台中管理插件,而无需重启服务器的插件。
## 功能
* 从游戏内或控制台中启用、禁用、重启、加载、重载和卸载插件。
* 以字母顺序列出插件,如果指定了版本,则包含版本。
* 获取关于插件的有用信息,例如命令、版本、作者等。
* 轻松管理插件,而无需不断地重启服务器。
* 列出插件注册的命令。
* 查找命令注册的插件。
* 命令名称和插件名称的制表符补全。
* 将插件列表和版本转储到文件。
* 检查插件是否与 dev.bukkit.org 保持最新状态。
* 权限支持 - 所有命令默认为 OP。
## 命令
| 命令 | 描述 |
|---------------------------------------|-------------------------------------------------------------------|
| /plugman help | 显示帮助信息。 |
| /plugman list [-v] | 以字母顺序列出插件。使用 "-v" 包含版本。 |
| /plugman info [plugin] | 显示关于插件的信息。 |
| /plugman dump | 将插件名称和版本转储到文件。 |
| /plugman usage [plugin] | 列出插件注册的命令。 |
| /plugman lookup [command] | 查找命令注册的插件。 |
| /plugman enable [plugin|all] | 启用插件。 |
| /plugman disable [plugin|all] | 禁用插件。 |
| /plugman restart [plugin|all] | 重启(禁用/启用)插件。 |
| /plugman load [plugin] | 加载插件。 |
| /plugman reload [plugin|all] | 重载(卸载/加载)插件。 |
| /plugman unload [plugin] | 卸载插件。 |
| /plugman check [plugin|all] [-f] | 检查插件是否是最新的。 |
## 权限
| 权限节点 | 默认 | 描述 |
|---------------------|---------|---------------------------------------|
| plugman.admin | OP | 允许使用所有 PlugMan 命令。 |
| plugman.update | OP | 允许用户查看更新消息。 |
| plugman.help | OP | 允许使用帮助命令。 |
| plugman.list | OP | 允许使用列表命令。 |
| plugman.info | OP | 允许使用信息命令。 |
| plugman.dump | OP | 允许使用转储命令。 |
| plugman.usage | OP | 允许使用用法命令。 |
| plugman.lookup | OP | 允许使用查找命令。 |
| plugman.enable | OP | 允许使用启用命令。 |
| plugman.enable.all | OP | 允许使用启用所有命令。 |
| plugman.disable | OP | 允许使用禁用命令。 |
| plugman.disable.all | OP | 允许使用禁用所有命令。 |
| plugman.restart | OP | 允许使用重启命令。 |
| plugman.restart.all | OP | 允许使用重启所有命令。 |
| plugman.load | OP | 允许使用加载命令。 |
| plugman.reload | OP | 允许使用重载命令。 |
| plugman.reload.all | OP | 允许使用重载所有命令。 |
| plugman.unload | OP | 允许使用卸载命令。 |
| plugman.check | OP | 允许使用检查命令。 |
| plugman.check.all | OP | 允许使用检查命令。 |
## 配置
| 文件 | URL |
|------------|----------------------------------------------------------------------------------------------------|
| config.yml | https://github.com/Test-Account666/PlugManX/blob/master/plugman-core/src/main/resources/config.yml |
## 许可证
本项目是 [PlugMan](https://github.com/r-clancy/PlugMan) (链接已失效) 的一个分支,并采用相同的许可证:[LICENSE](https://github.com/Test-Account666/PlugManX/blob/master/license/mit/license.txt)。