Sprout
请在下载并将此插件安装到您的服务器之前,务必阅读本页面上的所有信息。
此插件为用户提供了前所未有的功能,但其设置和配置过程非常严格且挑剔。
单格幼苗

多格幼苗

核心功能
- 添加“无限”数量的可种植、生长和收获的幼苗!
- 所有收获的物品均可用于制作其他物品!
- 超高速多线程 H2 或 MySQL 数据库,几乎不会产生额外的服务器延迟!
- 由 AlmuraDev 团队设计与编码,品质值得信赖。
可配置选项
- 无限的生长阶段,支持基于秒数的定时以及随机化机制。
- 无限的可配置掉落物,并支持配置额外掉落几率。
- 可配置的光照值要求。
- 可配置的肥料类型和数量。
- 可配置的对玩家造成的伤害(例如可以配置尖刺藤蔓的伤害?!)。
支持多世界 / SqlLite 或 MySql
- 除了每个作物的生长阶段拥有独立的配置外,每个世界还有一个父级生长值参数。您可以为作物在不同世界中放置时设定不同的生长速率。
- 数据库引擎支持使用 SqlLite 或 MySql。
幼苗收获与种植要求
- 目前,作物不需要水,但我们防止土壤方块变回泥土或草方块。
- 作物会受到水和活塞的影响,因此您可以将它们用于自动化农场。
种子掉落
每种种子掉落类型都可以配置为在破坏特定类型的方块时掉落。每种类型的种子都有特定的掉落几率可供配置,例如:破坏 Long_Grass(长草),您可以配置它有 1-10 的几率掉落特定的种子。
预配置的幼苗与掉落物
AlmuraDev 团队与Kaynide合作,为用户提供了一套预配置的作物、掉落物、可制作物品等。我们在 1.2 版本中为您包含了一个通用的 sprout.yml 文件。您需要从下方的链接下载 MoreMaterials。
您还需要 SMP 包,该包处理了我们预配置的自定义作物所需的材料、图片等。SMP 文件应放入您的 /plugins/morematerials/materials 目录中。此文件是使预配置包正常工作的必要条件。
MoreMaterials 所需的 SMP 包
目前预配置文件包含以下幼苗:

1.4 版本新增的幼苗

1.5 版本新增的嫩芽

所有这些嫩芽都配置了相同的生长速率,并且总共包含 4 个生长阶段。
Spoutcraft & SpoutPlugin

立即获取 Spoutcraft & Spoutplugin! >> 获取 Spout!
开发者:
支持
有关此插件及所有其他 AlmuraDev 插件的支持,请加入我们的聊天频道:
在此处进入 Mibbit 聊天室
配置
文件:config.yml
# 您可以为每个世界的生长任务中每次刻(tick)之间的间隔(等待时间)进行指定。
# 这些值的单位是刻(ticks),而不是秒。大约 20 刻等于 1 个真实秒
# 因此请牢记这一点(例如 300 刻 = 每 15 秒)。
#
# 未在此文件中列出的世界将不具有生长值!请务必注意。
#
# 只需按照下面的样式添加更多条目即可。键名为世界名称。
#
# 警告:如果设置的数值过低,对于拥有大量自定义作物的服务器来说负担过重。
# 200 通常是一个不错的折中方案,但您可以自行尝试并观察
# 哪种设置适合您的环境。
#
# 我们还支持 SQL(h2、sqlite 和 mysql)。如果您指定 h2 或 sqlite,则无需
# 更改任何其他字段,仅 mysql 模式需要此信息。
#
# 警告:我们仅在性能影响方面对 h2 进行了彻底测试,因此仅
# 推荐该模式。我们不保证 sqlite 或 mysql 能达到相同的
# 性能水平。
#
# 反馈:
# bonus-message: true/false = 当用户获得额外掉落时,在聊天中显示一条消息。
#
# Jobs 插件:
# enabled: true/false = 为农业职业启用 Jobs 插件挂钩。
#
# ForceLoadChunks:
# enabled: true/false = 启用后,如果幼苗即将生长且该区块尚未加载,则强制加载该区块。
#
# 更新日期:2014年2月22日 - 版本 1.6
world:
growth-interval: 200
sql:
mode: h2
host: localhost
database: minecraft
port: 25566
username: minecraft
password: minecraft
feedback:
bonus-message: true
jobs:
enabled: false
forceloadchunks:
enabled: false
Sprout 配置文件
文件:sprouts.yml
# 警告:此文件中的错误会导致大量问题,并在启动服务器时被标记出来。
#
alfalfa:
item-source: MoreMaterials\KFood_Core\alfalfa_seed
block-source: MoreMaterials\KFood_Core\flatseed
fertilizer-source: bonemeal
fertilizer-amount: 1
min-light-level: 7
max-light-level: 15
bonus-chance: 10
minimum-level-required: 18
drops:
MoreMaterials\KFood_Core\alfalfa:
amount: 1
MoreMaterials\KFood_Core\alfalfa_seed:
amount: 1
bonus:
MoreMaterials\KFood_Core\alfalfa_seed:
amount: 1
MoreMaterials\KFood_Core\alfalfa:
amount: 1
tools:
MoreMaterials\Example\Tool:
required: false
bonus: true
bonus-amount: 1
MoreMaterials</span>Example2</span>Tool:
required: true
stages:
1:
source: MoreMaterials</span>KFood_Core</span>flatseed
fertilizer-source: bonemeal
fertilizer-amount: 1
min-light-level: 7
max-light-level: 15
growth-required: 60
growth-chance: 5
2:
source: MoreMaterials</span>KFood_Core</span>alfalfa1
fertilizer-source: bonemeal
fertilizer-amount: 1
min-light-level: 7
max-light-level: 15
growth-required: 120
growth-chance: 5
3:
source: MoreMaterials</span>KFood_Core</span>alfalfa2
fertilizer-source: 骨粉
fertilizer-amount: 1
min-light-level: 7
max-light-level: 15
growth-required: 180
growth-chance: 5
4:
source: MoreMaterials</span>KFood_Core</span>alfalfa3
工具:
MoreMaterials</span>Sprout-Tools</span>HarvestClaw:
必需:false
可选:true
bonus-amount: 5
fertilizer-source: 骨粉
肥料-数量: 1
最小-光照-等级: 7
最大-光照-等级: 15
生长-所需: 240
生长-几率: 5
变量:
允许-施肥: true;
damage-player: false
drop-item-source-on-grass-break: true
ignore-light: false
命令:
- /Sprout clear = 清除所有世界中所有的 Sprouts,将清除数据库并重置方块上的自定义数据,同时用空气替换之前的 Sprout 方块。
- /Sprout clear WORLD = 清除指定名称世界中的所有 Sprouts。
请注意,根据您拥有的 Sprouts 数量,此命令可能需要很长时间才能完成。
硬依赖项
为了使 Sprouts 插件正常运行,需要以下依赖项
服务器/客户端负载预期
我们的 Sprout 插件处于行业前沿,此前从未有人在 SpoutPlugin/Spoutcraft 平台上以这种方式尝试过。我们投入时间对该插件进行了全面测试,并对其对服务器和客户端的性能负载进行了分析,发现它几乎不会为服务器或客户端带来额外的 TPS 延迟。
我们的数据库使用 SimpleSave SQL 处理程序和 H2 数据库连接器,它们被打包进 sprout.jar 文件中,使得该文件的大小达到 2mb+。结合 Tint21TripleHashMaps 的强大功能,这可能是当今任何插件中最快的数据库搜索能力之一。
MySql Server 优化
根据服务器上生长的芽的数量,服务器在关闭/停止时可能需要额外的时间。当插件停止时,它会验证内存中的数据库与服务器上存在的内容是否一致,如果芽没有完全生长。需要更新的芽会通过 SQL 调用追加或更新。建议将数据库设置为 MyISAM 并启用查询缓存。
插件指标通知
本插件使用了 Hidendra 的插件指标系统,这意味着以下信息会被收集并发送到 mcstats.org:
- 一个唯一的标识符
- 服务器的 Java 版本
- 服务器是离线模式还是在线模式
- 插件的版本
- 服务器的版本
- 操作系统版本/名称和架构
- CPU 的核心数
- 在线玩家数量
- Metrics 版本
可以通过编辑 plugins/Plugin Metrics/config.yml 并将 opt-out 更改为 true 来退出此服务。
对本项目的捐赠可以指向这里:PayPal: 点击这里
非常感谢您的考虑。
Sprout
Please be sure to read all the information on this plugin before downloading and installing it onto your server.
This plugin offers something never before made available to users but is extremely picky to how it is setup and configured.
Single Block Sprouts

Multi Block Sprouts

Core Features
- Add "Unlimited" amounts of new plantable, growable, harvestable sprouts!
- All harvested items can be used to craft additional items!
- Super-Fast Multi-threaded H2 or MySql Database for virtually zero additional server lag!
- Designed and Coded by the AlmuraDev team, so you know its good.
Configurable Options
- Unlimited Growth Stages, timed (seconds based), with a randomizer.
- Unlimited configurable drops with configurable bonus chances.
- Configurable light value requirements.
- Configurable fertilizer types and amounts.
- Configurable Damage to Player (can configure spike vines?!?).
Multi-World Enabled / SqlLite or MySql
- Along with each crop growth stage having its own configuration, each world has a parent growth value. You can make certain crops grow at certain rates for each world they are placed in.
- Database engine can use SqlLite or MySql.
Sprout Harvest & Planting Requirements
- At the moment, crops do not require water, however we do prevent the soil block from changing back into Dirt or Grass.
- Crops will be affected by water and pistons so you can use them for automated farms.
Seed Drops
Each seed drop type can be configured to drop based on breaking a specific type of block. Each type of seed has specific chances you can configure, example: Break Long_Grass and you can configure it to have a 1-10 chance of dropping a specific seed.
Pre-Configured Sprouts and Drops
The AlmuraDev team along with Kaynide have come together to provide users with a pre-configured set of crops as well as drops, craftable items etc. We have included a generic sprout.yml file for you in version 1.2. You will need to download MoreMaterials from the link below.
You will also need the SMP package that handles the materials, images etc for the pre-configured custom crops we've configured. The SMP file goes into your /plugins/morematerials/materials This file is required to make the pre-configured package work.
Required SMP packages for MoreMaterials
Currently the pre-configure files include the following Sprouts:

Sprouts added in 1.4

Sprouts added in 1.5

All of these Sprouts are configured with the same growth rates as well as a total of 4 growth stages.
Spoutcraft & SpoutPlugin

Get Spoutcraft & Spoutplugin Now! >> Get Spout!
Developers:
Support
Support for this and all other AlmuraDev plugins can be found by joining our chat channel here:
Mibbit Chat Here
Configuration
File: config.yml
# You can specify the intervals (wait times) between each tick of the growth task per world.
# These values are in ticks, not seconds. There is approximately 20 ticks in one real second
# so keep that in mind (IE 300 ticks = every 15 seconds).
#
# Any worlds not listed in this file will NOT HAVE A GROWTH VALUE! Keep this in mind.
#
# Simply follow the style below to add more. Keys are world names.
#
# WARNING: Setting a value too low will be too intensive for servers with many custom crops.
# Two hundred is typically a good compromise but feel free to experiment and see
# what works for your environment.
#
# We also support SQL (h2, sqlite, and mysql). If you specify h2 or sqlite then you do not
# need to change any additional fields, only mysql mode needs this information.
#
# WARNING: We have only tested h2 thoroughly for performance impact and therefore only
# recommend that mode. We make no promises that sqlite or mysql will have the same
# level of performance.
#
# Feedback:
# bonus-message: true/false = displays a message in the users chat when they receive a bonus drop.
#
# Jobs:
# enabled: true/false = Enabled the Jobs Plugin Hooks for the Farming Job.
#
# ForceLoadChunks:
# enabled: true/false = Enables the ability to force load a chunk if a Sprout is due to grow and it isn't already loaded.
#
# Updated: 2/22/2014 - Version 1.6
world:
growth-interval: 200
sql:
mode: h2
host: localhost
database: minecraft
port: 25566
username: minecraft
password: minecraft
feedback:
bonus-message: true
jobs:
enabled: false
forceloadchunks:
enabled: false
Sprout Configuration File
File: sprouts.yml
# WARNING: errors in this file will cause you lots of issues that will be flagged when you start your server.
#
alfalfa:
item-source: MoreMaterials\KFood_Core\alfalfa_seed
block-source: MoreMaterials\KFood_Core\flatseed
fertilizer-source: bonemeal
fertilizer-amount: 1
min-light-level: 7
max-light-level: 15
bonus-chance: 10
minimum-level-required: 18
drops:
MoreMaterials\KFood_Core\alfalfa:
amount: 1
MoreMaterials\KFood_Core\alfalfa_seed:
amount: 1
bonus:
MoreMaterials\KFood_Core\alfalfa_seed:
amount: 1
MoreMaterials\KFood_Core\alfalfa:
amount: 1
tools:
MoreMaterials\Example\Tool:
required: false
bonus: true
bonus-amount: 1
MoreMaterials\Example2\Tool:
required: true
stages:
1:
source: MoreMaterials\KFood_Core\flatseed
fertilizer-source: bonemeal
fertilizer-amount: 1
min-light-level: 7
max-light-level: 15
growth-required: 60
growth-chance: 5
2:
source: MoreMaterials\KFood_Core\alfalfa1
fertilizer-source: bonemeal
fertilizer-amount: 1
min-light-level: 7
max-light-level: 15
growth-required: 120
growth-chance: 5
3:
source: MoreMaterials\KFood_Core\alfalfa2
fertilizer-source: bonemeal
fertilizer-amount: 1
min-light-level: 7
max-light-level: 15
growth-required: 180
growth-chance: 5
4:
source: MoreMaterials\KFood_Core\alfalfa3
tools:
MoreMaterials\Sprout-Tools\HarvestClaw:
required: false
bonus: true
bonus-amount: 5
fertilizer-source: bonemeal
fertilizer-amount: 1
min-light-level: 7
max-light-level: 15
growth-required: 240
growth-chance: 5
variables:
allow-fertilization: true;
damage-player: false
drop-item-source-on-grass-break: true
ignore-light: false
Commands:
- /Sprout clear = Clears all Sprouts from ALL worlds, will clear DB and reset custom data on blocks and replace previous Sprout blocks with AIR.
- /Sprout clear WORLD = Clears all Sprouts for WORLD name.
Be advised that depending on how many Sprouts you have this command can take a very long time to complete.
Hard Dependencies
The following is required in order for the Sprouts plugin to function
Server / Client Load Expectations
Our Sprout plugin is cutting edge, never before has this been attempted on the SpoutPlugin/Spoutcraft platform in this manner. We've taken the time to thoroughly test this plugin as well as profile its load against the server and the client and found that it generates almost Zero additional TPS lag to the server or the client.
Our database uses SimpleSave SQL handlers and a H2 database connector which are shaded into the sprout.jar file which makes up its 2mb+ in size. Combined with the power of Tint21TripleHashMaps this probably has one of the fastest database search capabilities of any plugin available today.
MySql Server Optimizations
Depending on the number of growing sprouts your server may take additional time to shutdown / stop. When the plugin stops it will validate its in-memory database with what exists on the server if sprouts have not fully grown. Those sprouts that needs to be updated are then either appended to or updated via SQL calls. It is recommended that the database be set to MyISAM and having query caching enabled.
Plugin Metrics Notice
This plugin utilises Hidendra's plugin metrics system, which means that the following information is collected and sent to mcstats.org:
- A unique identifier
- The server's version of Java
- Whether the server is in offline or online mode
- The plugin's version
- The server's version
- The OS version/name and architecture
- The core count for the CPU
- The number of players online
- The Metrics version
Opting out of this service can be done by editing plugins/Plugin Metrics/config.yml and changing opt-out to true.
Donations for this project can be directed here: PayPal: Click Here
Many thanks for your consideration.
评论 0
登录后参与评分
还没有评论,来抢沙发吧