9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-27 10:59:20 +00:00
This commit is contained in:
Xiao-MoMi
2022-07-30 15:33:58 +08:00
parent 9f11da2b60
commit 9caf4804cd
18 changed files with 190 additions and 105 deletions

View File

@@ -2,7 +2,6 @@ config:
#english spanish chinese
lang: english
integration:
#integration to prevent other players' grief
Residence: false
@@ -67,10 +66,10 @@ config:
log-time-consume: false
#Defaultly crops will only grow in loaded chunks.
#If you want a mechanic similar to OriginRealms just DISABLE SEASON, GIGANTIC(OverWeight) and REPEATED HARVESTING.
#In this way crops data will be removed from file after it comes to its final stage.
#If you want a mechanic similar to OriginRealms just DISABLE SEASON and REPEATED HARVESTING.
#In this way crops data will be removed from file when it comes to its final stage.
#In other words, plugin will only record the crops still on growing.
#NEVER SET "only-grow-in-loaded-chunks" FALSE IF YOU DON'T DISABLE THE THREE FEATURES MENTIONED ABOVE.
#NEVER SET "only-grow-in-loaded-chunks" FALSE IF YOU ARE USING THE FEATURES MENTIONED ABOVE.
#Otherwise it would be laggy because too many data in cache.
only-grow-in-loaded-chunks: true
@@ -85,4 +84,15 @@ config:
#If "right-click-harvest" is true
#Should player be allowed to harvest with items in hand
harvest-with-empty-hand: true
harvest-with-empty-hand: true
#Should player be prevented from planting if wrong season
prevent-plant-if-wrong-season: true
#Should notify player of the wrong season?
should-notify-if-wrong-season: true
#Will bone meal accelerate the growth of crop
bone-meal:
enable: true
chance: 0.5
success-particle: VILLAGER_HAPPY

View File

@@ -4,21 +4,23 @@
crops:
tomato:
#the total amount of crops to be dropped
amount: 1~4
#Quality Items
quality:
1: customcrops:tomato
2: customcrops:tomato_silver_star
3: customcrops:tomato_golden_star
#When harvesting, should the crop drop the loots from ItemsAdder too
#This is useful for dropping seeds and other items
drop-ia-loots: false
#optional
#The chance that a crop grow a stage at grow time
grow-chance: 0.9
#When harvesting, should the crop drop the loots from ItemsAdder too
#This is useful for droping seeds and other items
drop-ia-loots: false
#optional
#Overweight
gigantic:
@@ -61,7 +63,6 @@ crops:
season:
- spring
grape:
amount: 2~4
quality:

View File

@@ -10,6 +10,10 @@ speed:
item: customcrops:speed_1
#Should this fertilizer be used before planting
before-plant: true
#Optional
#The particle to display
#https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
#particle: VILLAGER_HAPPY
speed_2:
name: '뀍'

View File

@@ -24,4 +24,8 @@ use-fertilizer:
harvest:
sound: minecraft:block.crop.break
type: player
bonemeal:
sound: minecraft:item.hoe.till
type: player

View File

@@ -8,6 +8,9 @@ config:
PlotSquared: false
Towny: false
Lands: false
AureliumSkills: false
mcMMO: false
MMOCore: false
#生长时间点(tick)
#1000代表上午7点农作物陆续开始生长
@@ -59,11 +62,11 @@ config:
log-time-consume: false
#是否只有加载中的区块农作物才会生长
#如果你不使用季节、可重复收获、巨大化农作物特性
#如果你不使用季节、可重复收获特性
#插件data只会记录正在生长中某个阶段的农作物数据
#生长到最后一阶段农作物生长数据就会清除
#那么可以尝试设置此值为false来让数据内全部农作物生长
#如果你使用上述三个特性中的任意一个请不要设置为false
#如果你使用上述特性中的任意一个请不要设置为false
#否则农作物生长到最后一阶段不会从数据中清除,过大的数据量
#可能会导致服务器严重卡顿
only-grow-in-loaded-chunks: true
@@ -79,4 +82,15 @@ config:
right-click-harvest: true
#玩家是否需要空手右键收获
harvest-with-empty-hand: true
harvest-with-empty-hand: true
#是否阻止玩家在错误的季节种植
prevent-plant-if-wrong-season: true
#是否告知玩家这是错误的季节
should-notify-if-wrong-season: true
#骨粉设置
bone-meal:
enable: true
chance: 0.5
success-particle: VILLAGER_HAPPY

View File

@@ -12,21 +12,24 @@ crops:
1: customcrops:tomato
2: customcrops:tomato_silver_star
3: customcrops:tomato_golden_star
#农作物每个时间点生长一个阶段的概率
#不设置默认为1
grow-chance: 0.9
#收获的时候是否额外掉落IA配置里的战利品
#可用于最后一阶段掉落种子等操作
drop-ia-loots: false
#巨大化植物,以极低的概率生长为另一种形态
gigantic:
block: customcrops:gigantic_tomato
chance: 0.01
#收获时候执行指令
commands:
- 'say {player} harvested a tomato! lol'
#生长季节
season:
- summer
- autumn
#种植所需的条件
requirements:
#适宜的生长高度
yPos:
@@ -53,7 +56,6 @@ crops:
season:
- spring
grape:
amount: 2~4
quality:
@@ -73,4 +75,22 @@ crops:
3: customcrops:corn_golden_star
season:
- autumn
- summer
- summer
pepper:
amount: 3~6
quality:
1: customcrops:pepper
2: customcrops:pepper_silver_star
3: customcrops:pepper_golden_star
season:
- spring
- summer
return: customcrops:pepper_stage_3
garlic:
amount: 3~4
quality:
1: customcrops:garlic
2: customcrops:garlic_silver_star
3: customcrops:garlic_golden_star

View File

@@ -13,6 +13,9 @@ speed:
item: customcrops:speed_1
#肥料是否只有在种植前才能使用
before-plant: true
#施肥的粒子效果(可选)
#https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Particle.html
#particle: VILLAGER_HAPPY
speed_2:
name: '뀍'

View File

@@ -25,4 +25,8 @@ use-fertilizer:
#空手收获的音效
harvest:
sound: minecraft:block.crop.break
type: player
#使用骨粉的音效
bonemeal:
sound: minecraft:item.hoe.till
type: player