Skip to content

Configuration ​

config/hired_hands-server.toml ​

Created on first server start. Changes apply without a restart.

KeyDefaultMeaning
costo_contratacion10Emeralds to hire a free mercenary
dias_contrato5Days included when hiring or using a contract
dias_por_esmeralda1Extra days per emerald
radio_guardia12Fighting radius around a guard post
radio_trabajo16Work radius around a post (without a work area)
lentitud_trabajo2.0Time to break a block compared to a player
largo_tunel64Length of the miner's main tunnel
segundos_pesca30Average seconds between fish
ganado_maximo10Animals per species the rancher keeps

[expedicion] ​

KeyDefaultMeaning
duracion_segundos300Time inside the mine per trip
descanso_segundos20Rest after coming back
vida_minima_porcentaje70Won't go in with less health
vetas5Veins found per trip
probabilidad_herido10% chance of coming back hurt
desgaste_pico20Pickaxe uses per trip (never breaks it)

AI: config/hired_hands-common.toml ​

Only the server needs this file, and it is never sent to players.

toml
[ia]
    activada = true
    clave_api = "sk-ant-..."
    modelo = "claude-haiku-4-5"
    llamadas_por_minuto = 6

The key can also come from the ANTHROPIC_API_KEY environment variable. Without a key, greetings and simple orders work exactly the same.

Datapacks ​

Recipes, spawn weights and spawn biomes are data files under data/hired_hands/ and can be overridden with a datapack.

MIT License. Not an official Minecraft product.