config.yml


database:
  type: "h2" # H2, MySQL

  mysql:
    host: "localhost"
    port: 3306
    database: "database"
    username: "username"
    password: "password"

  pool:
    maximumPoolSize: 10
    minimumIdle: 5
    connectionTimeout: 30000
    maxLifetime: 1800000
    idleTimeout: 600000
    setLeakDetectionThreshold: 60000
    useSSL: false

tycoon-hoe:
  material: DIAMOND_HOE
  name: "&#F59E0B&lTYCOON &#FB923C&lHOE"
  lore:
    - "&#374151&l&m────────────────────"
    - "&#9CA3AFOwner: &#F3F4F6{owner_name}"
    - "&#9CA3AFLevel: &#F59E0B{level}"
    - "&#9CA3AFPrestige: &#F59E0B{prestige}"
    - "&#9CA3AFXP: &#FDE68A{xp} &#6B7280/ &#FDE68A{xp_next}"
    - "&#9CA3AFProgress: {progress}"
    - "&#374151&l&m────────────────────"
    - "{enchants}"
    - "&#374151&l&m────────────────────"
  enchant-lore:
    header: "&#60A5FA&lENCHANTS"
    line: "&#60A5FA◆ &#93C5FD{display} &#6B7280Lvl. {level}"
    none: "&#6B7280No enchants"
    show-when-empty: true
  enchantments:
    - efficiency:5
    - unbreaking:3
  unbreakable: true
  flag:
    - HIDE_ATTRIBUTES
    - HIDE_ENCHANTS
    - HIDE_UNBREAKABLE
  custom-model-data: 12001

  protection:
    move: true
    swap-offhand: true
    # Hard drop, if its enabled the drop-confirm ignored
    drop: true
    drop-confirm:
      enabled: true
      window-ms: 3000
    pickup: false
    keep-on-death:
      enabled: true
  menu:
    # Options: RIGHT_CLICK, SHIFT_RIGHT_CLICK, LEFT_CLICK, etc.
    open-action: SHIFT_RIGHT_CLICK

formats:
  amount-format: "COMPACT"
  time-format: "CLOCK_DD_HH_MM_SS"

leveling:
  initial:
    level: 0
    xp: 0.0
    prestige: 0

  formula:
    base: 500
    max-level: 100
    expression: "({previous} * 1.15) + (550 + ({level} * 25))"

  overrides: {}

  notify:
    # {xp}, {xp_formatted}, {essence}, {essence_formatted}
    farm-actionbar: "&#A7F3D0+{xp_formatted} XP &#9CA3AF| &#38BDF8+{essence_formatted} Essence"
    actionbar: "&6Level Up &8» &e{from} &7→ &a{to} &8(+{gained})"

    execute-commands:
      - "say {player} levelled up!"

    title:
      header: "&#F59E0B&lLEVEL UP!"
      sub: "&#9CA3AF{from} &#6B7280→ &#A7F3D0{to}"
      fade-in: 10
      stay: 40
      fade-out: 10

    chat:
      - "&7You reached &6level {to}&7 on your Tycoon Hoe &8(+{gained})"

    sound:
      type: "ENTITY_PLAYER_LEVELUP"
      volume: 1.0
      pitch: 1.1

  rewards:
    "10":
      - "eco give {player} 500"

stats:
  crops:
    enabled: true
    flush-interval-seconds: 60
    max-keys-before-flush: 5000

    # e.g.: ["WHEAT","CARROTS"] if empty -> EVERYTHING
    track-only: []

condense:
  requirements:
    enabled: true
    min-hoe-level: 5
    min-prestige: 0

farm:
  trigger: WHEAT
  area:
    world: ""
    min: [0, 0, 0]
    max: [0, 0, 0]

harvest:
  require-grown: true

  # SERVER | CLIENT
  render-mode: SERVER

  growth:
    enabled: true
    ticks-per-stage: "8-12"
    double-height-restore: "20"
    single-restore: "20"

  client:
    keep-final-stage: true

  drop-settings:
    straight-to-inventory: true
    drop-items-floor-if-full-inventory: false

  rules:
    # Crops
    WHEAT:
      xp: "50"
      min-level: 0
      essence: 3
      drop:
        amount: 1
        material: "WHEAT"
        name: "&#A3E635&lFresh Wheat"
        lore:
          - "&#9CA3AFHarvested with love"
          - "&#6EE7F9+Essence infused"
        enchantments:
          - "unbreaking:1"
        flag:
          - "HIDE_ENCHANTS"
        unbreakable: false
        evolution-item:
          material: "WHEAT"
          needed-amount: 5
          name: "&#A3E635&lFresh Wheat &#FBBF24&l(Baked)"
          lore:
            - "&#9CA3AFBaked to perfection"
            - "&#6EE7F9+Essence infused"
          enchantments:
            - "unbreaking:2"
          flag:
            - "HIDE_ENCHANTS"
          unbreakable: false
    CARROTS:
      xp: 50
      min-level: 1
      essence: 3
    POTATOES:
      xp: "40-70"
      min-level: 2
      essence: 3
    BEETROOTS:
      xp: 55
      min-level: 0
      essence: 3
    NETHER_WART:
      xp: "80-120"
      min-level: 4
      essence: 3
    SWEET_BERRY_BUSH:
      xp: "20-40"
      min-level: 3
    COCOA:
      xp: "70-100"
      min-level: 3
    TORCHFLOWER_CROP:
      xp: 45
      min-level: 1

    # Sugar cane
    SUGAR_CANE:
      xp: 15
      min-level: 2

    # Grass & ferns
    SHORT_GRASS:
      xp: 2
      min-level: 0
    TALL_GRASS:
      xp: 3
      min-level: 0
    FERN:
      xp: 5
      min-level: 0
    LARGE_FERN:
      xp: 7
      min-level: 0

    # Small flowers
    DANDELION:
      xp: 6
      min-level: 0
    POPPY:
      xp: 6
      min-level: 0
    BLUE_ORCHID:
      xp: 7
      min-level: 0
    ALLIUM:
      xp: 7
      min-level: 0
    AZURE_BLUET:
      xp: 7
      min-level: 0
    RED_TULIP:
      xp: 7
      min-level: 0
    ORANGE_TULIP:
      xp: 7
      min-level: 0
    WHITE_TULIP:
      xp: 7
      min-level: 0
    PINK_TULIP:
      xp: 7
      min-level: 0
    OXEYE_DAISY:
      xp: 7
      min-level: 0
    CORNFLOWER:
      xp: 7
      min-level: 0
    LILY_OF_THE_VALLEY:
      xp: 8
      min-level: 0
    WITHER_ROSE:
      xp: 12
      min-level: 3
    TORCHFLOWER:
      xp: 10
      min-level: 1

    # Tall flowers (double-height, top-only)
    SUNFLOWER:
      xp: 10
      min-level: 0
    LILAC:
      xp: 10
      min-level: 0
    ROSE_BUSH:
      xp: 12
      min-level: 0
    PEONY:
      xp: 10
      min-level: 0
    PITCHER_PLANT:
      xp: 14
      min-level: 1

    # Saplings
    OAK_SAPLING:
      xp: 5
      min-level: 0
    SPRUCE_SAPLING:
      xp: 5
      min-level: 0
    BIRCH_SAPLING:
      xp: 5
      min-level: 0
    JUNGLE_SAPLING:
      xp: 5
      min-level: 0
    ACACIA_SAPLING:
      xp: 5
      min-level: 0
    DARK_OAK_SAPLING:
      xp: 5
      min-level: 0
    PALE_OAK_SAPLING:
      xp: 6
      min-level: 0
    CHERRY_SAPLING:
      xp: 5
      min-level: 0

    # Corals
    TUBE_CORAL:
      xp: 8
      min-level: 1
    BRAIN_CORAL:
      xp: 8
      min-level: 1
    BUBBLE_CORAL:
      xp: 8
      min-level: 1
    FIRE_CORAL:
      xp: 8
      min-level: 1
    HORN_CORAL:
      xp: 8
      min-level: 1
    TUBE_CORAL_FAN:
      xp: 10
      min-level: 2
    BRAIN_CORAL_FAN:
      xp: 10
      min-level: 2
    BUBBLE_CORAL_FAN:
      xp: 10
      min-level: 2
    FIRE_CORAL_FAN:
      xp: 10
      min-level: 2
    HORN_CORAL_FAN:
      xp: 10
      min-level: 2

placeholders:
  number-format:
    xp-decimals: 1

  progress:
    length: 20
    filled: "■"
    empty: "□"
    filled-color: "&#FACC15"
    empty-color: "&#374151"

  crystal-progress:
    length: 10
    filled: "■"
    empty: "□"
    filled-color: "&#22C55E"
    empty-color: "&#6B7280"

version: '1'

Last updated