Skip to content

config.yml

Jan Kluka edited this page Sep 13, 2026 · 1 revision
# ------------------------------------------------------------------------------------
#  XPrisonArmors 2.0 - main configuration
#  Ladder, XP and boosts: armors.yml   Skins: skins.yml   Menus: gui.yml   Text: messages.yml
# ------------------------------------------------------------------------------------
config-version: 2

# /armors aliases (player menu) and /armorsadmin aliases.
main-command:
  - armors
  - armor
  - xarmors
admin-command:
  - armorsadmin
  - xarmorsadmin

enable-metrics: false
enable-debug: false

first-join:
  # Players who own no armor set receive a level 1 set of the first tier when they join.
  give-set: true
  # Put the pieces straight into the armor slots (empty slots only).
  auto-equip: true

claim:
  # /armors claim and the menu button re-give the missing pieces of the player's current
  # set, or a fresh first-tier set when they own no piece anywhere.
  enabled: true
  cooldown-seconds: 0

soulbound:
  # Pieces cannot be dropped, stored in containers, put on armor stands or traded.
  enabled: true
  # Pieces cannot be taken out of the armor slots once worn (clicks, drags, hotkeys, swaps).
  lock-in-slots: true
  # Pieces survive death and are put back on respawn (only matters when keepInventory is off).
  keep-on-death: true

legacy:
  # Armor items from XPrisonArmors 1.x are converted into a level 1 first-tier set on join.
  # Needs the NBTAPI plugin installed (it was a dependency of 1.x).
  convert-old-items: true
  # Which skin a converted 1.x tier keeps (the four bundled skins mirror the 1.x tiers).
  tier-to-skin:
    common: common
    rare: rare
    legendary: legendary
    mythical: mythical

sounds:
  gui-open: { name: BLOCK_CHEST_OPEN, volume: 0.6, pitch: 1.2 }
  gui-click: { name: UI_BUTTON_CLICK, volume: 0.5, pitch: 1.0 }
  success: { name: ENTITY_EXPERIENCE_ORB_PICKUP, volume: 0.8, pitch: 1.4 }
  error: { name: ENTITY_VILLAGER_NO, volume: 0.8, pitch: 1.0 }
  skin-applied: { name: ITEM_ARMOR_EQUIP_NETHERITE, volume: 1.0, pitch: 1.0 }

# Feedback on progression. Every part can be switched off on its own.
# Placeholders: %tier_name% %level% %max_level% %next_tier% %player% %previous_tier%
#               %previous_level% %levels_gained% %xp_bar% %xp_percent% %boost_lines%
# Title timings are in seconds.
effects:
  level-up:
    message:
      enabled: true
      text: "<gradient:#FFD700:#FFA500><bold>ARMORS</bold></gradient> <dark_gray>» <green>Your armor reached %tier_name% <white>Lv %level%<dark_gray>/<white>%max_level%<green>!"
    title:
      enabled: false
      title: "<green><bold>LEVEL UP"
      subtitle: "<white>%tier_name% <gray>Lv <white>%level%"
      fade-in: 0
      stay: 2
      fade-out: 1
    sound:
      enabled: true
      sound: ENTITY_EXPERIENCE_ORB_PICKUP
      volume: 1.0
      pitch: 1.4
    actionbar:
      enabled: false
      text: ""
  tier-up:
    message:
      enabled: true
      text: "<gradient:#FFD700:#FFA500><bold>ARMORS</bold></gradient> <dark_gray>» <gold>Your armor ascended to %tier_name%<gold>! <gray>Its boosts grow with every level."
    title:
      enabled: false
      title: "%tier_name%"
      subtitle: "<white>Armor tier unlocked"
      fade-in: 0
      stay: 3
      fade-out: 1
    sound:
      enabled: true
      sound: UI_TOAST_CHALLENGE_COMPLETE
      volume: 1.0
      pitch: 1.0
    broadcast:
      enabled: true
      text: "<gradient:#FFD700:#FFA500><bold>ARMORS</bold></gradient> <dark_gray>» <yellow>%player% <gray>ascended their armor to %tier_name%<gray>!"
    particles:
      enabled: true
      particle: TOTEM_OF_UNDYING
      count: 30
  max-level:
    message:
      enabled: true
      text: "<gradient:#FFD700:#FFA500><bold>ARMORS</bold></gradient> <dark_gray>» <light_purple>Your armor is fully upgraded - %tier_name% <white>Lv %level% <light_purple>is the top!"
    title:
      enabled: false
      title: "<light_purple><bold>MAXED"
      subtitle: "<white>%tier_name% <gray>Lv <white>%level%"
      fade-in: 0
      stay: 4
      fade-out: 1
    sound:
      enabled: true
      sound: UI_TOAST_CHALLENGE_COMPLETE
      volume: 1.0
      pitch: 0.8
    broadcast:
      enabled: true
      text: "<gradient:#FFD700:#FFA500><bold>ARMORS</bold></gradient> <dark_gray>» <yellow>%player% <gray>fully upgraded their armor to %tier_name% <white>Lv %level%<gray>!"
    particles:
      enabled: true
      particle: TOTEM_OF_UNDYING
      count: 60

Clone this wiki locally