# InstantRestock
[](https://github.com/spartacus04/InstantRestock/actions/workflows/gradle.yml)
[](https://www.codefactor.io/repository/github/spartacus04/instantrestock)






> 一个允许村民无限交易的Spigot插件
## 概述
**InstantRestock** 插件旨在通过提供村民交易的即时刷新来增强您的 Minecraft 服务器。 使用此插件,您可以轻松配置各种交易机制以适应您的游戏风格。
## 功能
- **最大交易数配置**: 使用 `/instantrestock config maxTrades <数字/无限>` 命令自定义村民可以提供的最大交易数量。
- **价格惩罚控制**: 使用 `/instantrestock config disablePricePenalty <真/假>` 命令启用或禁用 Minecraft 版本大于或等于 1.18 的价格惩罚。
- **卸载模式**: 使用 `/instantrestock config uninstallMode <真/假>` 命令切换卸载模式的开启或关闭。
- **旅行商人**: 使用 `/instantrestock config allowTravellingMerchants <真/假>` 命令启用或禁用旅行商人的无限交易。
- **村民黑名单**: 使用 `/instantrestock config villagerBlacklist <添加/移除/列表> <村民类型>` 命令添加、移除或列出黑名单中的村民。
## 用法
### 配置
使用以下命令配置插件:
- `/instantrestock config maxTrades <数字/无限>`: 设置村民可以提供的最大交易数量。
- `/instantrestock config disablePricePenalty <真/假>`: 启用或禁用 Minecraft 版本 >= 1.18 的价格惩罚。
- `/instantrestock config uninstallMode <真/假>`: 切换卸载模式的开启或关闭。
- `/instantrestock config allowTravellingMerchants <真/假>`: 启用或禁用旅行商人的无限交易。
- `/instantrestock config villagerBlacklist <添加/移除/列表> <村民类型>`: 管理村民黑名单。
### 重新加载插件
- `/instantrestock reload`: 从配置文件重新加载插件。
## 权限
- `instantrestock.reload`: 允许玩家使用 `/instantrestock reload` 命令。
- `instantrestock.config`: 允许玩家使用上述配置命令。
## 支持
如果您遇到任何问题或对 **InstantRestock** 插件有任何疑问,请通过 [问题跟踪器](https://github.com/spartacus04/InstantRestock/issues) 与我们联系。
## 许可证
本插件采用 [MIT 许可证](https://github.com/spartacus04/InstantRestock/blob/master/LICENSE) 进行分发。 您可以根据需要随意修改和共享它。
享受使用 **InstantRestock** 插件自定义 Minecraft 服务器上的村民交易体验吧!