#System Requirements

ComponentRequirement
Minecraft Version1.21 and newer (1.21.x - 26.x, api-version: 1.21)
Server SoftwarePaper, Purpur, Spigot, or Folia (folia-supported: true)
Java VersionJava 21 or newer
Required DependencyNone (Vault or PlayerPoints recommended for auto-sell, upgrades, and salary)
Database BackendEmbedded SQLite (default) or MySQL / MariaDB via HikariCP

#Step-by-Step Setup

  1. Place L-Farmer-1.0.0.jar into your server's plugins/ folder.
  2. Install Vault (+ an economy provider) or PlayerPoints to enable auto-selling, upgrades, and cash salary refueling.
  3. Start the server. L-Farmer automatically creates config.yml, prices.yml, locale/messages_en.yml, locale/messages_tr.yml, and the SQLite database inside plugins/L-Farmer/.
  4. Configure language, server_name, upgrade costs, and your land/island protection hooks in config.yml.
  5. Reload live with /farmer reload and grant a starter egg using /farmer give <player> [amount].

#Database Configuration (HikariCP)

plugins/L-Farmer/config.yml (database)
language: en
server_name: "Survival-1"

database:
  type: SQLITE
  mysql:
    host: localhost
    port: 3306
    database: lfarmer
    username: lfarmer_user
    password: "strong_password"
    ssl: true
  pool:
    maximum_pool_size: 10
    minimum_idle: 2

bstats:
  enabled: true
bStats Metrics & Network Server Tag
server_name labels farmers and audit records across multi-server setups. Anonymous bStats telemetry (ID: 35006) can be disabled anytime by setting bstats.enabled: false.