# message.yml

## 🎨 Message Format Usage

You can use color codes in the following four formats:

#### **1. RGB**

`&#ffffff`

#### **2. Standard**

`&f`

#### **3. MiniMessage**

`<red>`

#### **4. Legacy Hex**

`&x&.....`

🔗 **Web Editor:**\
<https://www.birdflop.com/resources/rgb/>

***

## 📝 Messages Configuration

All messages listed here are used throughout the entire system and can be fully customized as needed.

```
##########################################################################
#
#                         nwMMOUpgrade - MMOItems
#      Created By Discord NN#7999 (Newworld Server)
#
#      Supports RGB and standard color codes.
#      1.RGB = &#ffffff
#      2.Standard = &f
#      3. MiniMessage = <red>
#      4. Legacy Hex = &x
#      https://www.birdflop.com/resources/rgb/
#
##########################################################################

#Contact&Support: https://discord.gg/gwXcr7c6Gq

messages:
  config-update:
    start-all: "&eUpdating all parts of the config..."
    finish-all: "&a Done! &7A total of {total} entries were added from all parts of the config."
    start-station: "&6Updating &e{station} &6..."
    start-placeholder: "&6Updating &eplaceholders &6..."
    skip-folder: "&8- &7Skipped &f{folder} &8(no yml files)"
    skip-file: "&8- &7Skipped &f{file} &8(not in jar)"
    skip-placeholder-folder: "&8- &7Skipped placeholders (folder not found)"
    skip-station-not-found: "&c✗ &7Template not found for &f{path}"
    use-default: "&7Using default.yml as the template for &f{file}"
    use-global: "&7Using global.yml as the template for &f{file}"
    updated: "&a✔ &f{path} &7({added} new entries)"
    complete: "&a✔ Done! &7Total of {added} entries added in {folder}"
    already-updated: "&7- &f{path} &8(already up to date)"
    error: "&c✗ &f{path} &7: {error}"
    not-found: "&cConfig folder or file not found for: &f{name}"
  button-confirm-lore:
    empty-item-line: "<red>Please drag item in slot</red>"
    ability-requirement-line: "&8- &f{display_name} &7(&e{current_value}&7/&a{required_value}&7)"
    evolution-requirement-line: "&8- &f{display_name} &7(&e{current_value}&7/&a{required_value}&7)"
    process-requirement-line: "&8- &f{display_name} &7(&e{current_value}&7/&a{required_value}&7)"
    combine-requirement-line: "&8- &f{display_name} &7(&e{current_value}&7/&a{required_value}&7)"
    missing-material-line: "&8- &f{display_name} &7(&e{current_value}&7/&a{required_value}&7)"
  upgrade:
    level-to-zero-upgrade: "Upgrade failed! Reset to level 0"
    level-up-upgrade: "&aUpgrade successful! New level: &e{level}"
    level-down-upgrade: "Upgrade failed! Item level decreased"
    level-fail-upgrade:
      - "&c------------------------"
      - "&cUPGRADE FAILED!"
      - "&7Your item did not upgrade."
      - "&c------------------------"
    level-fail-protection-upgrade: "Upgrade failed, but item was protected"
    error-upgrade-template: "An error occurred during upgrade"
    level-max-upgrade-item: "Upgrade reached maximum level"
    no-upgrade-template-item: "This item has no upgrade template"
    wrong-upgrade-item: "This item cannot be upgraded"
    place-an-item-in-slot: "Place the item you want to upgrade before pressing Confirm"
    destroy-item-upgrade: "Destroy Item"
    incorrect-protection-item: "&cInvalid protection type provided!"
    incorrect-material-item: "&cInvalid material type provided!"
    incorrect-chance-item: "&cThe item used is not compatible for chance upgrades."
    missing-material-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    missing-chance-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    not-enough-money: "&cYou don't have enough money! Required: &f{cost}"
    not-enough-protection-item: "&cInsufficient Protection &f{name}: &c{has} / {needed}"
    not-enough-material-item: "&cInsufficient Materials &f{name}: &c{has} / {needed}"
    not-enough-chance-item: "&cNot Enough Required Items &f{name}: &c{has} / {needed}"
    cannot-add-material: "&cYou cannot add that material."
    cannot-add-item: "&cYou cannot add that item."
  gem_add_socket:
    max-reached: "&cGem socket limit reached."
    socket-added: "Successfully added a Gem slot!"
    socket-add-failed: "Failed to add a socket"
    destroy-socket-add-failed: "Destroy Item."
    no-durability-item: "No Durability Item"
    remove-durability-item: "Remove Durability Item"
    invalid-mmoitem: "This item is not a valid MMOItem!"
    invalid-item-type: "This item type cannot have Gem slots added."
    cannot-add-sockets: "This item cannot have Gem slots added. Please check the type."
    invalid-item: "Invalid item"
    incorrect-material-item: "&cInvalid material type provided!"
    incorrect-chance-item: "&cThe item used is not compatible for chance upgrades."
    missing-material-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    missing-chance-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    not-enough-money: "&cYou don't have enough money! Required: &f{cost}"
    not-enough-material-item: "&cInsufficient Materials &f{name}: &c{has} / {needed}"
    not-enough-chance-item: "&cNot Enough Required Items &f{name}: &c{has} / {needed}"
    cannot-add-material: "&cYou cannot add that material."
    cannot-add-item: "&cYou cannot add that item."
  gem_add_item:
    # Existing messages (for clarity)
    max-reached: "&cYou cannot add any more gems! Slots are full!"
    invalid-mmoitem: "&cThe item you're trying to add a gem to is not a valid MMOItem!"
    invalid-item-type: "&cThis gem type cannot be applied to this item type!"
    gem-insert-failed: "&cGem insertion failed! An internal error may have occurred."
    none-gem-color-socket-slot: "&cNo suitable socket slot found for this gem!"
    error-add-socket: "&cAn error occurred while adding the gem: {error}"
    gem-has-no-color: "&cNo color found on the Gem Stone! Please check your gem."
    no-matching-color-socket: "&cNo empty socket found with a matching color! Please check the gem color or the item's sockets."
    no-gem-found: "&cNo valid gem found in the gem slot. Please check again." # Already existed, but included for completeness
    invalid-item: "&cThe item you're trying to use is invalid!"
    no-empty-socket: "&cNo empty slot found for the gem!"
    not-has-gem-sockets: "&cThis item does not have gem sockets!"
    incorrect-material-item: "&cInvalid material type provided!"
    incorrect-chance-item: "&cThe item used is not compatible for chance upgrades."
    missing-material-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    missing-chance-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    not-enough-money: "&cYou don't have enough money! Required: &f{cost}"
    not-enough-material-item: "&cInsufficient Materials &f{name}: &c{has} / {needed}"
    not-enough-chance-item: "&cNot Enough Required Items &f{name}: &c{has} / {needed}"
    cannot-add-material: "&cYou cannot add that material."
    cannot-add-item: "&cYou cannot add that item."
  repair:
    success: "Item(s) repaired."
    invalid-slots: "Invalid item slot(s)."
    not-enough-money: "You do not have enough money (requires {cost})."
    no-items-repaired: "No items were repaired."
    cancel-item: "&cYou can only place items in the repair slot."
  gem_un_socket:
    invalid-item: "Invalid item!"
    success: "&aSuccessfully un-socketed the gem from the item!"
    fail: "&cUn-socketing failed! Couldn't remove the gem from the item."
    no-item: "&cPlease place the correct item."
    money-taken: "&cMoney taken: {cost}."
    gem-index-out-of-bound: "The gem the player is trying to un-socket is invalid or out of range of the existing gems on the item."
    gem-not-found: "Gem not found on this item."
    gem-index-not-found: "Gem not found on this item, or the item is invalid."
    incorrect-material-item: "&cInvalid material type provided!"
    incorrect-chance-item: "&cThe item used is not compatible for chance upgrades."
    missing-material-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    missing-chance-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    not-enough-money: "&cYou don't have enough money! Required: &f{cost}"
    not-enough-material-item: "&cInsufficient Materials &f{name}: &c{has} / {needed}"
    not-enough-chance-item: "&cNot Enough Required Items &f{name}: &c{has} / {needed}"
    cannot-add-material: "&cYou cannot add that material."
    cannot-add-item: "&cYou cannot add that item."
  merge:
    success: "&aSuccessfully merged item data!"
    fail: "&cFailed to merge item data!"
    main-item-no-stats: "&cThe item in the slot has no stats."
    item-type-mismatch: "&cDont item type mismatch"
    max-sockets-reached: "&cThe item in the socket slot has exceeded {max}." # Consider rewording for clarity, e.g., "Max sockets reached: {max}" or "The item has reached its maximum of {max} sockets."
    fail-not-enough-slots: "&cNo available enchantment slots."
    max-enchants-reached: "&cCannot merge! The item has exceeded {max} enchantment types."
    incorrect-material-item: "&cInvalid material type provided!"
    incorrect-chance-item: "&cThe item used is not compatible for chance upgrades."
    missing-material-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    missing-chance-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    not-enough-money: "&cYou don't have enough money! Required: &f{cost}"
    not-enough-material-item: "&cInsufficient Materials &f{name}: &c{has} / {needed}"
    not-enough-chance-item: "&cNot Enough Required Items &f{name}: &c{has} / {needed}"
    cannot-add-material: "&cYou cannot add that material."
    cannot-add-item: "&cYou cannot add that item."
  reroll_stat:
    error-no-item: "&cError: Main item for reroll not found."
    no-eligible-stats: "&cThis item has no eligible stats to reroll."
    success-reroll: "&aItem stats rerolled successfully!"
    no-stat-changed: "&eNo stats could be rerolled."
    reroll-failed: "&cStat reroll failed, please try again."
    reroll-result: "&7{stat}: {old_stats} ➝ {new_stats} ({value})"
    not-have-reroll-point: "&cNot have reroll point"
    incorrect-material-item: "&cInvalid material type provided!"
    incorrect-chance-item: "&cThe item used is not compatible for chance upgrades."
    missing-material-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    missing-chance-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    not-enough-money: "&cYou don't have enough money! Required: &f{cost}"
    not-enough-material-item: "&cInsufficient Materials &f{name}: &c{has} / {needed}"
    not-enough-chance-item: "&cNot Enough Required Items &f{name}: &c{has} / {needed}"
    cannot-add-material: "&cYou cannot add that material."
    cannot-add-item: "&cYou cannot add that item."
  process:
    fail: "&c✘ Failed to complete the process."
    success: "&a✔ Successfully completed the process."
    money-gained: "&aYou received &e%amount% &amoney!"
    item-gained: "&aYou gained &b%item%&a!"
    required-upgrade-level: "&cUpgrade failed. low upgrade level"
    error-creating-item: "&cAn error occurred while creating the item. Please contact an administrator!"
    incorrect-material-item: "&cInvalid material type provided!"
    incorrect-chance-item: "&cThe item used is not compatible for chance upgrades."
    missing-material-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    missing-chance-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    not-enough-money: "&cYou don't have enough money! Required: &f{cost}"
    not-enough-material-item: "&cInsufficient Materials &f{name}: &c{has} / {needed}"
    not-enough-chance-item: "&cNot Enough Required Items &f{name}: &c{has} / {needed}"
    cannot-add-material: "&cYou cannot add that material."
    cannot-add-item: "&cYou cannot add that item."
    missing-requirements-conditions: "&cMissing requirement: &f{name} &7(&f{material}&7) &8x{amount}"
  evolution:
    success: "&aUpgrade successful"
    fail: "&cUpgrade failed. Try again"
    evolved: "&bYour item has evolved"
    error-creating-item: "&cError while creating the item"
    item-returned: "&eYour item has been returned"
    required-upgrade-level: "&cUpgrade failed. low upgrade level"
    incorrect-material-item: "&cInvalid material type provided!"
    incorrect-chance-item: "&cThe item used is not compatible for chance upgrades."
    missing-material-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    missing-chance-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    not-enough-money: "&cYou don't have enough money! Required: &f{cost}"
    not-enough-material-item: "&cInsufficient Materials &f{name}: &c{has} / {needed}"
    not-enough-chance-item: "&cNot Enough Required Items &f{name}: &c{has} / {needed}"
    cannot-add-material: "&cYou cannot add that material."
    cannot-add-item: "&cYou cannot add that item."
    missing-requirements-conditions: "&cMissing requirement: &f{name} &7(&f{material}&7) &8x{amount}"
  ability:
    not-have-ability-point: "&cNot have ability point"
    error-config-item: "&cNot Found Config Item"
    not-have-modifier: "&cNot Found {mdf} Modifier in Ability"
    ability-min-max: "&c⚠ {abilityName} must be within the range {min} - {max}."
    success: "&aUpgrade successful"
    fail: "&cUpgrade failed. Try again"
    ability-add-main-item-fail: "&ePlease have an item in the main slot to add abilities to."
    ability-add-ability-item-fail: "&ePlease have an item with abilities on your cursor."
    ability-add-match-type-fail: "&cThe item on your cursor must be a valid MMOItem of type {type}"
    ability-add-match-type-item-fail: "&cBoth items must be valid MMOItems."
    ability-add-item-not-have-ability-fail: "&cThe item on your cursor has no abilities."
    ability-add-ability-item-not-have-ability-fail: "&cThe item on your cursor has no abilities to transfer."
    ability-add-success: "&aAbilities have been successfully merged!"
    ability-add-match-dupe: "&cSome abilities were not transferred because they already exist on the main item."
    ability-remove-main-item-fail: "&cPlease place a valid item in the main slot to remove an ability from."
    ability-remove-ability-item-fail: "&cPlease place the correct item on your cursor to remove an ability."
    ability-remove-match-type-fail: "&cThe item on your cursor must be a valid MMOItem of type {type} with ID {id}."
    ability-remove-item-have-ability-fail: "&cThe item used to remove abilities must not already contain abilities."
    ability-remove-target-not-found: "&cThe selected ability could not be found on the main item."
    ability-remove-success: "&aAbility removed successfully!"
    incorrect-material-item: "&cInvalid material type provided!"
    incorrect-chance-item: "&cThe item used is not compatible for chance upgrades."
    missing-material-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    missing-chance-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    not-enough-money: "&cYou don't have enough money! Required: &f{cost}"
    not-enough-material-item: "&cInsufficient Materials &f{name}: &c{has} / {needed}"
    not-enough-chance-item: "&cNot Enough Required Items &f{name}: &c{has} / {needed}"
    cannot-add-material: "&cYou cannot add that material."
    cannot-add-item: "&cYou cannot add that item."
    missing-requirements-conditions: "&cMissing requirement: &f{name} &7(&f{material}&7) &8x{amount}"
  updateitem:
    update-item-success: "&aItem updated successfully!"
    update-item-fail: "&cUpdate item failed"
    update-item-fail-not-mmoitem: "&cThe item is not an MMOItem or no item is in the slot"
    update-item-fail-build: "&cFailed to build a new item. Please try again."
  combine:
    success: "&aCombine successful"
    fail: "&cUpgrade failed. Try again"
    fail-no-match: "fail-no-match"
    give-item: "&eYour item has been returned %item% %amount%"
    incorrect-material-item: "&cInvalid material type provided!"
    incorrect-chance-item: "&cThe item used is not compatible for chance upgrades."
    missing-material-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    missing-chance-item: "&cYou are missing: {material} &7(&f{amount}&7)"
    not-enough-money: "&cYou don't have enough money! Required: &f{cost}"
    not-enough-material-item: "&cInsufficient Materials &f{name}: &c{has} / {needed}"
    not-enough-chance-item: "&cNot Enough Required Items &f{name}: &c{has} / {needed}"
    cannot-add-material: "&cYou cannot add that material."
    cannot-add-item: "&cYou cannot add that item."
    missing-requirements-conditions: "&cMissing requirement: &f{name} &7(&f{material}&7) &8x{amount}"
```

***

## 💬 Message Format Usage (Examples)

Below are the message formatting examples based on your configuration.

***

```yaml
level-fail-upgrade:
  - "&c------------------------"
  - "&cUPGRADE FAILED!"
  - "&7Your item did not upgrade."
  - "&c------------------------"
```

***

```yaml
level-down-upgrade: "Upgrade failed! Item level decreased"
```

***
