✨ Item Upgrader ✨ [Oraxen/ItemsAdder/EcoItems] | [1.8 - 1.21.4] icon

✨ Item Upgrader ✨ [Oraxen/ItemsAdder/EcoItems] | [1.8 - 1.21.4] -----

An Item Upgrader plugin with extremely customizable features.



Added option to customize item amount that will be upgraded and some fixes
  • Added option to specify a amount of an item that will be upgraded to be able to open upgrader menu.
  • Fixed sending a debug message when player does not have required items, in case user set a list of required items.
  • Now if required item amount is 5 and if player has 10 then 5 of them will be removed from player.
  • Now upgraded item will add to player's inventory in case their main hand can be filled with another item.

Changes in messages.yml

Code (YAML):
messages :
  # {0} - Needed amount to upgrade. | {1} - Current amount of the currently held item.
  not-enough-amount
: "&c&lYou need at least {0} of currently held item to upgrade it!"

Usage of new feature

Code (YAML):
upgrades:
  '1'
:
    from
:
      # 'from.item' is the item that will be upgraded to another item.
      item
: APPLE
      # 'from.name' is the name of the item that will be upgraded to another item.
      name
: ""
      # How many item should we take if player wants to upgrade their item. (default is 1)
      amount
: 1
    to
:
      # 'to.item' is the item that will be the upgraded item from a previous item.
      # Use 'oraxen:item_id_here' for custom textured items by Oraxen plugin.
      # Use 'itemsadder:item_id_here' for custom textured items by ItemsAdder plugin.
      # Use 'ecoitems:item_id_here' for custom items by EcoItems plugin.
      item
: GOLDEN_APPLE
      # 'to.item' is the new item's name which will be the upgraded from a previous item.
      # %price% and %chance% placeholders can be used in the name and lore section.
      name
: "&e&lUpgraded Apple"
      # 'to.lore' is the new item's lore which will be the upgraded from a previous item.
      lore
:
       - ""
        - "&7A golden apple that is upgraded"
        - "&7with a chance of %chance%%"
      # The amount of the upgraded item. This option is also optional, by default the value is 1.
      amount
: 1
    # 'chance' amount is going to be used if player accepts to upgrade and try their chance.
    # If player is unlucky, they will lose their item and item won't be upgraded :(
    chance
: 99
    # 'price' is optional, you can set a price for that upgrade. Price system is using the Vault API.
    price
: 0
    # 'enchantments' are optional. You can add enchantments to the new upgraded item.
    enchantments
: [ ]
    # 'reset-enchants' is optional. You can reset the enchantments of the previous item.
    # If the previous item has enchantments, they will be applied to the new upgraded item as well.
    # If there are same enchantments in the previous item and upgraded item, larger level will be used.
    reset-enchants
: true
    # 'disallowed-enchantments' is optional. If the previous item contains one these enchantments
    # they won't be able to open upgrade menu and upgrade the item, and will receive a message about that.
    disallowed-enchantments
: [ ]
    # 'required-items' is optional. To be able to upgrade the item player must have these items in their inventory.
    required-items
:
      '1'
:
        material
: STICK
        name
: ""
        # Player must have minimum 5 sticks to upgrade their item.
        amount
: 5
        lore
: [ ]
        enchantments
: [ ]
        #  - "PROTECTION:1"
    # This option is a must if you set the 'required-items' section.
    # The message that will be sent to player if they don't have enough the required items in their inventory.
    no-required-items-found
: "&cYou don't have the required items in your inventory! You need 5 sticks to upgrade your Apple!"
----------, Jun 18, 2024
Resource Information
Author:
----------
Total Downloads: 22
First Release: May 11, 2024
Last Update: Dec 19, 2024
Category: ---------------
All-Time Rating:
1 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings