Super Farming
中文文档 (Chinese README)
Super Farming 是一款专为 Folia/Paper/Spigot 服务器设计的 Minecraft 插件,引入了一个高级的自动化农场系统。它允许玩家制作特殊的“超级锄头”,用于创建全自动农场,处理从耕地、种植到施肥和收获的所有流程。
功能
- 分级超级锄头:制作不同等级的锄头,并自定义其能力。
- 全自动农场:将二级超级锄头放置在堆肥桶上,即可创建一个自动运行的农场。
- 砧台自定义:使用砧台升级锄头的范围、模式(施肥)及骨粉使用情况。
- 可配置性:服务器管理员可以通过
config.yml 调整关键参数,如处理速度、农场范围和骨粉限制。
- 兼容 Folia:专为 Folia 的多线程环境构建,确保操作线程安全及服务器的稳定性。
- 权限支持:对谁可以使用插件功能进行细粒度控制。
- 多语言支持:默认附带英文和中文语言文件。
入门指南
1. 制作超级锄头(一级)
你可以在合成台中按照以下配方制作一级超级锄头(此配方可以自定义):
- 第一行:钻石、下界合金锭、钻石
- 第二行:钻石、下界合金锄、钻石
- 第三行:空、下界合金锭、空
2. 升级锄头(可选)
你可以在砧台上自定义你的超级锄头:
- 重命名:给锄头起一个自定义名称。
- 与回音碎片结合:增加锄头耕作操作的 Y轴范围。
- 与骨粉结合:设定自动农场每个周期使用的 最大骨粉量。
- 与红石结合:开启或关闭 肥料模式。
3. 制作二级超级锄头
要创建自动农场,你需要一个二级超级锄头。使用以下配方进行制作:
- 在锻造台的中央放置一个 一级超级锄头。
- 在上游槽位添加一颗 下界之星。
4. 创建自动农场
- 在地面上放置一个 堆肥桶 方块。这将成为你农场的中心。
- 手持 二级超级锄头。
- 潜行并右键点击 堆肥桶。
锄头将被放置在一个不可见的盔甲架上,农场随即激活,自动耕种堆肥桶周围的区域。
5. 停用农场
若要收回锄头并停止农场运作,只需 破坏堆肥桶方块。如果你是所有者,锄头将会返回到你的物品栏中。
命令
/super_farming reload - 重新加载插件的 config.yml 和语言文件。
/super_farming give <player> <item_name> - 给予玩家特定的 Super Farming 物品(例如 super_hoe_tier1)。
权限
super_farming.reload: 允许玩家使用 /super_farming reload 命令。
super_farming.give: 允许玩家使用 /super_farming give 命令。
super_farming.admin.bypass: 允许玩家破坏或取回不属于他们的农场。
配置 (config.yml)
config.yml 文件允许你自定义插件的各个方面:
# 农场处理任务运行的频率(以刻为单位)。20 刻 = 1 秒。
farm-processing-interval: 20
# 农场搜索可耕种方块的最大 Y 轴范围。
# 可以使用回音碎片在锄头上升级此项。
max-y-range: 5
# 自动农场每个周期可使用的最大骨粉量。
# 可以在砧台上通过将锄头与骨粉结合来设置此项。
max-bonemeal-amount: 10
Super Farming
中文文档 (Chinese README)
Super Farming is a Minecraft plugin designed for Folia/Paper/Spigot servers that introduces an advanced, automated farming system. It allows players to craft special "Super Hoes" that can be used to create fully automatic farms, handling everything from tilling and planting to fertilizing and harvesting.
Features
- Tiered Super Hoes: Craft different levels of hoes with customizable abilities.
- Fully Automatic Farms: Place a Tier 2 Super Hoe on a composter to create a farm that works automatically.
- Customizable via Anvil: Use an anvil to upgrade your hoe's range, mode (fertilizing), and bone meal usage.
- Configurable: Server administrators can adjust key parameters like processing speed, farm range, and bone meal limits via
config.yml.
- Folia Compatible: Built with Folia's multi-threaded environment in mind, ensuring thread-safe operations and server stability.
- Permissions Support: Fine-grained control over who can use the plugin's features.
- Multi-language Support: Comes with English and Chinese language files by default.
How to Get Started
1. Craft a Super Hoe (Tier 1)
You can craft a Tier 1 Super Hoe using the following recipe in a crafting table (this recipe can be customized):
- Top Row: Diamond, Netherite Ingot, Diamond
- Middle Row: Diamond, Netherite Hoe, Diamond
- Bottom Row: Air, Netherite Ingot, Air
2. Upgrade the Hoe (Optional)
You can customize your Super Hoe on an anvil:
- Rename: Give your hoe a custom name.
- Combine with Echo Shard: Increases the Y-axis range of the hoe's farming operations.
- Combine with Bone Meal: Sets the maximum amount of bone meal the automatic farm will use per cycle.
- Combine with Redstone: Toggles the fertilizer mode on or off.
3. Craft a Tier 2 Super Hoe
To create an automatic farm, you need a Tier 2 Super Hoe. Craft it using the following recipe:
- Place a Tier 1 Super Hoe in the center of a Smithing Table.
- Add a Nether Star to the upgrade slot.
4. Create an Automatic Farm
- Place a Composter block on the ground. This will be the center of your farm.
- Hold the Tier 2 Super Hoe.
- Sneak and right-click the Composter.
The hoe will be placed in an invisible armor stand, and the farm will activate, automatically farming the area around the composter.
5. Deactivate the Farm
To get your hoe back and stop the farm, simply break the Composter block. If you are the owner, the hoe will be returned to your inventory.
Commands
/super_farming reload - Reloads the plugin's config.yml and language files.
/super_farming give <player> <item_name> - Gives a player a specific Super Farming item (e.g., super_hoe_tier1).
Permissions
super_farming.reload: Allows a player to use the /super_farming reload command.
super_farming.give: Allows a player to use the /super_farming give command.
super_farming.admin.bypass: Allows a player to break or retrieve farms they do not own.
Configuration (config.yml)
The config.yml file allows you to customize various aspects of the plugin:
# How often the farm processing task runs (in ticks). 20 ticks = 1 second.
farm-processing-interval: 20
# The maximum Y-level range a farm can search for blocks to farm.
# This can be upgraded on a hoe using an Echo Shard.
max-y-range: 5
# The maximum amount of bone meal an automatic farm can use per cycle.
# This can be set on a hoe by combining it with bone meal in an anvil.
max-bonemeal-amount: 10
评论 0
登录后参与评分
还没有评论,来抢沙发吧