Sueta

MP OP Tools

1.0.0

Add custom items with randomized enchantments and custom recipes

·Plugin

optools header.png Craft custom items with custom recipes
and randomized enchantments

This plugin idea is based on another plugin called " Emerald tools " wich I have loved and used for years, this adds further customizability and therefore more posibilities.

features.png

  • Add as many categories of items as you wish (ie: pickaxes, swords, etc).
  • Add as many tiers for each category as you wish.
  • Create your own recipes.
  • Add as many possibles enchantments as you wish for each individual tier.
  • Highly customizable.
  • User friendly.

commands and permissions.png

Commands:
-/opt help
- Shows the list of commands
-/opt version - Checks the plugin's current version
-/opt reload - Reloads the plugin's files

Permissions:
-OPTools.version
- Allows you to check the plugin version
-OPTools.reload - Allows you to reload the plugin

config.png

config.yml
config  :  
  prefix   :  '&f  [  &bOP Tools&f  ]  '  
  recipes   : 
      # Should this plugin manage these items crafting recipes?   
    enabled   :  true 
     # Should the plugin tell the console whenever an item recipe has been registered succesfully?   
    log to console   :  true 
   # The "types" or "categories" of items the plugin will look for in the config  
   # No need for these to have the same order down there   
  types   : 
    - 'pickaxes' 
    - 'swords' 
    - 'shovels' 
    - 'axes' 
    - 'hoes' 
    - 'helmets' 
    - 'chestplates' 
    - 'leggings' 
    - 'boots' 
   # List of messages so you can translate this plugin to whatever language you want   
  messages  :  
    no permission   :  '&cNo permission'  
    unknown   :  '&Unknown command. &fTry /et help'  
  items   : 
      # Here you specifiy the amount of tiers for each "category", the syntax must be like this (does not care about the order):  
     # CATEGORY:  
     #  tier (number of tier):  
     #    item: MC item ID  
     #    name: the display name for the custom item  
     #    lore: the lore for the custom item  
     #    possible enchantments: list of the enchantments that could appear when crafting this item only one random enchantment will appear  
     #        with the format 'enchantment name, minLevel-maxLevel'  
     #    recipe: if the recipe is enabled, here is the list of ingredients and where they should be (shaped recipe)  
     #########  
     # A B C #  
     # D E F  -> Result  
     # G H I #  
     #########  
     #      LETTER: 'INGREDIENT, AMOUNT' here should go any ingredient you wish and its amount   
    pickaxes  :  
      tier 1  :  
        item   :  'IRON_PICKAXE'  
        name   :  '&b&lOP pickaxe'  
        lore   : 
          - '&7OP pickaxe' 
          - '&7Use with precaution'  
          - '&6Tier   :  1'  
        possible enchantments   : 
          - 'efficiency,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'fortune,1-2'  
        recipe  :  
          A   :  'EMERALD,3'  
          B   :  'EMERALD,3'  
          C   :  'EMERALD,3'  
          D   :  'AIR,0'  
          E   :  'DIAMOND,1'  
          F   :  'AIR,0'  
          G   :  'AIR,0'  
          H   :  'DIAMOND,1'  
          I   :  'AIR,0'  
      tier 2  :  
        item   :  'DIAMOND_PICKAXE'  
        name   :  '&b&lOP pickaxe'  
        lore   : 
          - '&7OP pickaxe' 
          - '&7Use with precaution'  
          - '&6Tier   :  2'  
        possible enchantments   : 
          - 'efficiency,1-10' 
          - 'unbreaking,1-10' 
          - 'fortune,1-20'  
        recipe  :  
          A   :  'EMERALD_BLOCK,1'  
          B   :  'EMERALD_BLOCK,1'  
          C   :  'EMERALD_BLOCK,1'  
          D   :  'AIR,0'  
          E   :  'DIAMOND_BLOCK,1'  
          F   :  'AIR,0'  
          G   :  'AIR,0'  
          H   :  'DIAMOND_BLOCK,1'  
          I   :  'AIR,0'  
    swords  :  
      tier 1  :  
        item   :  'IRON_SWORD'  
        name   :  '&b&lOP Sword'  
        lore   : 
          - '&7OP sword' 
          - '&7Use with precaution'  
          - '&6Tier   :  1'  
        possible enchantments   : 
          - 'damage_all,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'looot_bonus_mobs,1-2'  
        recipe  :  
          A   :  'AIR,0'  
          B   :  'EMERALD,1'  
          C   :  'AIR,0'  
          D   :  'AIR,0'  
          E   :  'EMERALD,1'  
          F   :  'AIR,0'  
          G   :  'AIR,0'  
          H   :  'DIAMOND,1'  
          I   :  'AIR,0'  
      tier 2  :  
        item   :  'DIAMOND_SWORD'  
        name   :  '&b&lOP sword'  
        lore   : 
          - '&7OP sword' 
          - '&7Use with precaution'  
          - '&6Tier   :  2'  
        possible enchantments   : 
          - 'damage_all,1-10' 
          - 'unbreaking,1-10' 
          - 'looot_bonus_mobs,1-4'  
        recipe  :  
          A   :  'AIR,0'  
          B   :  'EMERALD_BLOCK,1'  
          C   :  'AIR,0'  
          D   :  'AIR,0'  
          E   :  'EMERALD_BLOCK,1'  
          F   :  'AIR,0'  
          G   :  'AIR,0'  
          H   :  'DIAMOND_BLOCK,1'  
          I   :  'AIR,0'  
    shovels  :  
      tier 1  :  
        item   :  'IRON_SHOVEL'  
        name   :  '&b&lOP shovel'  
        lore   : 
          - '&7OP shovel' 
          - '&7Use with precaution'  
          - '&6Tier   :  1'  
        possible enchantments   : 
          - 'efficiency,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'fortune,1-2'  
        recipe  :  
          A   :  'AIR,0'  
          B   :  'EMERALD,3'  
          C   :  'AIR,0'  
          D   :  'AIR,0'  
          E   :  'DIAMOND,1'  
          F   :  'AIR,0'  
          G   :  'AIR,0'  
          H   :  'DIAMOND,1'  
          I   :  'AIR,0'  
      tier 2  :  
        item   :  'DIAMOND_PICKAXE'  
        name   :  '&b&lOP pickaxe'  
        lore   : 
          - '&7OP pickaxe' 
          - '&7Use with precaution'  
          - '&6Tier   :  2'  
        possible enchantments   : 
          - 'efficiency,1-10' 
          - 'unbreaking,1-10' 
          - 'fortune,1-20'  
        recipe  :  
          A   :  'AIR,0'  
          B   :  'EMERALD_BLOCK,1'  
          C   :  'AIR,0'  
          D   :  'AIR,0'  
          E   :  'DIAMOND_BLOCK,1'  
          F   :  'AIR,0'  
          G   :  'AIR,0'  
          H   :  'DIAMOND_BLOCK,1'  
          I   :  'AIR,0'  
    axes  :  
      tier 1  :  
        item   :  'IRON_AXE'  
        name   :  '&b&lOP axe'  
        lore   : 
          - '&7OP axe' 
          - '&7Use with precaution'  
          - '&6Tier   :  1'  
        possible enchantments   : 
          - 'efficiency,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'silk_touch,1-2'  
        recipe  :  
          A   :  'AIR,0'  
          B   :  'EMERALD,3'  
          C   :  'EMERALD,3'  
          D   :  'AIR,0'  
          E   :  'DIAMOND,1'  
          F   :  'EMERALD,3'  
          G   :  'AIR,0'  
          H   :  'DIAMOND,1'  
          I   :  'AIR,0'  
      tier 2  :  
        item   :  'DIAMOND_AXE'  
        name   :  '&b&lOP axe'  
        lore   : 
          - '&7OP axe' 
          - '&7Use with precaution'  
          - '&6Tier   :  2'  
        possible enchantments   : 
          - 'efficiency,1-10' 
          - 'unbreaking,1-10' 
          - 'fortune,1-20'  
        recipe  :  
          A   :  'AIR,0'  
          B   :  'EMERALD_BLOCK,1'  
          C   :  'EMERALD_BLOCK,1'  
          D   :  'AIR,0'  
          E   :  'DIAMOND_BLOCK,1'  
          F   :  'EMERALD_BLOCK,1'  
          G   :  'AIR,0'  
          H   :  'DIAMOND_BLOCK,1'  
          I   :  'AIR,0'  
    hoes  :  
      tier 1  :  
        item   :  'IRON_HOE'  
        name   :  '&b&lOP hoe'  
        lore   : 
          - '&7OP hoe' 
          - '&7Use with precaution'  
          - '&6Tier   :  1'  
        possible enchantments   : 
          - 'efficiency,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'silk_touch,1-2'  
        recipe  :  
          A   :  'AIR,0'  
          B   :  'EMERALD,3'  
          C   :  'EMERALD,3'  
          D   :  'AIR,0'  
          E   :  'DIAMOND,1'  
          F   :  'AIR,0'  
          G   :  'AIR,0'  
          H   :  'DIAMOND,1'  
          I   :  'AIR,0'  
      tier 2  :  
        item   :  'DIAMOND_HOE'  
        name   :  '&b&lOP hoe'  
        lore   : 
          - '&7OP hoe' 
          - '&7Use with precaution'  
          - '&6Tier   :  2'  
        possible enchantments   : 
          - 'efficiency,1-10' 
          - 'unbreaking,1-10' 
          - 'fortune,1-20'  
        recipe  :  
          A   :  'AIR,0'  
          B   :  'EMERALD_BLOCK,1'  
          C   :  'EMERALD_BLOCK,1'  
          D   :  'AIR,0'  
          E   :  'DIAMOND_BLOCK,1'  
          F   :  'AIR,0'  
          G   :  'AIR,0'  
          H   :  'DIAMOND_BLOCK,1'  
          I   :  'AIR,0'  
    helmets  :  
      tier 1  :  
        item   :  'IRON_HELMET'  
        name   :  '&b&lOP helmet'  
        lore   : 
          - '&7OP helmet' 
          - '&7Use with precaution'  
          - '&6Tier   :  1'  
        possible enchantments   : 
          - 'protection_environmental,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'thorns,1-2'  
        recipe  :  
          A   :  'EMERALD,3'  
          B   :  'EMERALD,3'  
          C   :  'EMERALD,3'  
          D   :  'EMERALD,3'  
          E   :  'AIR,0'  
          F   :  'EMERALD,3'  
          G   :  'AIR,0'  
          H   :  'AIR,0'  
          I   :  'AIR,0'  
      tier 2  :  
        item   :  'DIAMOND_HELMET'  
        name   :  '&b&lOP helmet'  
        lore   : 
          - '&7OP helmet' 
          - '&7Use with precaution'  
          - '&6Tier   :  2'  
        possible enchantments   : 
          - 'protection_environmental,1-5' 
          - 'unbreaking,1-10' 
          - 'thorns,1-3'  
        recipe  :  
          A   :  'EMERALD_BLOCK,1'  
          B   :  'EMERALD_BLOCK,1'  
          C   :  'EMERALD_BLOCK,1'  
          D   :  'EMERALD_BLOCK,1'  
          E   :  'AIR,0'  
          F   :  'EMERALD_BLOCK,1'  
          G   :  'AIR,0'  
          H   :  'AIR,0'  
          I   :  'AIR,0'  
    chestplates  :  
      tier 1  :  
        item   :  'IRON_CHESTPLATE'  
        name   :  '&b&lOP chestplate'  
        lore   : 
          - '&7OP chestplate' 
          - '&7Use with precaution'  
          - '&6Tier   :  1'  
        possible enchantments   : 
          - 'protection_environmental,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'thorns,1-2'  
        recipe  :  
          A   :  'EMERALD,3'  
          B   :  'AIR,0'  
          C   :  'EMERALD,3'  
          D   :  'EMERALD,3'  
          E   :  'EMERALD,3'  
          F   :  'EMERALD,3'  
          G   :  'EMERALD,3'  
          H   :  'EMERALD,3'  
          I   :  'EMERALD,3'  
      tier 2  :  
        item   :  'DIAMOND_CHESTPLATE'  
        name   :  '&b&lOP chestplate'  
        lore   : 
          - '&7OP chestplate' 
          - '&7Use with precaution'  
          - '&6Tier   :  2'  
        possible enchantments   : 
          - 'protection_environmental,1-5' 
          - 'unbreaking,1-10' 
          - 'thorns,1-3'  
        recipe  :  
          A   :  'EMERALD_BLOCK,1'  
          B   :  'AIR,0'  
          C   :  'EMERALD_BLOCK,1'  
          D   :  'EMERALD_BLOCK,1'  
          E   :  'EMERALD_BLOCK,1'  
          F   :  'EMERALD_BLOCK,1'  
          G   :  'EMERALD_BLOCK,1'  
          H   :  'EMERALD_BLOCK,1'  
          I   :  'EMERALD_BLOCK,1'  
    leggings  :  
      tier 1  :  
        item   :  'IRON_LEGGINGS'  
        name   :  '&b&lOP leggings'  
        lore   : 
          - '&7OP leggings' 
          - '&7Use with precaution'  
          - '&6Tier   :  1'  
        possible enchantments   : 
          - 'protection_environmental,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'thorns,1-2'  
        recipe  :  
          A   :  'EMERALD,3'  
          B   :  'EMERALD,3'  
          C   :  'EMERALD,3'  
          D   :  'EMERALD,3'  
          E   :  'AIR,0'  
          F   :  'EMERALD,3'  
          G   :  'EMERALD,3'  
          H   :  'AIR,0'  
          I   :  'EMERALD,3'  
      tier 2  :  
        item   :  'DIAMOND_LEGGINGS'  
        name   :  '&b&lOP leggings'  
        lore   : 
          - '&7OP leggings' 
          - '&7Use with precaution'  
          - '&6Tier   :  2'  
        possible enchantments   : 
          - 'protection_environmental,1-5' 
          - 'unbreaking,1-10' 
          - 'thorns,1-3'  
        recipe  :  
          A   :  'EMERALD_BLOCK,1'  
          B   :  'EMERALD_BLOCK,1'  
          C   :  'EMERALD_BLOCK,1'  
          D   :  'EMERALD_BLOCK,1'  
          E   :  'AIR,0'  
          F   :  'EMERALD_BLOCK,1'  
          G   :  'EMERALD_BLOCK,1'  
          H   :  'AIR,0'  
          I   :  'EMERALD_BLOCK,1'  
    boots  :  
      tier 1  :  
        item   :  'IRON_BOOTS'  
        name   :  '&b&lOP boots'  
        lore   : 
          - '&7OP boots' 
          - '&7Use with precaution'  
          - '&6Tier   :  1'  
        possible enchantments   : 
          - 'protection_environmental,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'unbreaking,1-2' 
          - 'thorns,1-2'  
        recipe  :  
          A   :  'EMERALD,3'  
          B   :  'AIR,0'  
          C   :  'EMERALD,3'  
          D   :  'EMERALD,3'  
          E   :  'AIR,0'  
          F   :  'EMERALD,3'  
          G   :  'AIR,0'  
          H   :  'AIR,0'  
          I   :  'AIR,0'  
      tier 2  :  
        item   :  'DIAMOND_BOOTS'  
        name   :  '&b&lOP boots'  
        lore   : 
          - '&7OP boots' 
          - '&7Use with precaution'  
          - '&6Tier   :  2'  
        possible enchantments   : 
          - 'protection_environmental,1-5' 
          - 'unbreaking,1-10' 
          - 'thorns,1-3' 
          - 'feather_fall,1-3'  
        recipe  :  
          A   :  'EMERALD_BLOCK,1'  
          B   :  'AIR,0'  
          C   :  'EMERALD_BLOCK,1'  
          D   :  'EMERALD_BLOCK,1'  
          E   :  'AIR,0'  
          F   :  'EMERALD_BLOCK,1'  
          G   :  'AIR,0'  
          H   :  'AIR,0'  
          I   :  'AIR,0'

reviews.png

If you review my plugin let me know so i can put your video here

to-do.png

  • Add permissions for crafting each tier
  • Make the enchants field able to be random
  • Accepting suggestions via Spigot PM's and discord server

Similar projects

Plugin →