Skip to content

armors.yml

Jan Kluka edited this page Sep 13, 2026 · 2 revisions
# ------------------------------------------------------------------------------------
#  XPrisonArmors 2.0 - armor progression
#
#  Every player wears ONE set that levels as a whole. The set starts on the first tier
#  below, gains armor XP for every block the player breaks with their own pickaxe
#  (see `xp.source`) and, once the last level of a tier is reached,
#  converts in place to level 1 of the next tier. The last tier's last level is the cap.
#
#  Tiers and levels are unlimited - add, remove or reorder the `tiers` entries freely.
#  YAML order is the progression order. All text is MiniMessage.
# ------------------------------------------------------------------------------------

xp:
  # Which block breaks earn armor XP.
  #   MANUAL - only blocks the player breaks with their own pickaxe swings.
  #            Blocks broken by area enchants, bombs and other automated breaks earn nothing.
  #   ALL    - every block X-Prison counts, including area enchants and bombs.
  source: MANUAL
  # Armor XP per raw block. Decimals are fine (0.5 = one XP every two blocks).
  per-block: 1.0
  # XP is only earned while all four pieces of the set are worn.
  require-full-set: true
  # Banked XP is written to the items every N ticks, and immediately on level-up,
  # inventory changes and logout.
  flush-interval-ticks: 100
  actionbar:
    enabled: false
    throttle-ticks: 20
    format: "<gray>%tier_name% <white>Lv %level% <dark_gray>| %xp_bar% <dark_gray>| <yellow>%xp_percent%"
  bar:
    length: 20
    filled: "<green>|"
    empty: "<dark_gray>|"

bonuses:
  # Boosts only apply while all four pieces are worn. false = each worn piece grants 25 %.
  require-full-set: true
  # Which currency credits are boosted (X-Prison ReceiveCause keys, addons may add more).
  currency-causes:
    - MINING
    - MINING_OTHERS
  # Which pickaxe XP sources are boosted.
  pickaxe-xp-sources:
    - MANUAL
    - AREA_ENCHANTS
    - AUTOMINER

# How each boost is rendered in item lore and menus.
# %multiplier% = 1.32x, %value% = percent, %currency% = currency name, %icon% = currency-icons entry.
boost-line-format:
  currency: "<gold>| <white>%currency% Boost: <gold>%multiplier%"
  pickaxe-xp: "<gold>| <white>Pickaxe XP Boost: <gold>%multiplier%"
  enchant-proc: "<gold>| <white>Enchant Proc Boost: <gold>%multiplier%"
currency-icons:
  money: "$"
  tokens: "⛃"
  gems: "💠"

lore-texts:
  piece-names:
    helmet: "Helmet"
    chestplate: "Chestplate"
    leggings: "Leggings"
    boots: "Boots"
  piece-descriptions:
    helmet: "Protects your head while you dig."
    chestplate: "The heart of the set."
    leggings: "Keeps you moving between mines."
    boots: "Steady footing on every block."
  skin-line: "<gray>Skin: %skin_name% <dark_gray>(+%skin_xp%% armor XP)"
  soulbound-line: "<dark_gray>Soulbound"
  maxed-text: "MAXED"
  no-boosts-line: "<gray>No boosts yet"
  # Java format strings: how multipliers (1.32x) and percentages (45.0%) are printed everywhere.
  multiplier-format: "%.2fx"
  percent-format: "%.1f%%"

# ------------------------------------------------------------------------------------
#  Tiers - Common -> Insanity. A fully upgraded Insanity set takes ~5,000,000 blocks with
#  per-block: 1.0 and boosts EVERYTHING by +200 % (3.0x).
#
#  xp:      level n costs base * growth^(n-1). Or list every cost with `levels-xp: [..]`.
#  boosts:  full-set values in percent, interpolated per level from `from` (Lv1) to `to`
#           (max level). Currencies are X-Prison currency ids.
#  set:     base is LEATHER / CHAINMAIL / IRON / GOLDEN / DIAMOND / NETHERITE (-> <BASE>_HELMET ...),
#           or set a full material per piece. color applies to leather. Per-piece blocks override
#           material, color, custom-model-data, name and lore.
# ------------------------------------------------------------------------------------
tiers:
  common:
    display-name: "<gradient:#bdbdbd:#8c8c8c><bold>Common</bold></gradient>"
    color: "#8C7B6B"
    levels: 10
    xp:
      base: 175
      growth: 1.2
    boosts:
      currency:
        money: { from: 1, to: 10 }
        tokens: { from: 1, to: 10 }
        gems: { from: 1, to: 10 }
      pickaxe-xp: { from: 1, to: 10 }
      enchant-proc: { from: 1, to: 10 }
    set:
      base: LEATHER
      glow: false
      unbreakable: true
      enchants:
        PROTECTION: 1
      name: "%tier_name% <gold>Armor"
      lore:
        - ""
        - "<gold><bold>Stats"
        - "<gold>| <white>Level: <gold>%level%<white>/<gold>%max_level%"
        - "%boost_lines%"
        - "<gold>| <white>Next Level XP: <gold>%xp%<white>/<gold>%xp_required%"
        - ""
        - "<white>More information in <gold>/armors"
        - "%skin_line%"
        - "%soulbound_line%"
      helmet: {}
      chestplate: {}
      leggings: {}
      boots: {}
  uncommon:
    display-name: "<gradient:#55a630:#2b9348><bold>Uncommon</bold></gradient>"
    color: "#55A630"
    levels: 10
    xp:
      base: 525
      growth: 1.2
    boosts:
      currency:
        money: { from: 11, to: 25 }
        tokens: { from: 11, to: 25 }
        gems: { from: 11, to: 25 }
      pickaxe-xp: { from: 11, to: 25 }
      enchant-proc: { from: 11, to: 25 }
    set:
      base: LEATHER
      glow: false
      unbreakable: true
      enchants:
        PROTECTION: 2
      name: "%tier_name% <gold>Armor"
      lore:
        - ""
        - "<gold><bold>Stats"
        - "<gold>| <white>Level: <gold>%level%<white>/<gold>%max_level%"
        - "%boost_lines%"
        - "<gold>| <white>Next Level XP: <gold>%xp%<white>/<gold>%xp_required%"
        - ""
        - "<white>More information in <gold>/armors"
        - "%skin_line%"
        - "%soulbound_line%"
  rare:
    display-name: "<gradient:#6dd6ff:#3aaed8><bold>Rare</bold></gradient>"
    color: "#3AAED8"
    levels: 10
    xp:
      base: 1575
      growth: 1.2
    boosts:
      currency:
        money: { from: 27, to: 45 }
        tokens: { from: 27, to: 45 }
        gems: { from: 27, to: 45 }
      pickaxe-xp: { from: 27, to: 45 }
      enchant-proc: { from: 27, to: 45 }
    set:
      base: CHAINMAIL
      glow: false
      unbreakable: true
      enchants:
        PROTECTION: 2
      name: "%tier_name% <gold>Armor"
      lore:
        - ""
        - "<gold><bold>Stats"
        - "<gold>| <white>Level: <gold>%level%<white>/<gold>%max_level%"
        - "%boost_lines%"
        - "<gold>| <white>Next Level XP: <gold>%xp%<white>/<gold>%xp_required%"
        - ""
        - "<white>More information in <gold>/armors"
        - "%skin_line%"
        - "%soulbound_line%"
  epic:
    display-name: "<gradient:#c77dff:#9d4edd><bold>Epic</bold></gradient>"
    color: "#9D4EDD"
    levels: 10
    xp:
      base: 4725
      growth: 1.2
    boosts:
      currency:
        money: { from: 48, to: 75 }
        tokens: { from: 48, to: 75 }
        gems: { from: 48, to: 75 }
      pickaxe-xp: { from: 48, to: 75 }
      enchant-proc: { from: 48, to: 75 }
    set:
      base: IRON
      glow: false
      unbreakable: true
      enchants:
        PROTECTION: 3
      name: "%tier_name% <gold>Armor"
      lore:
        - ""
        - "<gold><bold>Stats"
        - "<gold>| <white>Level: <gold>%level%<white>/<gold>%max_level%"
        - "%boost_lines%"
        - "<gold>| <white>Next Level XP: <gold>%xp%<white>/<gold>%xp_required%"
        - ""
        - "<white>More information in <gold>/armors"
        - "%skin_line%"
        - "%soulbound_line%"
  legendary:
    display-name: "<gradient:#ffea00:#ff9f00><bold>Legendary</bold></gradient>"
    color: "#FFB703"
    levels: 10
    xp:
      base: 14175
      growth: 1.2
    boosts:
      currency:
        money: { from: 79, to: 115 }
        tokens: { from: 79, to: 115 }
        gems: { from: 79, to: 115 }
      pickaxe-xp: { from: 79, to: 115 }
      enchant-proc: { from: 79, to: 115 }
    set:
      base: GOLDEN
      glow: false
      unbreakable: true
      enchants:
        PROTECTION: 3
      name: "%tier_name% <gold>Armor"
      lore:
        - ""
        - "<gold><bold>Stats"
        - "<gold>| <white>Level: <gold>%level%<white>/<gold>%max_level%"
        - "%boost_lines%"
        - "<gold>| <white>Next Level XP: <gold>%xp%<white>/<gold>%xp_required%"
        - ""
        - "<white>More information in <gold>/armors"
        - "%skin_line%"
        - "%soulbound_line%"
  mythic:
    display-name: "<gradient:#4cc9f0:#4361ee><bold>Mythic</bold></gradient>"
    color: "#4CC9F0"
    levels: 10
    xp:
      base: 42525
      growth: 1.2
    boosts:
      currency:
        money: { from: 120, to: 160 }
        tokens: { from: 120, to: 160 }
        gems: { from: 120, to: 160 }
      pickaxe-xp: { from: 120, to: 160 }
      enchant-proc: { from: 120, to: 160 }
    set:
      base: DIAMOND
      glow: false
      unbreakable: true
      enchants:
        PROTECTION: 4
      name: "%tier_name% <gold>Armor"
      lore:
        - ""
        - "<gold><bold>Stats"
        - "<gold>| <white>Level: <gold>%level%<white>/<gold>%max_level%"
        - "%boost_lines%"
        - "<gold>| <white>Next Level XP: <gold>%xp%<white>/<gold>%xp_required%"
        - ""
        - "<white>More information in <gold>/armors"
        - "%skin_line%"
        - "%soulbound_line%"
  insanity:
    display-name: "<gradient:#ff2e63:#ff0a54><bold>Insanity</bold></gradient>"
    color: "#FF2E63"
    levels: 10
    xp:
      base: 127575
      growth: 1.2
    boosts:
      currency:
        money: { from: 165, to: 200 }
        tokens: { from: 165, to: 200 }
        gems: { from: 165, to: 200 }
      pickaxe-xp: { from: 165, to: 200 }
      enchant-proc: { from: 165, to: 200 }
    set:
      base: NETHERITE
      glow: true
      unbreakable: true
      enchants:
        PROTECTION: 4
      name: "%tier_name% <gold>Armor"
      lore:
        - ""
        - "<gold><bold>Stats"
        - "<gold>| <white>Level: <gold>%level%<white>/<gold>%max_level%"
        - "%boost_lines%"
        - "<gold>| <white>Next Level XP: <gold>%xp%<white>/<gold>%xp_required%"
        - ""
        - "<white>More information in <gold>/armors"
        - "%skin_line%"
        - "%soulbound_line%"

Clone this wiki locally