Sueta

⚒️ ITEM REFORGE ⚒️ | Reforge your items! [1.13-1.20]

2.0-SNAPSHOT

Item reforger function for your Blacksmith.

·Plugin

itemreforgetitle.png
◈ Information

ItemReforge is a plugin that allows your players to reforge any sword/armor/tool through a menu.
Reforging adds random enchantments to the item, you can define the enchantment levels and chances in the plugin config.

◈ Features

  • Everything is translatable.
  • Define enchantment levels and probabilities in config.
  • Custom lore to reforged items.
  • Prevent reforging an item twice.

◈ Commands

  • /reforge menu (reforge.use) Open the reforging menu.
  • /reforge reload (reforge.admin) Reload the config and language.

◈ Media

config.yml
Reforge:
  cost: 1500
  enchantments:
    sword:
      min_new_enchantments: 3
      max_new_enchantments: 5
      chances:
        1:
          ench: bane_of_arthropods:1
          chance: 20
        2:
          ench: vanishing_curse:1
          chance: 20
        3:
          ench: fire_aspect:1
          chance: 20
        4:
          ench: knockback:1
          chance: 20
        5:
          ench: looting:1
          chance: 20
        6:
          ench: mending:1
          chance: 20
        7:
          ench: sharpness:1
          chance: 20
        8:
          ench: smite:1
          chance: 20
        9:
          ench: sweeping:1
          chance: 20
        10:
          ench: unbreaking:1
          chance: 20
    armor:
      min_new_enchantments: 3
      max_new_enchantments: 4
      chances:
        1:
          ench: fire_protection:1
          chance: 20
        2:
          ench: projectile_protection:1
          chance: 20
        3:
          ench: blast_protection:1
          chance: 20
        4:
          ench: protection:1
          chance: 20
        5:
          ench: unbreaking:1
          chance: 20
        6:
          ench: thorns:1
          chance: 20
        7:
          ench: mending:1
          chance: 20
        8:
          ench: binding_curse:1
          chance: 20
        9:
          ench: vanishing_curse:1
          chance: 20
        10:
          ench: respiration:1
          chance: 20
        11:
          ench: aqua_affinity:1
          chance: 20
        12:
          ench: feather_falling:1
          chance: 20
        13:
          ench: depth_strider:1
          chance: 20
        14:
          ench: soul_speed:1
          chance: 20
        15:
          ench: frost_walker:1
          chance: 20
    tool:
      min_new_enchantments: 2
      max_new_enchantments: 4
      chances:
        1:
          ench: efficiency:1
          chance: 20
        2:
          ench: fortune:1
          chance: 20
        3:
          ench: silk_touch:1
          chance: 20
        4:
          ench: unbreaking:1
          chance: 20
        5:
          ench: mending:1
          chance: 20
        6:
          ench: vanishing_curse:1
          chance: 20
language.yml
messages:
  no-money: "&cYou don't have enough money!"
  reforged: "&aYou have successfully reforged your item!"
  reforge-lore: "&8This item has been reforged"
  already_reforged: "&cThis item is already reforged!"
  too-soft: "&cThis item is too soft to reforge!"
  menu-title: "&8Reforge menu"
  anvil_item:
    display-name: "&eReforge item"
    lore:
      - "&7Place an item above to reforge"
      - "&7it! Reforging items adds a"
      - "&7random modifier to the item that"
      - "&7grants stat boosts."
    lore2:
      - "&7Reforges the above item, giving"
      - "&7it a random item modifier that"
      - "&7boosts its stats."
      - "&7"
      - "&7Cost"
      - "&6%cost% &6Coins"
      - "&7"
      - "&7Click to reforge!"
  close_item:
    display-name: "&cClose"
    lore:
      - "&7Close menu"
menu.yml
Menu:
  Items:
    close-item:
      material: BARRIER
    reforge-item:
      empty: ANVIL
      inProgress: ANVIL
      complete: CHIPPED_ANVIL

  Background:
    complete:
      material: LIME_STAINED_GLASS_PANE
      amount: 1
      name: "&7"
      lore:
        - "&7"
    inProgress:
      material: YELLOW_STAINED_GLASS_PANE
      amount: 1
      name: "&7"
      lore:
        - "&7"
    empty:
      material: RED_STAINED_GLASS_PANE
      amount: 1
      name: "&7"
      lore:
        - "&7"
    background:
      material: BLACK_STAINED_GLASS_PANE
      amount: 1
      name: "&7"
      lore:
        - "&7"

If you have downloaded and used the plugin on your server, please leave a review!

Report bugs and get support here: https://discord.gg/J4zB6bK9Eu

Similar projects

Plugin →