Now you have to make a choose between plugin's watering system(①) and vanilla moisture system(②).
① If you want to use plugin's watering & fertilizer system. It's necessary to disable vanilla moisture in config.yml to prevent conflicts
# Vanilla farmland settingsvanilla-farmland:# Disable vanilla farmland moisture mechanics # This option exists because some users prefer to use the vanilla farmland but the water system conflicts with the vanilla one
disable-moisture-mechanic:true
Then edit the default.yml at /contents/pots folder
default:# Maximum water storage capacitymax-water-storage:7# The most basic settingsbase:# Pot modelsdry:minecraft:farmland[moisture=0]wet:minecraft:farmland[moisture=7]# Does the pot absorb raindropabsorb-rainwater:true# Does nearby water make the pot wetabsorb-nearby-water:true
② If you prefer the vanilla farmland mechanics, you can just disable all the watering mechanics in CustomCrops.
What you need to do is to edit the default.yml under /contents/pots folder.
default:vanilla-farmland:true
Then, you have to make changes on each crop's grow-conditions otherwise they won't grow on vanilla farmlands because water-more-than checks the water provided by the plugin while moisture-more-than checks the moisture of vanilla farmland block data.
Make sure that your world is not in the blacklist / Make sure that your world is in whitelist
# World settingsworlds:# This is designed for servers that using an independent folder for worlds# Especially for realm systemsabsolute-world-folder-path:''# A list of worlds that would decide where the plugin mechanisms take effect# Mode: whitelist/blacklistmode:blacklistlist: - blacklist_world
Q3: How to make watering-cans damageable
Let's take ItemsAdder as example, what you need to do is to set the material to a damageable item for instance "WOODEN_SWORD". CustomCrops would handle the durability system for you so you don't need to do anything else!
# Seed of the cropseed:MMOItems:MATERIAL:TOMATO_SEEDS
# Drop itemsquality_crop_action:type:quality-cropsvalue:min:1max:4items:1:MMOItems:MATERIAL:TOMATO2:MMOItems:MATERIAL:TOMATO_SILVER_STAR3:MMOItems:MATERIAL:TOMATO_GOLDEN_STAR
Q5: How to apply leveler's level to the drop amount of crops? / How can I get exp for the leveler from harvesting the crops? / How can I set level requirements for planting a crop?
To receive exp from harvesting, you have to add an action in break/interact event section
action_exp:type:plugin-expvalue:plugin:AureliumSkillstarget:FARMING# The target is decided by the leveler you are usingexp:100chance:1
To use the level requirements for planting, you can follow this example
requirements:plant:requirement_0:type:plugin-levelvalue:plugin:AureliumSkillstarget:FARMING# The target is decided by the leveler you are usinglevel:10not-met-actions:message_action:type:messagevalue:"This seeds require 10+ farming skill levels"requirement_1:type:seasonvalue: - Spring - Autumnnot-met-actions:message_action:type:messagevalue:"It's not a good season to plant tomato"
Q6: How does "protect-original-lore" work?
You can find this option if you check the config.yml carefully
# Whether to protect the original lore of the item# This uses the scoreboard component to identify the plugin's lore,# which may conflict with some plugins that still use SpigotAPI#ItemMeta.protect-original-lore:false
Situation1: I can hear the sound of planting and seed is consumed
If you are using ItemsAdder and FURNITURE mode, open ItemsAdder's config.yml and set this value higher
entities:max-furniture-vehicles-per-chunk:30
If you are using ItemsAdder and BLOCK mode, open ItemsAdder's config.yml and set
# IA 3.6disable-REAL_WIRE:false# IA 4.0+wire:true
Situation2: Nothing happened and you have already planted a lot of crops
Open CustomCrops' config.yml
# Set it to a higher value or -1max-per-chunk:150
Q8: How to notify players if they can't plant more crops?
In pot/crop/sprinkler's configs, there's an event type called reach_limitation where you can add custom actions.
events:reach_limit:actionbar_action:type:actionbarvalue:'<red><bold>[X] You are not allowed to plant more crops'
Q9: How to disable bone meal for crops?
Remove the custom-bone-meal section from the crop configs for instance
# Custom settings for bone meal usecustom-bone-meal: {}
Q10: How to use vanilla crops on pots?
Firstly you have to disable vanilla mechanics for a certain crop by adding the block type in config.yml. This would prevent the vanilla crop from being ticked and dropping items.
# Specify block types that should be overridden by the plugin# Some common crops: WHEAT/CARROTS/POTATOES/BEETROOTS/SWEET_BERRY_BUSHoverride-vanilla-blocks: - WHEAT
Then create a new file under /contents/crops/ folder for instance wheat.yml
# Unique identifier for the cropwheat:# Type of the itemtype:BLOCK# Specifies which pots the crop can be planted onpot-whitelist: - default# The seed item used to plant the cropseed:WHEAT_SEEDS# Event settings for actions like planting and breakingevents:plant:# Plays a hand-swing animation when plantingswing_hand_action:type:swing-handvalue:true# Plays a sound when planting the cropsound_action:type:soundvalue:source:playerkey:minecraft:item.hoe.tillvolume:1pitch:1break:# Plays a sound when breaking the cropsound_action:type:soundvalue:source:playerkey:minecraft:block.crop.breakvolume:1pitch:1# Maximum growth stage for the cropmax-points:7# Actions and settings for each growth stage of the croppoints:0:model:minecraft:wheat[age=0]events:break:action_1:type:drop-itemvalue:ignore-fertilizer:trueitem:WHEAT_SEEDSmin:1max:11:model:minecraft:wheat[age=1]events:break:action_1:type:drop-itemvalue:ignore-fertilizer:trueitem:WHEAT_SEEDSmin:1max:12:model:minecraft:wheat[age=2]events:break:action_1:type:drop-itemvalue:ignore-fertilizer:trueitem:WHEAT_SEEDSmin:1max:13:model:minecraft:wheat[age=3]events:break:action_1:type:drop-itemvalue:ignore-fertilizer:trueitem:WHEAT_SEEDSmin:1max:14:model:minecraft:wheat[age=4]events:break:action_1:type:drop-itemvalue:ignore-fertilizer:trueitem:WHEAT_SEEDSmin:1max:15:model:minecraft:wheat[age=5]events:break:action_1:type:drop-itemvalue:ignore-fertilizer:trueitem:WHEAT_SEEDSmin:1max:16:model:minecraft:wheat[age=6]events:break:action_1:type:drop-itemvalue:ignore-fertilizer:trueitem:WHEAT_SEEDSmin:1max:17:model:minecraft:wheat[age=7]events:break:action_1:type:drop-itemvalue:ignore-fertilizer:trueitem:WHEAT_SEEDSmin:1max:2action_2:type:drop-itemvalue:ignore-fertilizer:trueitem:WHEATmin:1max:1grow-conditions: {}death-conditions: {}custom-bone-meal:bone_meal_1:item:BONE_MEALdispenser:truechance:2:0.51:1actions:swing_action:type:swing-handvalue:trueparticle_action:type:particlevalue:particle:VILLAGER_HAPPYx:0.5y:0.5z:0.5count:5offset-x:0.3offset-y:0.3offset-z:0.3sound_action:type:soundvalue:source:playerkey:minecraft:item.bone_meal.usevolume:1pitch:1
Q11: How to use vanilla items as drops/seeds?
Just use capital letter for instance "APPLE"
seed:APPLE
Q12: How to use other vanilla blocks as pots?
To continue using the plugin's water and fertilizer mechanics, configure it as follows:
# Unique identifier for the potdefault:# Maximum capacity for storing water in the potmax-water-storage:5# Basic settings for pot appearance and behaviorbase:# Models for the pot's appearancedry:minecraft:xxx[xxx=xxx]# Model ID when the pot is drywet:minecraft:xxx[xxx=xxx]# Model ID when the pot is wet
To disable the plugin's mechanisms, simply configure it as follows:
# Unique identifier for the potgrass_pot:vanilla-blocks: - minecraft:grass_block[snowy=false]
Q13: How to let different pots have different tick modes
Firstly set the tick mode to ALL in config.yml
pot:# RANDOM_TICK / SCHEDULED_TICK / ALLmode:ALL
Then configure the detailed mode for specific pots in their own configs which can be found on