Skip to content

Farming

Urs P. Stettler edited this page Oct 24, 2013 · 8 revisions

Farming Module for ExpCraft

Based on LC-Farming

Description

This module controls the way players can use hoes. Players collect experience by performing farming related tasks like tilling dirt, collecting plants and planting saplings. With higher level in mining there is a better chance to get additional drops when harvesting wheat and in a future version also by harvesting nether warts. Also destroying leaves has a little chance to drop apples.

Permissions

This module only has one permission node describing whether the module is active for players: ec.module.fm

Settings

The configuration let the server admin declare the levels at which hoes can be used, along with how much experience is earned for each farming task. You can also define how at which level the additional drops happen. Just start the server once with the module enabled and it will create a default config for you.

Default Configuration

# Level requirements for hoes
HoeLevel.Wooden=0
HoeLevel.Stone=5
HoeLevel.Iron=10
HoeLevel.Gold=20
HoeLevel.Diamond=30
#
# Level requirements to execute farming tasks/collect plants
# tilling grass and dirt
UseLevel.Till=0
# harvesting wheat and nether wart
UseLevel.Harvest=0
# apple drops
UseLevel.Apple=0
UseLevel.GoldenApple=0
# collecting plants
UseLevel.SugarCane=0
UseLevel.Cacti=0
UseLevel.Sapling=0
UseLevel.RedRose=0
UseLevel.YellowFlower=0
UseLevel.Mushroom=0
UseLevel.Wheat=0
UseLevel.Pumpkin=0
UseLevel.Melon=0
UseLevel.CocoaBean=0
UseLevel.NetherWart=0
UseLevel.Carrot=0
UseLevel.Potato=0
#
# experience gained performing farming tasks
# tilling grass and dirt
ExpGain.Till=1.0
# harvesting wheat and nether wart
ExpGain.Harvest=5.0
# apple drops 
ExpGain.Apple=3.0
ExpGain.GoldenApple=100.0
# collecting plants
ExpGain.SugarCane=2.0
ExpGain.Cactus=3.0
ExpGain.Sapling=0.5
ExpGain.RedRose=0.1
ExpGain.YellowFlower=0.1
ExpGain.Mushroom=0.1
ExpGain.Wheat=2.0
ExpGain.Pumpkin=2.0
ExpGain.Melon=2.0
ExpGain.CocoaBean=2.0
ExpGain.NetherWart=5.0
ExpGain.Carrot=5.0
ExpGain.Potato=5.0
#
# level requirements for additional drops  
# when harvesting wheat
DropLevel.PumpkinSeed=20
DropLevel.MelonSeed=40
DropLevel.CocoaBean=70
# when harvesting nether wart
DropLevel.GhastTear=30
DropLevel.BlazePowder=50
#
# enable/disable (random) apple drops when you break leaves
Enable.AppleDrops=true

Clone this wiki locally