mirror of
https://github.com/Xiao-MoMi/Custom-Crops.git
synced 2025-12-29 03:49:08 +00:00
first commit
This commit is contained in:
95
src/main/resources/config-english.yml
Normal file
95
src/main/resources/config-english.yml
Normal file
@@ -0,0 +1,95 @@
|
||||
enable-season: true
|
||||
# Current season
|
||||
# Use command "/customcrops setseason" to change season
|
||||
# You can experience season feature by using "CMI schedule" or other Season plugin
|
||||
current-season: spring
|
||||
|
||||
config:
|
||||
# The pot that crops can be planted in
|
||||
# format: namespace:item_id
|
||||
pot: customcrops:pot
|
||||
# Crops can only grow on watered pot
|
||||
watered-pot: customcrops:watered_pot
|
||||
|
||||
# Watering Can
|
||||
# 1x1 range
|
||||
watering-can-1: customcrops:watering_can_1
|
||||
# 1x3 range
|
||||
watering-can-2: customcrops:watering_can_2
|
||||
# 1x5 range
|
||||
watering-can-3: customcrops:watering_can_3
|
||||
|
||||
# enable greenhouse feature
|
||||
# crops can be planted under greenhouse glass
|
||||
enable-greenhouse: true
|
||||
# effective range
|
||||
greenhouse-range: 7
|
||||
greenhouse-glass: customcrops:greenhouse_glass
|
||||
|
||||
# sprinkler furniture in ItemsAdder
|
||||
# 3x3 range
|
||||
sprinkler-1: customcrops:sprinkler_1
|
||||
# sprinkler item in ItemsAdder
|
||||
sprinkler-1-item: customcrops:sprinkler_1_item
|
||||
|
||||
# 5x5 range
|
||||
sprinkler-2: customcrops:sprinkler_2
|
||||
sprinkler-2-item: customcrops:sprinkler_2_item
|
||||
|
||||
# dead crops
|
||||
dead-crop: customcrops:crop_stage_death
|
||||
# The chance that crops grow every morning
|
||||
grow-success-chance: 0.8
|
||||
|
||||
# The chance that using bone meal to skip one stage
|
||||
bone-meal-chance: 0.5
|
||||
# Will using bone meal consume water
|
||||
bone-meal-consume-water: true
|
||||
# Particle Effects
|
||||
particle:
|
||||
# Use bone meal
|
||||
success: HEART
|
||||
failure: VILLAGER_ANGRY
|
||||
# The height where crops can grow
|
||||
height:
|
||||
min: 50
|
||||
max: 100
|
||||
# should we limit the max number of crops and spinklers in chunks?
|
||||
# Maybe too many crops would cause lagggggggg
|
||||
enable-limit: true
|
||||
max-crops: 32
|
||||
max-sprinklers: 4
|
||||
# whitelist worlds where crops would grow
|
||||
whitelist-worlds:
|
||||
- world
|
||||
# should we only alow crops in loaded chunks to grow?
|
||||
# This is good for server performance
|
||||
only-grow-in-loaded-chunks: true
|
||||
|
||||
messages:
|
||||
prefix: '<gradient:#ccfbff:#ef96c5>[CustomCrops] </gradient>'
|
||||
not-a-good-place: 'That place is too high/low. Just try another place!'
|
||||
reload: 'Reloaded'
|
||||
force-save: 'Successfully save cache data!'
|
||||
no-such-seed: 'This seed is not configured in config.yml'
|
||||
wrong-season: 'You can not plant this crop in this season'
|
||||
season-set: 'Successfully change season to {Season}'
|
||||
season-disabled: 'Season is not enabled in this server'
|
||||
clean-cache: 'Successfully clean removed crops and sprinkler'
|
||||
reach-limit-crop: 'Too many crops. The limit is {Max} per chunk!'
|
||||
reach-limit-sprinkler: 'Too many sprinklers. The limit is {Max} per chunk!'
|
||||
backup: 'Back up Successfully'
|
||||
spring: 'spring'
|
||||
summer: 'summer'
|
||||
autumn: 'autumn'
|
||||
winter: 'winter'
|
||||
can-full: 'The watering can is already full!'
|
||||
|
||||
# Crops
|
||||
crops:
|
||||
tomato:
|
||||
# Please name the crops with "_seeds" and "_stage_X"
|
||||
# Otherwise they would not grow
|
||||
# You can refer to the example configuration :)
|
||||
season: spring,autumn
|
||||
#return: customcrops:tomato_stage_3
|
||||
95
src/main/resources/config.yml
Normal file
95
src/main/resources/config.yml
Normal file
@@ -0,0 +1,95 @@
|
||||
# 是否使用季节
|
||||
# 非植物季节则无法耕种,过了季节则枯死
|
||||
enable-season: true
|
||||
# 当前季节
|
||||
# 使用/customcrops setseason 来切换季节
|
||||
current-season: spring
|
||||
|
||||
config:
|
||||
# 植物的种植盆方块
|
||||
pot: customcrops:pot
|
||||
# 植物的浇过水的种植盆方块
|
||||
watered-pot: customcrops:watered_pot
|
||||
|
||||
# 水壶
|
||||
# 1x1
|
||||
watering-can-1: customcrops:watering_can_1
|
||||
# 1x3
|
||||
watering-can-2: customcrops:watering_can_2
|
||||
# 1x5
|
||||
watering-can-3: customcrops:watering_can_3
|
||||
|
||||
# 温室玻璃,在温室玻璃正下方的方块可以无视季节种植
|
||||
enable-greenhouse: true
|
||||
# 温室玻璃有效范围
|
||||
greenhouse-range: 7
|
||||
# 温室玻璃方块
|
||||
greenhouse-glass: customcrops:greenhouse_glass
|
||||
|
||||
# 洒水器的家具
|
||||
sprinkler-1: customcrops:sprinkler_1
|
||||
# 洒水器的方块的物品
|
||||
sprinkler-1-item: customcrops:sprinkler_1_item
|
||||
|
||||
# 优质洒水器的家具
|
||||
sprinkler-2: customcrops:sprinkler_2
|
||||
# 优质洒水器的方块的物品
|
||||
sprinkler-2-item: customcrops:sprinkler_2_item
|
||||
|
||||
# 骨粉催熟农作物进入下一阶段的概率(0-1)
|
||||
bone-meal-chance: 0.5
|
||||
# 使用骨粉是否会让种植盆从湿润转为干燥
|
||||
bone-meal-consume-water: true
|
||||
# 农作物枯萎后变成的方块,物品ID中请保留stage以保持其下方方块被破坏时,枯萎作物也被破坏的特性
|
||||
dead-crop: customcrops:crop_stage_death
|
||||
# 农作物每天成长一个阶段的概率(0-1)
|
||||
grow-success-chance: 0.8
|
||||
# 粒子效果
|
||||
particle:
|
||||
# 使用骨粉成功的粒子
|
||||
success: HEART
|
||||
# 使用骨粉失败的粒子
|
||||
failure: VILLAGER_ANGRY
|
||||
# 最低和最高Y坐标
|
||||
height:
|
||||
min: 50
|
||||
max: 100
|
||||
# 每个区块最大农作物数量和洒水器数量
|
||||
# 检测范围为上一个height之间,事件无法异步,所以
|
||||
# 若min与max相差越小,则种植农作物对性能的消耗越小
|
||||
enable-limit: true
|
||||
max-crops: 32
|
||||
max-sprinklers: 4
|
||||
# 生长生效的世界
|
||||
whitelist-worlds:
|
||||
- world
|
||||
# 只在被加载的区块中生长和枯萎,对性能友好
|
||||
only-grow-in-loaded-chunks: true
|
||||
|
||||
messages:
|
||||
prefix: '<gradient:#ccfbff:#ef96c5>[CustomCrops] </gradient>'
|
||||
not-a-good-place: 这个地方太高/太低了,请换个地方试试吧!
|
||||
reload: 插件已重载
|
||||
force-save: 成功强制保存缓存信息
|
||||
no-such-seed: 此种子未在配置文件中配置!
|
||||
wrong-season: 这个季节不适合这种农作物生长!
|
||||
season-set: 成功设置季节为{Season}
|
||||
season-disabled: 季节系统未启用.
|
||||
clean-cache: 无效农作物和洒水器数据清除完毕!
|
||||
reach-limit-crop: 农作物已到达最大区块上限{Max}!
|
||||
reach-limit-sprinkler: 洒水器已到达最大区块上限{Max}!
|
||||
backup: 备份完成
|
||||
spring: 春
|
||||
summer: 夏
|
||||
autumn: 秋
|
||||
winter: 冬
|
||||
can-full: 水壶已满!
|
||||
|
||||
# 启用的农作物
|
||||
crops:
|
||||
tomato:
|
||||
# 在IA配置文件中命名农作物时请以_seeds和_stage_X结尾,否则会报错
|
||||
# 适宜的生长季节,若未启用季节系统可以无视此项目
|
||||
season: spring,summer
|
||||
# 空手收获后返回第几个生长状态
|
||||
#return: customcrops:tomato_stage_3
|
||||
10
src/main/resources/plugin.yml
Normal file
10
src/main/resources/plugin.yml
Normal file
@@ -0,0 +1,10 @@
|
||||
name: CustomCrops
|
||||
version: '${project.version}'
|
||||
main: net.momirealms.customcrops.CustomCrops
|
||||
api-version: 1.18
|
||||
depend: [ ItemsAdder , ProtocolLib ]
|
||||
softdepend: [ PlaceholderAPI ]
|
||||
authors: [ XiaoMoMi ]
|
||||
commands:
|
||||
customcrops:
|
||||
permission-message: No Permission
|
||||
Reference in New Issue
Block a user