Configuration

Arable uses a conventional YAML configuration file to specify and apply rules. Please note that all configuration options are case-sensitive.

Sections

There are four top-level sections: rules, defaults, worlds, and advanced.

rules

The rules section is the meat of your configuration file, it's where you list out all of the arable rules that you want to use. In fact, for single-world setups, the rules section is the only section you'll need to use. Rules listed here can also optionally be used in the defaults and worlds sections. The section has the following basic structure:

rules:
    <rule-name>:
        <condition>: <value>
        ...
        <effect>: <value>
        ...
    ...

There can be any number of rules, and each rule can contain as many of the possible conditions and effects as you want.

Here is a complete listing of (case-sensitive) conditions, effects, and values:

ConditionTypeDescriptionRangeDefault
blocksstring listset of affected block types[see below][all below]
stagesbyte listset of affected growth stages[see below][all below]
biomesstring listset of affected biomes[see below][all below]
weatherstring listset of applicable weather conditionsclear, rain, thunder, snowall weather
timesstring listset of applicable times of dayday, dusk night, dawnall times
minWetnessbyteminimum wetness value of affected farmland
[only relevant for wheat, pumpkins, melons, carrots, and potatoes]
0-80
maxWetnessbytemaximum wetness value of affected farmland
[only relevant for wheat, pumpkins, melons, carrots, and potatoes]
0-88
minHumiditydoubleminimum humidity of affected biomes0-10
maxHumiditydoublemaximum humidity of affected biomes0-11
minTemperaturedoubleminimum temperature of affected biomes0-20
maxTemperaturedoublemaximum temperature of affected biomes0-22
minElevationintminimum y-value of affected blocks0-2550
maxElevationintmaximum y-value of affected blocks0-255255
minLightbyteminimum total light value of affected blocks0-150
maxLightbytemaximum total light value of affected blocks0-1515
minSunlightbyteminimum sunlight level of affected blocks0-150
maxSunlightbytemaximum sunlight level of affected blocks0-1515
minBlocklightbyteminimum light from glowstone, torches, etc.0-150
maxBlocklightbytemaximum light from glowstone, torches, etc.0-1515
EffectTypeDescriptionRangeDefault
ratedoubleaverage growth rate, as a multiplier of the default rate0 or greater1
spreaddoublestandard deviation (variability) of the growth rate0 or greater0
ripendoubleprobability of a crop instantly growing to its max stage0-10
wiltdoubleprobability of a crop losing a growth stage0-10
uprootdoubleprobability of a crop breaking, as if by hand0-10
diedoubleprobability of a crop being destroyed without drops0-10
burndoubleprobability of a crop going up in flames0-10
frostdoubleprobability of a crop reverting to snow0-10
blightdoubleprobability of a crop catching a contagious disease0-10
BlockStages
brownmushroom0
cactus0 to 15, creates a new block after 15
carrot0 (newly planted) to 7 (fully grown)
cocoa0 (newly planted) to 2 (fully grown)
melon0 to 7, creates a melon after 7
netherwart0 (newly planted) to 3 (fully grown)
potato0 (newly planted) to 7 (fully grown)
pumpkin0 to 7, creates a pumpkin after 7
redmushroom0
sapling0
sugar0 to 15, creates a new block after 15
vines0
wheat0 (newly planted) to 7 (fully grown)
BiomeHumidityTemperature
beach0.40.8
desert0.02.0
deserthills0.02.0
extremehills0.30.2
forest0.80.7
foresthills0.80.7
frozenocean0.50.0
frozenriver0.50.0
hell0.02.0
icemountains0.50.0
iceplains0.50.0
jungle0.91.2
junglehills0.91.2
mushroomisland1.00.9
mushroomshore1.00.9
ocean0.50.5
plains0.40.8
river0.50.5
sky0.50.5
smallmountains0.30.2
swampland0.90.8
taiga0.80.05
taigahills0.80.05

defaults

By default, all rules in the "rules" section apply to all game worlds. If this is what you want, then you're already done! If, however, you want to override the default rule list, you need to create a "defaults" section. The format is simply a list of the default rule names:

defaults:
    - <rule-name>
    - ...

worlds

The worlds section lets you override the default rule list for specific worlds. You only need this section if you want to have worlds with unique rule lists. If a world is not listed here, it receives the default rule list. Each entry is a list of rules named after the affected world:

worlds:
    <world-name>:
        - <rule-name>
        - ...
    ...

advanced

The advanced section is for modifying how the plugin does its job. This is a section that you will most likely never need to deal with, but it's here in case you need to exercise extreme control over Arable. Here is a complete list of advanced options:

OptionTypeDescriptionRangeDefault
intervalintthe update interval, as a multiple of the default1 or greater1
savebooleanwhether or not to save data on server shutdownon, offon