#Farmer Egg, NPC & Interval Settings
plugins/L-Farmer/config.yml (General & NPC)
default_limit: 1
disabled_worlds:
- "world_the_end"
farmer_item:
material: VILLAGER_SPAWN_EGG
name: "<gold><bold>Farmer Spawn Egg</bold></gold>"
custom_model_data: 0
npc:
type: VILLAGER
itemsadder:
enabled: false
custom_model: "custom_namespace:custom_farmer"
harvest:
check_interval_ticks: 60
ground_collect:
check_interval_ticks: 20
auto_sell:
interval_seconds: 60
notify_actionbar: true
logging:
enabled: true
purge_after_days: 15| Key | Options / Default | Description |
|---|---|---|
npc.type | VILLAGER, PLAYER, ALLAY, ARMOR_STAND | NPC entity appearance (VILLAGER auto-applies Farmer profession and scales villager badge level with capacity tier) |
itemsadder.custom_model | namespace:id | Spawns a custom ItemsAdder 3D furniture model instead of a vanilla NPC when itemsadder.enabled: true |
harvest.check_interval_ticks | 60 (3s) | Base tick interval for scanning mature crops |
ground_collect.check_interval_ticks | 20 (1s) | Tick interval for vacuuming dropped items on the ground |
auto_sell.interval_seconds | 60 | Automatic selling cycle in seconds plus Actionbar earnings alert toggle |
disabled_worlds | ["world_the_end"] | Global blacklist of worlds where farmers cannot be placed |
#Fallback Unit Prices (prices.yml)
When neither ShopGUIPlus nor EconomyShopGUI is installed—or an item has no price configured there—L-Farmer automatically falls back to prices.yml:
plugins/L-Farmer/prices.yml (Excerpt)
prices:
WHEAT: 5.0
CARROT: 4.0
POTATO: 4.0
BEETROOT: 4.0
NETHER_WART: 8.0
COCOA_BEANS: 6.0
SUGAR_CANE: 6.0
CACTUS: 5.0
MELON: 18.0
PUMPKIN: 15.0
SWEET_BERRIES: 3.0
BAMBOO: 3.0
ROTTEN_FLESH: 2.0
BONE: 3.0
GUNPOWDER: 7.0
ENDER_PEARL: 12.0
BLAZE_ROD: 15.0
GHAST_TEAR: 30.0
IRON_INGOT: 25.0