描述:此插件允许玩家种植并培育能够掉落物品的树木(例如苹果),这些物品会掉落在树周围的地面上。这是一种帮助玩家获取难以找到的物品(如苹果、可可豆等)的有趣方式。烤猪肉树之类的设定也会很有趣。:)
功能:
- 在土壤(即耕地)中种植物品,生长出能在地面掉落该物品的树木
- 配置文件可控制允许的树木类型、物品掉落间隔以及是否需要肥料
- 权限控制谁可以种植树木(以及种植何种类型)
安装:将 Appleseed.jar 放入你的 Bukkit 服务器 plugins 文件夹中,然后重启或重载服务器。插件首次加载后,将生成 Appleseed/config.yml 文件。有关配置文件中包含的内容详情,请参见下文。必须重启或重载服务器才能使插件读取配置文件的更改。
肥料:如果树木设置了“RequireFertilizer”为“Yes”,则它们将停止掉落物品,并需要骨粉作为肥料才能继续。要为树木施肥,请在手中持有骨粉并右键点击树干上的任意位置。多次施肥不会造成伤害,即使在树木仍在掉落物品时施肥也是如此。
告示牌:如果玩家拥有相应权限,他们可以在已种植的树木上放置一块写着“[Appleseed]”的告示牌。告示牌将显示树木的类型,文字颜色表示其状态。如果文字为浅蓝色,则该树是“无限”树,永远不会需要肥料。如果文字为绿色,则树木健康且正在掉落物品。如果文字为红色,则树木需要先施肥才能继续掉落物品。
配置文件:请记住,配置文件是一个 YAML 文件,因此缩进非常重要。
- DropInterval:这决定了物品掉落的时间频率。默认值为 60 秒;低于此值可能会导致卡顿。
- FertilizerItem:用于给树木施肥的物品。默认为骨粉。
- MaxUncollectedItems:可选,树下未收集物品的近似最大数量。
- MaxTreesPerPlayer:可选,限制每位玩家可以种植的树木数量上限。
- MaxIsPerWorld:可选,如果定义了 MaxTreesPerPlayer,此选项允许将上限设置为按世界还是全局生效。
- WandItem:手持此物品右键点击树木可查看其类型和肥料状态。
- MinimumTreeDistance:可选,树木之间的最小距离。
- SignTag:应放置在告示牌方括号内的文本(默认为“Appleseed”)。
- TreeTypes:本节定义允许种植的树木类型。每种树木类型必须设置以下值:
- DropLikelihood:每次间隔发生掉落的几率。可设置为 0-100,其中 100 表示必定掉落,1 表示一百次间隔中有一次掉落机会。现在也支持小数。
- RequireFertilizer:如果设置为 Yes,此类树木将停止掉落物品并需要骨粉才能继续(如果将此设置为 yes,则还必须设置 DropsBeforeFertilizer 或 IntervalsBeforeFertilizer)。
- DropsBeforeFertilizer:设置在树木疲劳并需要肥料之前的近似掉落次数(此选项不能与 IntervalsBeforeFertilizer 结合使用)。
- IntervalsBeforeFertilizer:设置在树木疲劳并需要肥料之前的近似时间间隔数(此选项不能与 DropsBeforeFertilizer 结合使用)。
- TreeType:定义从树苗长成的树木类型。可以是“Standard”、“Spruce”、“Birch”或“Jungle”。
- MaxFertilizer:可选,树木可以被施肥的大致次数。达到最大值后,树木死亡(树干消失,树叶腐烂)。
权限:
- appleseed.plant.*:这将允许种植 AllowedTreeTypes 列表中的任何物品。
- appleseed.plant.apple:仅允许种植“苹果”。
- appleseed.infinite.plant:拥有此权限的玩家种植的树木永远不会停止掉落物品。
- appleseed.infinite.fertilizer:拥有此权限的玩家为树木施肥后,树木将不再需要肥料。
- appleseed.infinite.cap:允许玩家种植超过定义的 MaxTreesPerPlayer 数量的树木。
- appleseed.wand:玩家可以使用法杖物品(默认为木锄)右键点击树木以获取树木类型和肥料状态。
- appleseed.sign.place:玩家有权在树上放置 [Appleseed] 告示牌。
<p>
本视频演示了如何种植苹果树和曲奇树。请注意,为了演示目的,掉落率已被提高。
Description: This plugin allows players to plant and grow trees that drop items, such as apples, on the ground around the tree. This can be a fun way to help your players to obtain hard to find items like apples, cocoa beans, etc. Cooked pork trees or the like can be entertaining as well. :)
Features:
- Plant items in soil(aka farmland) and grow a tree that drops that item on the ground
- Config file that controls allowed types of trees, item drop interval, and the need for fertilizer
- Permissions to control who can plant trees(and what type)
Installation: Drop Appleseed.jar in your Bukkit server plugins folder and restart/reload the server. After the plugin loads the first time the Appleseed/config.yml file will be created. See below for details on what is contained in the config file. Restarting/reloading the server is required for the plugin to see changes to the config file.
Fertilizer: If trees have the setting "RequireFertilizer" set to "Yes", then they will stop dropping items and require bonemeal as fertilizer to continue. To fertilize a tree, hold bonemeal in your hand and right-click anywhere on the trunk of the tree. Fertilizing more than once doesn't hurt, neither will fertilizing while a tree is still dropping items.
Signs: If a player has permission, they can place a sign on a planted tree that reads "[Appleseed]". The sign will show the type of tree it is, and the color of the text will indicate it's status. If the text is light blue, the tree is an "infinite" tree and will never require fertilizer. If the text is green, then the tree is healthy and dropping items. If the text is red, then the tree requires fertilizer before it will continue dropping items.
Config File: Remember, the config file is a YAML file, so the indentation is significant.
- DropInterval: This determines how often items might drop. The default is 60 seconds; any value lower than this might cause lag.
- FertilizerItem: Item used to fertilize a tree. Defaults to bone meal.
- MaxUncollectedItems: Optional, approximate maximum number of items that can sit uncollected under a tree.
- MaxTreesPerPlayer: Optional cap on number of trees a player can plant.
- MaxIsPerWorld: Optional, if MaxTreesPerPlayer is defined, this allows the max to be either per world or server-wide.
- WandItem: Right click a tree with this item in hand to see its type and fertilizer status.
- MinimumTreeDistance: Optional, minimum distance between trees.
- SignTag: Text that should be placed within square brackets on signs (defaults to "Appleseed").
- TreeTypes: This section defines the allowed types of trees that can be planted. The following values must be set for each tree type:
- DropLikelihood: The chance of a drop happening each interval. Can be set from 0-100, where 100 is always drop and 1 is one chance in a hundred intervals. Fractional values now permitted.
- RequireFertilizer: If set to Yes, the trees of this type will stop dropping items and require bonemeal to continue (if you set this to yes, either DropsBeforeFertilizer or IntervalsBeforeFertilizer must also be set).
- DropsBeforeFertilizer: Sets the approximate number of drops before the tree gets tired and requires fertilizer (this option cannot be combined with IntervalsBeforeFertilizer).
- IntervalsBeforeFertilizer: Sets the approximate number of time intervals before the tree gets tired and requires fertilizer (this option cannot be combined with DropsBeforeFertilizer).
- TreeType: Defines the type of tree that will grow from the sapling. Can be "Standard", "Spruce", "Birch", or "Jungle".
- MaxFertilizer: Optional, approximate number of times a tree can be fertilized. After the maximum is reached, the tree dies (trunk disappears and the leaves decay).
Permissions:
- appleseed.plant.*: This will allow the planting of any item in the AllowedTreeTypes list.
- appleseed.plant.apple: This only allows the planting of an "apple".
- appleseed.infinite.plant: Trees planted by a player with this permission will never stop dropping items.
- appleseed.infinite.fertilizer: Trees fertilized by a player with this permission will never need fertilizer again.
- appleseed.infinite.cap: This allows a player to plant more than the defined MaxTreesPerPlayer.
- appleseed.wand: Players can right-click a tree with a wand item(defaults to wooden hoe) to get type of tree and fertilizer status.
- appleseed.sign.place: Player has permission to place an [Appleseed] sign on a tree.
<p>
This video demonstrates how to plant an apple and a cookie. Note that the drop rate has been increased for demonstration purposes.
评论 0
登录后参与评分
还没有评论,来抢沙发吧