Sueta

[GrantEnchants] - Replace 'Enchantment.level' for whoever yo

2.5 ENGLISH

The plugin lets you rename enchantments to whatever name you want!

·Plugin


With this plugin you will be able to edit the enchantment names and will be able to remove the 'Enchantment.level' that appears at very high levels, you can leave the levels in Roman and format them, fully set to your liking.

**UPDATE: Block specific items from being translated (04/09/2020)**
VERSÃO TRADUZIDA EM PT-BR DISPONÍVEL!


- Contains an API;

- You can form the level number, for example: Sharpness 10,999 million;

- You can form the Roman level number, for example: XX of fortune;

- You can put a message you want, for example: & b & l (enchantment) & f- & 6 & l (level)

- Config.yml quite complete edit to your liking
.

Spoiler

encantamento-4.png
encantamento-1.png
encantamento-3.png

Spoiler
[LEFT]########################################################
# +--------------------------------------------------+ #
# |                   Configuration                  | #
# |                                                  | #
# |                  By Endissitin;                  | #
# +--------------------------------------------------+ #
########################################################

# Languages: EN, PT_BR.
language: 'EN'

# See the available incantations below:
# https://minecraft.gamepedia.com/Enchanting/Levels
protection: '&7Protection. &f(level)'
fire_protection: '&7Fire protection. &f(level)'
feather_falling: '&7Feather falling. &f(level)'
blast_protection: '&7Blast protection. &f(level)'
projectile_protection: '&7Projectile protection. &f(level)'
respiration: '&7Respiration. &f(level)'
aqua_affinity: '&7Aqua affinity. &f(level)'
thorns: '&7Thorns. &f(level)'
depth_strider: '&7Depth strider. &f(level)'
sharpness: '&7Sharpness. &f(level)'
smite: '&7Smite. &f(level)'
bane_of_arthropods: '&7Bane of Arthropods. &f(level)'
knockback: '&7Knockback. &f(level)'
fire_aspect: '&7Fire aspect. &f(level)'
lootings: '&7Lootings. &f(level)'
power: '&7Power. &f(level)'
punch: '&7Punch. &f(level)'
flame: '&7Flame. &f(level)'
infinity: '&7Infinity. &f(level)'
efficiency: '&7Efficiency. &f(level)'
silk_touch: '&7Silk touch. &f(level)'
unbreaking: '&7Unbreaking. &f(level)'
fortune: '&7Fortune. &f(level)'
luck_of_the_sea: '&7Luck of the Sea. &f(level)'
lure: '&7Lure. &f(level)'

# Single pattern:
enabled: false
pattern: '&7(enchant). &f(level)'
enchants:
  protection: 'Protection'
  fire_protection: 'Fire protection'
  feather_falling: 'Feather falling'
  blast_protection: 'Blast protection'
  projectile_protection: 'Projectile protection'
  respiration: 'Respiration'
  aqua_affinity: 'Aqua affinity'
  thorns: 'Thorns'
  depth_strider: 'Depth strider'
  sharpness: 'Sharpness'
  smite: 'Smite'
  bane_of_arthropods: 'Bane of Arthropods'
  knockback: 'Knockback'
  fire_aspect: 'Fire aspect'
  lootings: 'Lootings'
  power: 'Power'
  punch: 'Punch'
  flame: 'Flame'
  infinity: 'Infinity'
  efficiency: 'Efficiency'
  silk_touch: 'Silk touch'
  unbreaking: 'Unbreaking'
  fortune: 'Fortune'
  luck_of_the_sea: 'Luck of the Sea'
  lure: 'Lure'
 
# Formatted Pattern:
formatted-enabled: false
formatted-pattern: '&7(enchant). &f(level)'
formatted-level: '#.###'
formatted-scale:
- ''
- 'k'
- 'kk'
formatted-enchants:
  protection: 'Protection'
  fire_protection: 'Fire protection'
  feather_falling: 'Feather falling'
  blast_protection: 'Blast protection'
  projectile_protection: 'Projectile protection'
  respiration: 'Respiration'
  aqua_affinity: 'Aqua affinity'
  thorns: 'Thorns'
  depth_strider: 'Depth strider'
  sharpness: 'Sharpness'
  smite: 'Smite'
  bane_of_arthropods: 'Bane of Arthropods'
  knockback: 'Knockback'
  fire_aspect: 'Fire aspect'
  lootings: 'Lootings'
  power: 'Power'
  punch: 'Punch'
  flame: 'Flame'
  infinity: 'Infinity'
  efficiency: 'Efficiency'
  silk_touch: 'Silk touch'
  unbreaking: 'Unbreaking'
  fortune: 'Fortune'
  luck_of_the_sea: 'Luck of the Sea'
  lure: 'Lure'
 
# The item will have the spells translated in the events below into true;
on-damage: true
on-mine: true
on-enchant: true
on-drop: true

# Enchantment level will be shown in Roman if below true;
roman-level: false

# If enabled, if an item's lore has 'Efficiency 1' for example, it will be translated.
# NOTE: This can be used for cases where a plugin adds a lore instead of the enchantment itself..
translate-lore: false

# If enabled, if an item's lore has 'Efficiency 1' for example, it will be ignored.
# NOTE: This can be used for plugins that add enchantments to the lore, thus avoiding duplication.
ignore-lore-enchants: false

########################################################
# +--------------------------------------------------+ #
# |                   Configuration                  | #
# |                                                  | #
# |                  By Endissitin;                  | #
# +--------------------------------------------------+ #
########################################################

[/LEFT]

For developers, you can access an API from:

GrantEnchantsAPI

With it, you can translate items, know items, and add new incantations;


Grantenchant or ge

/ge translate - GrantEnchants.manager
translate the enchantments in your hand


/ge translateall -
GrantEnchants.manager
Translate all enchantments of player items online;

/ge block - GrantEnchants.manager
The item in your hand will no longer be translated

/ge unlock - GrantEnchants.manager
Opens the menu of blocked items (Click-unlock)

/ge reload- GrantEnchants.manager
Reload config

Similar projects

Plugin →