Sueta

BetterEnchantments (Abandoned)

1.0.2

Be able to rename enchantments, add a rarity value and disable roman numerals.

·Plugin
No longer maintained
This plugin has been abandoned and is no longer maintained. My understanding of Java and programming skills were limited when writing this plugin; I would suggest you find an alternative.


This plugin has several features, mainly being:

  • The ability to rename enchantments
  • Remove long enchantment names (such as enchantment.level.15)
  • Choose between roman numerals or numbers
  • Add a rarity value

Before

After

  • /betterenchantments


The way this plugin determines rarities is from their enchantments and material. By default, there are 4 rarity states: 'Common', 'Uncommon', 'Rare', 'Legendary'. Using the default config, if you have a diamond pickaxe with Efficiency III, Unbreaking III and Fortune III that would be a 'Rare' item because 1 level of efficiency is 1 point (and there are three levels of that so it would be 3 points). The same applies to unbreaking and fortune. This means the enchantments alone would make the item 'Uncommon' because it's minimum point value is 6. But, because the pickaxe is diamond, that it worth 5 points, making the total points 14 and making it 'Rare'.

rarity:
  states:
    'common':
      display: '&7Common'
      min-value-total: 0
    'uncommon':
      display: '&9Uncommon'
      min-value-total: 6
    'rare':
      display: '&cRare'
      min-value-total: 12
    'legendary':
      display: '&5Legendary'
      min-value-total: 16
  rarity-options:
    enabled: true
  enchantment-options:
    loop-inventory-rate: 20
    convert-to-roman: true
    seperate-lore-and-enchantments: false
  enchantment-values:
    ARROW_DAMAGE: 1
    ARROW_FIRE: 1
    ARROW_INFINITE: 1
    ARROW_KNOCKBACK: 1
    BINDING_CURSE: 0
    DAMAGE_ALL: 1
    DAMAGE_ARTHROPODS: 1
    DAMAGE_UNDEAD: 1
    DEPTH_STRIDER: 1
    DIG_SPEED: 1
    DURABILITY: 1
    FIRE_ASPECT: 1
    FROST_WALKER: 1
    KNOCKBACK: 1
    LOOT_BONUS_BLOCKS: 1
    LOOT_BONUS_MOBS: 1
    LUCK: 1
    LURE: 1
    MENDING: 1
    OXYGEN: 1
    PROTECTION_ENVIRONMENTAL: 1
    PROTECTION_EXPLOSIONS: 1
    PROTECTION_FALL: 1
    PROTECTION_FIRE: 1
    PROTECTION_PROJECTILE: 1
    SILK_TOUCH: 1
    SWEEPING_EDGE: 1
    THORNS: 1
    VANISHING_CURSE: 0
    WATER_WORKER: 1
  material-values:
    DIAMOND_SWORD: 5
    DIAMOND_PICKAXE: 5
    DIAMOND_AXE: 5
    DIAMOND_SPADE: 5
    DIAMOND_HOE: 5
    DIAMOND_HELMET: 5
    DIAMOND_CHESTPLATE: 5
    DIAMOND_LEGGINGS: 5
    DIAMOND_BOOTS: 5
    GOLD_SWORD: 3
    GOLD_PICKAXE: 3
    GOLD_AXE: 3
    GOLD_SPADE: 3
    GOLD_HOE: 3
    GOLD_HELMET: 3
    GOLD_CHESTPLATE: 3
    GOLD_LEGGINGS: 3
    GOLD_BOOTS: 3
    IRON_SWORD: 3
    IRON_PICKAXE: 3
    IRON_AXE: 3
    IRON_SPADE: 3
    IRON_HOE: 3
    IRON_HELMET: 3
    IRON_CHESTPLATE: 3
    IRON_LEGGINGS: 3
    IRON_BOOTS: 3
    CHAIN_HELMET: 1
    CHAIN_CHESTPLATE: 1
    CHAIN_LEGGINGS: 1
    CHAIN_BOOTS: 1
    STONE_SWORD: 1
    STONE_PICKAXE: 1
    STONE_AXE: 1
    STONE_SPADE: 1
    STONE_HOE: 1
    BOW: 1
    LEATHER_HELMET: 0
    LEATHER_CHESTPLATE: 0
    LEATHER_LEGGINGS: 0
    LEATHER_BOOTS: 0
    WOOD_SWORD: 0
    WOOD_PICKAXE: 0
    WOOD_AXE: 0
    WOOD_SPADE: 0
    WOOD_HOE: 0
    FISHING_ROD: 0
  enchantment-names:
    ARROW_DAMAGE: 'Power'
    ARROW_FIRE: 'Flame'
    ARROW_INFINITE: 'Infinity'
    ARROW_KNOCKBACK: 'Knockback'
    BINDING_CURSE: '&cCurse of Binding'
    DAMAGE_ALL: 'Sharpness'
    DAMAGE_ARTHROPODS: 'Bane of Arthropods'
    DAMAGE_UNDEAD: 'Smite'
    DEPTH_STRIDER: 'Depth Strider'
    DIG_SPEED: 'Efficiency'
    DURABILITY: 'Unbreaking'
    FIRE_ASPECT: 'Fire Aspect'
    FROST_WALKER: 'Frost Walker'
    KNOCKBACK: 'Knockback'
    LOOT_BONUS_BLOCKS: 'Fortune'
    LOOT_BONUS_MOBS: 'Looting'
    LUCK: 'Luck of the Sea'
    LURE: 'Lure'
    MENDING: 'Mending'
    OXYGEN: 'Respiration'
    PROTECTION_ENVIRONMENTAL: 'Protection'
    PROTECTION_EXPLOSIONS: 'Blast Protection'
    PROTECTION_FALL: 'Feather Falling'
    PROTECTION_FIRE: 'Fire Protection'
    PROTECTION_PROJECTILE: 'Projectile Protection'
    SILK_TOUCH: 'Silk Touch'
    SWEEPING_EDGE: 'Sweeping Edge'
    THORNS: 'Thorns'
    VANISHING_CURSE: '&cCurse of Vanishing'
    WATER_WORKER: 'Aqua Affinity'

Similar projects

Plugin →