Sueta

EnchantmentNumbers - High Level Enchantment Numbers Formatti

2.1.1

Have high level enchantments automatically formatted - begone enchantment.level.100

·Plugin

Title.png

About.png

EnchantmentNumbers is a plugin for 1.15-1.16 that fixes the high-level enchantment formatting of enchantments in minecraft. From Efficiency enchantment.level.100 to Efficiency 100.

Metrics (bStats)

Features.png

- Whitelist certain items to prevent glowing items from showing enchantment lore
- Option to use numbers instead of roman numerals, or even show numbers above a certain point
- Preserve preexisting lore, only add the enchantment lore
- Automatically updates in an enchanting table, anvil, or grindstone

Before/After

Before:
upload_2020-4-18_20-5-52.png
After:
upload_2020-4-18_20-6-39.png

Setup.png

- Download EnchantmentNumbers.jar
- Upload to your plugins folder
- Reload plugins, restart server, or use PlugMan to load
- Configure EnchantmentNumbers' config.yml
- Configure permissions
- Reload with /enureload
Optional:
- In commands.yml, add alias for /enchant like this in order to automatically update lore:

enchant:
  - enchant $1-
  - enu

CmdPerms.png

Command: /enureload
Description: Reloads EnchantmentNumbers config
Permission: enchantmentnumbers.reload

Command: /enu
Description: Updates the enchantment lore of the held item
Permission: none

Config.png

Default Config
use-numerals: true #
numbers-above-threshold: 10 # If use-numerals is true, then levels above this will become numbers rather than numerals. Set to 32768 or higher to disable.

# Use bukkit item ID's for whitelist: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
whitelist:
  - ELYTRA
  - SHEARS
  - BOW
  - CROSSBOW
  - TURTLE_SHELL
  - TRIDENT
  - SHIELD
  - FISHING_ROD
  - DIAMOND_SWORD
  - DIAMOND_PICKAXE
  - DIAMOND_AXE
  - DIAMOND_SHOVEL
  - DIAMOND_HOE
  - DIAMOND_HELMET
  - DIAMOND_CHESTPLATE
  - DIAMOND_LEGGINGS
  - DIAMOND_BOOTS
  - NETHERITE_SWORD
  - NETHERITE_PICKAXE
  - NETHERITE_AXE
  - NETHERITE_SHOVEL
  - NETHERITE_HOE
  - NETHERITE_HELMET
  - NETHERITE_CHESTPLATE
  - NETHERITE_LEGGINGS
  - NETHERITE_BOOTS
  - GOLD_SWORD
  - GOLD_PICKAXE
  - GOLD_AXE
  - GOLD_SHOVEL
  - GOLD_HOE
  - GOLD_HELMET
  - GOLD_CHESTPLATE
  - GOLD_LEGGINGS
  - GOLD_BOOTS
  - IRON_SWORD
  - IRON_PICKAXE
  - IRON_AXE
  - IRON_SHOVEL
  - IRON_HOE
  - IRON_HELMET
  - IRON_CHESTPLATE
  - IRON_LEGGINGS
  - IRON_BOOTS
  - STONE_SWORD
  - STONE_PICKAXE
  - STONE_AXE
  - STONE_SHOVEL
  - STONE_HOE
  - LEATHER_HELMET
  - LEATHER_CHESTPLATE
  - LEATHER_LEGGINGS
  - LEATHER_BOOTS

For Developers.png

Writing a custom enchantment plugin that extends the minecraft namespace? Add EnchantmentNumbers as a dependency. EnchantmentNumbers instantly sorts the formatting of your enchanments, so there is no need to code your own way of adding the enchantment name to lore. EnchantmentNumbers doesn't use the deprecated getName() method - it uses the name of the namespaced key. Curses are automatically chosen not by the deprecated isCursed() method, either - it scans for the word "Curse" in the name. It's good form to format your enchantment names similar to how minecraft does: so for maximum compatibility, name your enchant "name_curse" to have it automatically formatted. If there are issues with this, join my discord and I'll happily help.

Support.png

Support is given on my personal discord: https://discord.gg/AWCDVG2 - feel free to ask any questions or make feature requests there!

If you enjoy my plugins, feel free to donate! https://paypal.me/auxilorirl

Similar projects

Plugin →