All settings live in config.yml, generated automatically on first launch.

General Settings

SettingDefaultDescription
languageenServer language file to load from the lang/ folder
settings.auto-compress-on-pickuptrueAutomatically compress items when picked up
settings.auto-compress-on-inventory-changetrueAutomatically compress when inventory is modified
settings.compression-delay-ticks20Delay (in ticks) before auto-compressing on pickup
settings.enable-notificationstrueShow in-chat compression notifications
settings.compressed-item-prefix&#F5A623Compressed Prefix applied to auto-generated compressed item names
settings.compressed-item-suffix""Suffix applied to auto-generated compressed item names

Default Config File

language: en

settings:
  auto-compress-on-pickup: true
  auto-compress-on-inventory-change: true
  compression-delay-ticks: 20
  enable-notifications: true
  compressed-item-prefix: "&#F5A623Compressed "
  compressed-item-suffix: ""

compression-recipes:

  stone:
    enabled: true
    input-material: STONE
    input-amount: 64
    reward-type: item
    output-material: STONE
    output-amount: 1
    custom-name: "&#F5A623Compressed Stone"
    lore:
      - "&7A compressed block of stone"
    glowing: true

  coal_to_money:
    enabled: true
    input-material: COAL
    input-amount: 64
    reward-type: command
    commands:
      - "eco give {player} 100"
      - 'tellraw {player} {"text":"You earned $100 from compressing coal!","color":"green"}'

  enchanted_potato:
    enabled: true
    input-material: POTATO
    input-nexo-id: enchanted_potato
    input-amount: 64
    reward-type: command
    commands:
      - "nexo give {player} compressed_enchanted_potato 1"
      - "playsound minecraft:entity.player.levelup player {player}"

  magic_dust:
    enabled: true
    input-material: GLOWSTONE_DUST
    input-nexo-id: magic_dust
    input-amount: 32
    reward-type: item
    output-material: NETHER_STAR
    output-nexo-id: concentrated_magic
    output-amount: 1
    custom-name: "&#B463D8Concentrated Magic"
    lore:
      - "&#B463D8Compressed from 32 Magic Dust"
    glowing: true

  rare_gem:
    enabled: true
    input-material: EMERALD
    input-nexo-id: rare_gem
    input-amount: 16
    reward-type: command
    commands:
      - "eco give {player} 5000"
      - "broadcast &b{player} &acompressed 16 rare gems for $5000!"

  ancient_artifact:
    enabled: true
    input-material: GOLD_INGOT
    input-nexo-id: ancient_artifact
    input-amount: 8
    reward-type: command
    commands:
      - "give {player} minecraft:diamond 5"
      - "eco give {player} 1000"
      - "effect give {player} minecraft:luck 300 2"

  dirt:
    enabled: true
    input-material: DIRT
    input-amount: 64
    reward-type: item
    output-material: DIRT
    output-amount: 1
    custom-name: "&#F5A623Compressed Dirt"
    lore:
      - "&7A dense block of dirt"

  magical_dirt:
    enabled: true
    input-material: DIRT
    input-nexo-id: magical_dirt
    input-amount: 32
    reward-type: command
    commands:
      - "nexo give {player} super_magical_dirt 1"
      - "particle minecraft:end_rod {x} {y} {z} 1 1 1 0.1 100"

Recipe Options

OptionRequiredDescription
enabledYesToggles the recipe on or off
input-materialYesThe base Minecraft material to match
input-nexo-idNoRequire a specific Nexo item by its ID (checked via NBT)
input-amountYesNumber of input items required to trigger compression
reward-typeYesitem or command
output-materialItem onlyThe Minecraft material for the output item
output-nexo-idNoTag the output as a specific Nexo item
output-amountItem onlyHow many output items to give
custom-nameNoDisplay name for the output item (supports hex colours)
loreNoList of lore lines for the output item
glowingNoAdds an enchantment glow to the output item
commandsCommand onlyList of console commands to execute on compression

Command Placeholders

When using reward-type: command, the following placeholders are replaced automatically:

PlaceholderReplaced With
{player}Player's username
{uuid}Player's UUID
{world}World name
{x}Player's X coordinate
{y}Player's Y coordinate
{z}Player's Z coordinate