SuperWheat - 作物在收获后会自动重新生长!
版本 v0.9
描述
此插件允许自动重新种植特定植物,如小麦、下界疣、胡萝卜、甘蔗、土豆和可可豆(植物)。
它支持多种收获模式:由玩家操作(需检查权限)、用水或活塞进行。
此外,您还可以限制植物是否可被活塞或水破坏;或者阻止玩家破坏未完全成熟的植物。
这是 SuperWheat 的重生版,原作者为 @thescreem
代码已重写,但创意和原始插件的所有功劳归于 thescreem!
附带配置文件与权限设置!
功能
- 支持多种植物
- 在植物完全成熟之前,玩家无法破坏它们。
- 一旦你收获了植物,它会立即自动重新种植。
- 支持三种收获方式
- 配置创造模式玩家允许执行的操作
- 会再次使用库存中的种子!(仅在由玩家破坏时生效,拥有绕过权限者可例外!)
- 启用或禁用植物被踩踏的效果
- 重载命令
- 多世界支持
配置文件
# 如需帮助,请参阅
# 论坛帖子:
# 或 Bukkit Dev 页面:
# 尝试破坏未成熟植物时应显示的消息
message: '&6[SuperWheat]该植物尚未完全生长!'
# 是否应显示上述消息
message-enabled: true
creative:
# 在创造模式下是否应该有掉落物
dropsCreative: false
# 防止在创造模式下破坏植物
blockCreativeDestroying: false
wheat:
# 小麦是否启用插件?
enabled: true
# 小麦踩踏效果仍然启用
trampling: true
# 小麦重新出现(击打)前的延迟时间
delayHit: 3
water:
# 小麦重新出现(水流)前的延迟时间
delay: 5
drops:
# 应掉落哪些物品?
wheat: true
种子: false
# 防止水破坏植物
prevent:
premature: true
mature: false
piston:
# 小麦重新出现前的延迟时间(活塞推动)
delay: 5
drops:
# 应该掉落哪些物品?
wheat: true
seed: false
# 防止活塞破坏植物
prevent:
premature: true
mature: false
# 请参阅上方关于小麦的注释部分——下界疣使用相同的系统
netherWart:
enabled: true
delayHit: 3
water:
delay: 5
drops:
netherWart: true
prevent:
premature: true
mature: false
piston:
延迟: 5
掉落物:
netherWart: true
prevent:
premature: true
mature: false
# 请参阅上方小麦的注释部分——可可豆植株使用相同的系统
cocoaPlant:
enabled: true
delayHit: 3
water:
delay: 5
drops:
cocoaPlant: true
prevent:
premature: true
mature: false
piston:
delay: 5
drops:
cocoaPlant: true
prevent:
premature: true
mature: false
# 请参阅上方小麦的注释部分——胡萝卜使用相同的系统
carrot:
enabled: true
trampling: true
delayHit: 3
water:
delay: 5
drops:
carrot: true
prevent:
premature: true
mature: false
piston:
delay: 5
drops:
carrot: true
prevent:
premature: true
mature: false
# 请参阅上方小麦的注释部分——马铃薯使用相同的系统
potato:
enabled: true
trampling: true
delayHit: 3
water:
delay: 5
drops:
potato: true
prevent:
premature: true
mature: false
piston:
delay: 5
drops:
potato: true
prevent:
premature: true
mature: false
# 请参阅上方小麦的注释部分——甘蔗采用相同的系统
# 特别说明:该插件不会检查方块是否完全成熟!
sugarCane:
enabled: false
delayHit: 3
water:
delay: 5
drops:
sugarCane: true
prevent: false
piston:
delay: 5
drops:
sugarCane: true
prevent: false
命令与权限
仅支持 Bukkit 权限!我强烈建议您使用如 bPermissions 或 PermissionsEX (PEX) 等权限管理插件!!
如果未找到任何权限系统,则所有权限仅限 OP(管理员)使用!
命令: /superwheat reload
别名: sw, superw
描述: 动态重新加载配置文件
节点: SuperWheat.reload
SuperWheat.*
描述: 包含所有权限
SuperWheat.wheat.*
描述: 包含所有关于小麦的权限
SuperWheat.wheat.regrowing
描述: 自动重新种植被收割的小麦
SuperWheat.wheat.destroying
描述: 允许你摧毁未完全成熟的作物
SuperWheat.wheat.seeds
描述: 同时掉落种子
SuperWheat.wheat.noseeds
描述: 当物品栏中没有种子时,允许自动重新种植
SuperWheat.netherwart.*
描述: 包含所有关于下界疣的权限
SuperWheat.netherwart.regrowing
描述: 自动重新种植被收割的下界疣
SuperWheat.netherwart.destroying
描述: 允许你摧毁未完全成熟的植株
SuperWheat.netherwart.noseeds
描述: 当物品栏中没有下界疣时,允许自动重新种植
SuperWheat.cocoaplant.*
描述: 包含所有关于可可豆(植株)的权限
SuperWheat.cocoaplant.regrowing
描述: 自动重新种植被收割的可可豆
SuperWheat.cocoaplant.destroying
描述: 允许你摧毁未完全成熟的植株
SuperWheat.cocoaplant.noseeds
描述: 当物品栏中没有可可豆时,允许自动重新种植
SuperWheat.carrot.*
描述: 包含所有关于胡萝卜的权限
SuperWheat.carrot.regrowing
描述: 自动重新种植被收割的胡萝卜
SuperWheat.carrot.destroying
描述: 允许你摧毁未完全成熟的植株
SuperWheat.carrot.noseeds
描述: 当物品栏中没有胡萝卜时,允许自动重新种植
SuperWheat.potato.*
描述: 包含所有关于马铃薯的权限
SuperWheat.potato.regrowing
描述: 自动重新种植被收割的马铃薯
SuperWheat.potato.destroying
描述: 允许你摧毁未完全成熟的植株
SuperWheat.potato.noseeds
描述: 当物品栏中没有马铃薯时,允许自动重新种植
SuperWheat.sugarcane.*
描述: 包含所有关于甘蔗的权限
SuperWheat.sugarcane.regrowing
描述: 自动重新种植被收割的甘蔗
SuperWheat.sugarcane.noseeds
描述: 当物品栏中没有甘蔗时,允许自动重新种植
下载/源代码/开发构建
此项目的开发构建版本可在提供的持续集成服务器上获取。这些构建版本未经 BukkitDev 工作人员批准。请自行承担使用风险。
(最新dev 构建/前沿构建) - - 来自 Jenkins 的开发构建
(源代码托管在 Github 上) - - 源代码
未来计划(即待办事项):
已知错误
更新日志
版本 0.9
- 添加了多世界支持
- 添加了 /superwheat reload 命令
版本 0.8
详细更新日志
鸣谢
@thescreem 提供了原始插件!
横幅
欢迎使用这个横幅!!:)


捐赠
非常感谢您任何形式的捐赠。
支持我,请我喝杯啤酒吧,这会让我很开心,并持续保持我对这个插件的热情。
捐赠链条:-> 我收到一笔钱 -> 购买咖啡 -> 工作更久 -> 更新更快 -> 您受益!
本页顶部(不同标签页右侧)有一个按钮。
我也接受比特币哦!:)

地址:1NnrRgdy7CfiYN63vKHiypSi3MSctCP55C
许可证
本插件基于 知识共享署名-非商业性使用-相同方式共享 3.0 未本地化版本协议 (CC BY-NC-SA 3.0) 发布!
SuperWheat - Plants auto re-grow after harvesting!
Version v0.9
Description
This plugin allows to the automatic re-planting of specific plants like wheat, nether warts, carrots, sugar cane, potatoes & cocoa (plants).
It supports different harvesting modes, by a player (permission checks), water or a piston.
Additionally you can limit if the plants should be destroy-able by a piston or water; or prevent players to destroy not fully grown plants.
It's a rebirth of SuperWheat from @thescreem
The code rewritten, but all credit of the idea and the original plugin goes to thescreem!
Ships with a config & permissions!
Features
- Support of different plants
- wheat
- nether warts
- cocoa (plants)
- carrots
- potatoes
- sugar canes
- Players can't destroy your plants until they're fully grown.
- Once you harvest the plant, the plant is automatically re-planted.
- Supporting three harvesting methods
- Player (also able to check permissions)
- Water
- Pistons
- Configure what the creative guys are allowed to do
- Uses the seeds out of the inventory again! (Only when broken by a player, permission to bypass it!)
- Enable or disable trampling of plants
- Command for reloading
- MultiWorld support
Config
# For help please either refer to the
# forum thread:
# or the bukkit dev page:
# Message which should be displayed while trying to destory a pre-mature plant
message: '&6[SuperWheat]Thatplantisnotfullygrownyet!'
# Should the message above be displayed
message-enabled: true
creative:
# Should there be drops in creative mode
dropsCreative: false
# Prevent the destroying of plants in creative mode
blockCreativeDestroying: false
wheat:
# Plugin enabled for wheat?
enabled: true
# Trampling of wheat is still enabled
trampling: true
# How long should be the delay until the wheat re-appears (punching)
delayHit: 3
water:
# How long should be the delay until the wheat re-appears (water flow)
delay: 5
drops:
# Which things should be dropped?
wheat: true
seed: false
# Prevent water from destroying plants
prevent:
premature: true
mature: false
piston:
# How long should be the delay until the wheat re-appears (piston push)
delay: 5
drops:
# Which things should be dropped?
wheat: true
seed: false
# Prevent the piston from destroying plants
prevent:
premature: true
mature: false
# Please see the commented section for wheat above - same system for nether warts
netherWart:
enabled: true
delayHit: 3
water:
delay: 5
drops:
netherWart: true
prevent:
premature: true
mature: false
piston:
delay: 5
drops:
netherWart: true
prevent:
premature: true
mature: false
# Please see the commented section for wheat above - same system for cocoa plants
cocoaPlant:
enabled: true
delayHit: 3
water:
delay: 5
drops:
cocoaPlant: true
prevent:
premature: true
mature: false
piston:
delay: 5
drops:
cocoaPlant: true
prevent:
premature: true
mature: false
# Please see the commented section for wheat above - same system for carrots
carrot:
enabled: true
trampling: true
delayHit: 3
water:
delay: 5
drops:
carrot: true
prevent:
premature: true
mature: false
piston:
delay: 5
drops:
carrot: true
prevent:
premature: true
mature: false
# Please see the commented section for wheat above - same system for potatoes
potato:
enabled: true
trampling: true
delayHit: 3
water:
delay: 5
drops:
potato: true
prevent:
premature: true
mature: false
piston:
delay: 5
drops:
potato: true
prevent:
premature: true
mature: false
# Please see the commented section for wheat above - same system for sugar canes
# Special note: the plugin doesn't check if the block is fully grown or not!
sugarCane:
enabled: false
delayHit: 3
water:
delay: 5
drops:
sugarCane: true
prevent: false
piston:
delay: 5
drops:
sugarCane: true
prevent: false
Commands & Permissions
Only the bukkit permissions are supported! I highly recommend that you use a plugin for permissions like bPermissions or PermissionsEX (PEX)!!
If no permission system is found, all permissions are for OPs only!
Command: /superwheat reload
Aliases: sw, superw
Description: Reloads the configuration on the fly
Node: SuperWheat.reload
SuperWheat.*
Description: Includes all permissions
SuperWheat.wheat.*
Description: Includes all permissions for wheat
SuperWheat.wheat.regrowing
Description: Automatically re-grows the harvested wheat
SuperWheat.wheat.destroying
Description: Allows you to destroy not full grown crops
SuperWheat.wheat.seeds
Description: Drops seeds, too
SuperWheat.wheat.noseeds
Description: Allows auto re-plant if no seeds are in the inv
SuperWheat.netherwart.*
Description: Includes all permissions for nether wart
SuperWheat.netherwart.regrowing
Description: Automatically re-grows the harvested nether wart
SuperWheat.netherwart.destroying
Description: Allows you to destroy not full grown plant
SuperWheat.netherwart.noseeds
Description: Allows auto re-plant if no nether wart is in the inv
SuperWheat.cocoaplant.*
Description: Includes all permissions for cocoa (plant)
SuperWheat.cocoaplant.regrowing
Description: Automatically re-grows the harvested cocoa
SuperWheat.cocoaplant.destroying
Description: Allows you to destroy not full grown plant
SuperWheat.cocoaplant.noseeds
Description: Allows auto re-plant if no cocoa beans are in the inv
SuperWheat.carrot.*
Description: Includes all permissions for carrots
SuperWheat.carrot.regrowing
Description: Automatically re-grows the harvested carrots
SuperWheat.carrot.destroying
Description: Allows you to destroy not full grown plant
SuperWheat.carrot.noseeds
Description: Allows auto re-plant if no carrots are in the inv
SuperWheat.potato.*
Description: Includes all permissions for potatoes
SuperWheat.potato.regrowing
Description: Automatically re-grows the harvested potatoes
SuperWheat.potato.destroying
Description: Allows you to destroy not full grown plant
SuperWheat.potato.noseeds
Description: Allows auto re-plant if no potatoes are in the inv
SuperWheat.sugarcane.*
Description: Includes all permissions for sugar canes
SuperWheat.sugarcane.regrowing
Description: Automatically re-grows the harvested sugar cane
SuperWheat.sugarcane.noseeds
Description: Allows auto re-plant if no sugar canes are in the inv
Downloads/Source Code/Dev Builds
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
(Latest dev builds/bleeding edge builds) - - Dev builds from Jenkins
(Source code hosted on Github) - - Source Code
Future Plans (a.k.a. ToDo):
Known Bugs
- Message is sometimes displayed twice
Changelog
Version 0.9
- Added multiworld support
- Added /superwheat reload command
Version 0.8
- Fixed hydration value of farmland ignored
Long changelog
Credits
@thescreem for the original plugin!
Banner
Feel free to use this banner!! :)


Donations
I'm very happy about any donation.
Support me & buy me some beer, this makes me happy and keeps me interested in this plugin.
Donation chain: -> I receive some money -> Buy coffee -> Work longer -> Faster Updates -> Your benefit!
There is a button on top of this page (right to the different tabs)
I'm accepting bitcoins, too! :)

Address: 1NnrRgdy7CfiYN63vKHiypSi3MSctCP55C
License
This plugin is released under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0) license!
评论 0
登录后参与评分
还没有评论,来抢沙发吧