# FarmingPlus
什么是 **FarmingPlus**?
- FarmingPlus 是一个 Minecraft 农作物插件,为农业玩法添加了新的机制。
- 这是一个免费插件,易于使用和配置。
- 与以下插件兼容:
- Vault
- WorldGuard
- MythicMobs
- PlaceholderAPI
- 兼容 MySQL。
# 概述
FarmingPlus 是一个允许玩家体验新的农业机制的插件。 它包括新的附魔,带有自己的附魔 GUI,农业奖励等等。
# 特性
- **附魔**:
- Farmer's Grace: 防止农作物在践踏时被破坏。 **(靴子)**
- Replenish: 允许玩家自动重新种植农作物。 **(锄头/斧头)**
- Delicate: 防止茎被破坏。 **(斧头)**
- Irrigate: 允许玩家在一条线上灌溉 64 个方块(在 config.yml 中可配置)。 **(水桶)**
- Grand Tilling: 允许玩家耕耘一片区域。 **(锄头)**
- Level I: 3x3 区域。
- Level II: 5x5 区域。
- Level III: 64 个方块在一条线上(在 config.yml 中可配置)。
- Farmer's Step: 允许玩家从他们的物品栏中自动种植农作物,在他们移动的区域内。 **(靴子)**
- Level I: 3x3 区域。
- Level II: 5x5 区域。
- Level III: 7x7 区域。
- **附魔 GUI**:
- 使用附魔 GUI 为你的工具附魔。 在 config.yml 中配置成本。 它们可以是金钱、经验和物品。
- 使用 /fp 进行附魔。
- **奖励**:
在 rewards.yml 中配置你想要的奖励数量。 默认情况下,文件中包含一些例子。
排行榜记录了玩家何时以及获得了哪些奖励。 它每隔几分钟(在 config.yml 中可配置)保存一次 Json 文件。
- 它们与以下参数一起工作:
- crops:
- type:
- chance
- messages:
- sound:
- 根据类型,存在不同的额外参数:
- Money:
- amount:
- Item:
- items:
- Command:
- commands:
- Summon:
选择要召唤的怪物。 你可以使用 MythicMobs。
- mob:
- amount:
- level:
# 权限
- fp.gui.use: 允许玩家使用附魔 GUI。
- fp.autopickup: 允许玩家自动拾取他们破坏的农作物。
- fp.commands.reload: 重新加载 config.yml。
- fp.commands.help: 允许玩家使用 /fp help。
- fp.commands.reward.top: 允许玩家使用 /fp reward top。
- fp.commands.reward.list: 允许玩家使用 /fp reward list。
- fp.commands.reward.give: 允许玩家使用 /fp reward give。 (管理员)
- fp.commands.reward.clear: 允许玩家使用 /fp reward clear。 (管理员)
- fp.commands.enchants: 允许玩家使用 /fp enchants。
- fp.bypass.costs: 允许玩家在不支付成本的情况下附魔。
- fp.bypass.farmerstep: 使用 Farmer's Step 时无需物品栏中的农作物。
- fp.bypass.farmerstep.protection: 允许玩家在 WorldGuard 区域中使用 Farmer's step。
- fp.bypass.replenish: 使用 Replenish 时无需物品栏中的农作物。
- fp.bypass.replenish.protection: 允许玩家在 WorldGuard 区域中使用 Replenish。
- fp.bypass.grandtilling.protection: 允许玩家在 WorldGuard 区域中使用 Grand Tilling。
- fp.bypass.irrigate.protection: 允许玩家在 WorldGuard 区域中使用 Irrigate。
- fp.bypass.durability-damage: 使用时工具或靴子不会受到耐久度损失。
- fp.admin: 管理员权限。
# 兼容性
- **Vault**:
- 设置附魔物品的经济成本。
- 设置经济奖励。
- **WorldGuard**:
- Farmer's Step、Grand Tilling、Replenish、Irrigate 和奖励的区域控制。
- **MythicMobs**:
- 你可以召唤 MythicMobs 作为奖励。
- **PlaceholderAPI**:
- 你可以在其他插件中使用占位符。
# PlaceholderAPI 占位符
- %farmingplus_prefix%: 插件前缀,在 config.yml 中可配置。
- %farmingplus_total_rewards_top_number%: 奖励排行榜上的 **number** 名玩家。 更改 **number** 以访问你想要访问的前几名。
- %farmingplus_top_position%: 玩家在排行榜上的位置。
- %farmingplus_total_rewards%: 玩家的总奖励。
仅在插件中工作:
- %farmingplus_top_number%: 更改为未填写的数字顶部。 用于 config.yml 中的 **not-top-reward**。
# Discord
如果你有任何问题、发现错误或想提出建议,你可以加入官方 [Discord 服务器](https://discord.gg/2KhE6xeEnf)。
