GC-spigot / AdvancedEnchantments

Superior Custom Enchantments Creator for Minecraft And Spigot platform
153 stars 60 forks source link

AE Replaces Lore when applied on mmoitem #4018

Closed SamGamerYT closed 8 months ago

SamGamerYT commented 8 months ago

Describe the bug

AE Replaces Lore when applied on mmoitem

How to reproduce

Grab an mmoitem with a custom fancy lore and then apply any ce on it.

Screenshots / Videos

No response

"/ae plinfo" link

https://paste.md-5.net/exiwoyewes

Server Log

No response

SamGamerYT commented 8 months ago
# AdvancedEnchantments
# Made by AdvancedPlugins.net
# Version: 9.0.6
# Release date: 20/04/2023

# ** Commands and permissions
# /enchanter - Open Enchanter; no permission
# /tinkerer - Open Tinkerer; no permission
# /gkits - Open GKits; no permission
# /ae - Main plugin command; ae.help
# /ae about - Information about current build; no permission
# /ae list - List all custom enchantments; ae.list
# /ae admin - Open a menu with all possible enchantments (100% success rate); ae.admin
# /ae giveitem <player> <item> - Give various plugin items; ae.giveitem
# /ae give <player> <enchantment> <level> - Give custom enchanted book; ae.give
# /ae info <enchantment> - Information about custom enchantment; ae.info
# /ae reload - Reload all configurations; ae.reload
# /ae enchant <enchantment> <level> - Enchant item; ae.enchant
# /ae givebook <player> <enchantment> <level> <count> <success> <destroy> - Give book with specific rates; ae.givebook
# /ae givercbook <type> <player> <amount> - Give right-clickable book; ae.givercbook
# /ae giverandombook <player> <group> - Gives random book from group; ae.giverandombook
# /ae pasteenchants - Pastes formatted enchantments list; ae.admin
# /alchemist - Open alchemist; no permission
# /ae givegkit <player> <gkit> - Give player gkit items; ae.givegkit

# /aegive - Give player gkit items; ae.give
# Example: /aegive GC diamond_helmet 1 name:&&7cItem_name protection:5 glowing:1 lore:&&7cLore_line_#1|&&7cSecond_Line

# /asets - Advanced Sets commands; asets.admin

# Some configurable settings are explained, others should be self-explanatory.
# Join support discord for help or with questions: https://advancedplugins.net/discord

# Change default messages language. You can modify all messages in AdvancedEnchantments `locale` folder.
# See all default languages & other info here: https://ae.advancedplugins.net/general-information/languages
language: en-us

# Manage plugin commands
commands:
  advancedenchantments:
    # Should "no permission" message be shown when
    # user does not have "ae.help" permission
    permissionMessageEnabled: true
  enchanter:
    # Is command enabled?
    enabled: true
    # Main command to open Enchanter
    command: /enchanter
    # List of commands that will act as the command
    aliases:
    - e
    - ce
    - enchanting
    - customenchanting
    - mc
    - myticenchant
    - mysticenchant
  tinkerer:
    enabled: true
    command: /tinkerer
    aliases:
    - tinker
  alchemist:
    enabled: true
    command: /alchemist
    aliases:
    - alchem
  withdrawsouls:
    enabled: false
    command: /withdrawsouls
    aliases:
    - wsouls
  apply:
    enabled: false
    command: /apply
    aliases:
    - reapply
permissions:
  enchanter:
    enabled: false
    perm: ae.enchanter
  tinkerer:
    enabled: false
    perm: ae.tinkerer
  gkits:
    enabled: false
    perm: ae.gkits
  alchemist:
    enabled: false
    perm: ae.alchemist
disable-enchants:
  world:
  - telepathy
  - veinminer
  - smelting
  Museum:
  - trench
  - telepathy
  - veinminer
  - smelting
  Galatic:
  - trench
  - telepathy
  - veinminer
  - smelting
  Farms:
  - trench
  - telepathy
  - veinminer
  - smelting
  Dungeon:
  - trench
  - telepathy
  - veinminer
  - smelting
  Dungeon2:
  - trench
  - telepathy
  - veinminer
  - smelting
  Danger:
  - trench
  - telepathy
  - veinminer
  - smelting
  catacumbas:
  - trench
  - telepathy
  - veinminer
  - smelting
alchemist:
  settings:
    combine-books: true
    combine-dust: true
  books:
    add-up-chances: true
    pre-set-chances:
      enabled: false
      success: 50
      destroy: 50
  dusts:
    add-up: true
  price:
    exp: true
    let-plugin-count: true
    pre-set-pricing:
      price: 250
  messages:
    inv-name: Alchemist
    item-preview:
      name: '&b&lITEM PREVIEW'
      lore:
      - '&7A preview of item you will'
      - '&7receive from the Alchemist'
      - '&7will be displayed here.'
      item:
        type: STAINED_GLASS_PANE
        damage: 0
        custom-model-data: 0
    item-explanation:
      name: '&b&lALCHEMIST'
      lore:
      - '&7The Alchemist will Exchange...'
      - ''
      - '&b&l* &f2X Enchantment Books'
      - '&7(of the same type and level)'
      - '&d= &f1X Enchantment Book'
      - '&7(of higher level)'
      - ''
      - '&b&l* &f2X Magic Dust'
      - '&7(of the same rarity)'
      - '&d= &f1X Magic Dust'
      - '&7(of higher chances)'
      item:
        type: STAINED_GLASS_PANE
        damage: 14
        custom-model-data: 0
    item-combine:
      name: '&b&lCLICK TO EXCHANGE'
      lore:
      - '&7Click here to confirm this'
      - '&7item exchange and receive'
      - '&7your new item shown above!'
      - ''
      - '&7ᴇxᴄʜᴀɴɢᴇ ᴄᴏsᴛ: &c%price% EXP'
      item:
        type: STAINED_GLASS_PANE
        damage: 5
        custom-model-data: 0
    item-placeholder:
      name: ' '
      lore: []
      item:
        type: STAINED_GLASS_PANE
        damage: 15
        custom-model-data: 0
souls:
  enabled: true
  lore: '&7Souls Collected: {#b434fc}%count% ☠'
  item:
    type: PAPER
    id: 0
    custom-model-data: 102
    name: '&8[&d&lENCHANT&8]&f Soul Tracker'
    lore:
    - ''
    - '&7Apply to weapons to start'
    - '&7tracking souls collected '
    - '&7from kills.'
    - ''
    - '&8ᴅʀᴀɢ ᴀɴᴅ ᴅʀᴏᴘ ᴏɴᴛᴏ ɪᴛᴇᴍ'
    - '&8ᴛᴏ ᴀᴘᴘʟʏ ᴛʜɪs sᴄʀᴏʟʟ.'
    force-glow: false

enchantLimitation:
  enabled: true
  lore: '&c&lUNMODIFIABLE'
  NBT-tag: unmodifiable

combining:
  enabled: true
  chances:
    use-chances: true
    break-item: true # false
    upgrade: true

slots:
  enabled: true
  max: 4
  max-increase-of-slots: 114
  display-in-lore: true
  display: '&a+ &7ᴇɴᴄʜᴀɴᴛ sʟᴏᴛs&7: &e%left%'

applying:
  cosmetics:
    applied:
      particle: HAPPY_VILLAGER
      sound: LEVEL_UP
    failed:
      particle: LAVA_POP
      sound: ANVIL_BREAK

enchanter-books:
  firework-on-open: true
  cosmetics:
    particle: HAPPY_VILLAGER
    sound: LEVEL_UP
  display-right-click-message: true
  type: FIREWORK_CHARGE
  id: 0
  custom-model-data: 0
  force-glow: false
  name: '&8[&d&lENCHANT&8]&f &fMysterious Book'
  lore:
  - ''
  - '&7A book with mysterious spirit,'
  - '&7concealed occult magic inside'
  - ''
  - '&7ʙᴏᴏᴋ ʀᴀʀɪᴛʏ: &8[%group-color%%group-name%&8]'
  - ''
  - '&8ʜᴏʟᴅ  ᴀɴᴅ ʀɪɢʜᴛ  ᴄʟɪᴄᴋ ᴛᴏ'
  - '&8ʀᴇᴄɪᴇᴠᴇ ᴀ ʀᴀɴᴅᴏᴍ ᴍᴀɢɪᴄᴀʟ'
  - '&8ᴇɴᴄʜᴀɴᴛᴍᴇɴᴛ ʙᴏᴏᴋ.'

items:
  settings:
    can-apply-to:
    - ALL_SWORD
    - ALL_ARMOR
    - ALL_PICKAXE
    - ALL_AXE
    - ALL_SPADE
    - ALL_HOE
    - ALL_EDIBLE
    - BOOK
    - BOW
    - CROSSBOW
    - SKULL_ITEM
    - PLAYER_HEAD
    - ELYTRA
    - TRIDENT
  transmogscroll:
    type: PAPER
    id: 0
    custom-model-data: 116
    name: '&8[&d&lENCHANT&8]&f Transmog Scroll'
    lore:
    - ''
    - '&7Organizes enchants amount'
    - '&7by &erarity &7on item and adds'
    - '&7the &dlore &bcount&7 to name.'
    - ''
    - '&8ᴅʀᴀɢ ᴀɴᴅ ᴅʀᴏᴘ ᴏɴᴛᴏ ɪᴛᴇᴍ'
    - '&8ᴛᴏ ᴀᴘᴘʟʏ ᴛʜɪs sᴄʀᴏʟʟ.'
    enchants-count-formatting: '&d[&b&n%count%&d]'
  soulgem:
    type: EMERALD
    id: 0
    custom-model-data: 102
    name: '&8[&d&lENCHANT&8]&f Soul Gem'
    lore:
    - ''
    - '&7sᴏᴜʟ ᴀᴍᴏᴜɴᴛ: {#b434fc}%count% ☠'
    - ''
    - '&8ᴀᴘᴘʟʏ ᴛᴏ ᴀɴ ɪᴛᴇᴍ'
    - '&8ᴛᴏ ᴀᴅᴅ sᴏᴜʟs.'
  itemnametag:
    type: NAME_TAG
    id: 0
    custom-model-data: 100
    name: '&8[&d&lENCHANT&8]&f Rename Quill'
    lore:
    - ''
    - '&7Rename  and  customize your'
    - '&7equipment with color or cool'
    - '&7name, format, ...'
    - ''
    - '&8ʀɪɢʜᴛ ᴄʟɪᴄᴋ ᴛʜᴇɴ ʜᴏʟᴅ ʏᴏᴜʀ'
    - '&8ɪᴛᴇᴍ & ᴛʏᴘᴇ ɴᴀᴍᴇ ɪɴ ᴄʜᴀᴛ'
    messages:
      success:
      - '&f→&a You have successfully renamed your item to &r%name%'
      activated:
      - '&f→&a Your next message will rename your item in hand'
      air:
      - '&f→&a You need to be holding an item to do this'
      renaming-not-enchanted-item:
      - '&f→&a You can only rename enchanted items'
    settings:
      colors: true
      magic: false
      word-blacklist:
      - fuck
      - dick
      - bitch
      - spawner
      - spawners
      - key
      - keys
      - orb
      - orbs
      - essence
      - utopiverse
      - utop
      - Sam
      - Smart
      - RJ
  randomization-scroll:
    type: PAPER
    id: 0
    custom-model-data: 105
    name: '&8[&d&lENCHANT&8]&f Randomization Gem'
    lore:
    - ''
    - '&aApply to any enchantment Book'
    - '&ato reroll the success rate and'
    - '&adestroy rate.'
    - ''
    - '&a+&7 sᴄʀᴏʟʟ ʀᴀʀɪᴛʏ: &8[%group-color%%group-name%&8]'
    - ''
    - '&8ᴅʀᴀɢ ᴀɴᴅ ᴅʀᴏᴘ ᴏɴᴛᴏ ɪᴛᴇᴍ ᴛᴏ'
    - '&8ᴀᴘᴘʟʏ ᴛʜɪs sᴄʀᴏʟʟ.'
  black-scroll:
    type: PAPER
    id: 0
    custom-model-data: 113
    name: '&8[&d&lENCHANT&8]&f ʀᴇᴍᴏᴠᴀʟ ꜱᴄʀᴏʟʟ'
    lore:
    - ''
    - '&fRemoves a random enchantment'
    - '&ffrom an item & converts it into'
    - '&fa &2%success%% &fsuccess book.'
    - ''
    - '&8Place this onto item to extract.'
    success: 5
    destroy: 95
    random: true
    force-glow: false
  secret-dust:
    type: PAPER
    id: 0
    custom-model-data: 104
    name: '&8[&d&lENCHANT&8]&f ꜱᴇᴄʀᴇᴛ ɢᴇᴍ'
    lore:
    - ''
    - '&7Contains: &fLucky Gem, &fMystery'
    - '&fDust. &7An unidentified satchel'
    - '&7of stone & dust.'
    - ''
    - '&7ɢᴇᴍ ʀᴀʀɪᴛʏ: &8[%group-color%%group-name%&8]'
    - ''
    - '&a&lCLICK &fTo open the secret gem.'
  mystery-dust:
    type: SULPHUR
    id: 0
    custom-model-data: 0
    name: '&fMystery Dust'
    lore:
    - '&7A failed bi-product'
    - '&7of Magic dust.'
    - ''
    - '&8➲ &8&lTRASH'
    force-glow: false
    settings:
      shift-click: false
  magic-dust:
    type: PAPER
    id: 0
    custom-model-data: 103
    name: '&8[&d&lENCHANT&8]&f &aʟᴜᴄᴋʏ ɢᴇᴍ'
    lore:
    - ''
    - '&7Apply to an enchantment'
    - '&7book to increase the rate'
    - '&7of success by %group-color%%percent%%'
    - ''
    - '&7ɢᴇᴍ ʀᴀʀɪᴛʏ: &8[%group-color%%group-name%&8]'
    - ''
    - '&8ᴅʀᴀɢ ᴀɴᴅ ᴅʀᴏᴘ ᴏɴᴛᴏ ɪᴛᴇᴍ'
    - '&8ᴛᴏ ᴀᴘᴘʟʏ ᴛʜɪs ʟᴜᴄᴋʏ ɢᴇᴍ.'
    messages:
      cannotApplyToStacked: '&f→&c Cannot be applied to stacked books'
    force-glow: false
  slot-increaser:
    type: PAPER
    id: 0
    custom-model-data: 114
    name: '&8[&d&lENCHANT&8]&f ꜱʟᴏᴛ ꜱᴄʀᴏʟʟ'
    lore:
    - ''
    - '&fIncrease slots limit on an'
    - '&fitem by &a+%count%'
    - ''
    - '&a+&7 ʀᴀʀɪᴛʏ: &8[%group-color%%group-name%&8]'
    - ''
    - '&8ᴅʀᴀɢ ᴀɴᴅ ᴅʀᴏᴘ ᴏɴᴛᴏ ɪᴛᴇᴍ'
    - '&8ᴛᴏ ᴀᴘᴘʟʏ ᴛʜɪs sᴄʀᴏʟʟ.'
    messages:
      success:
      - '&f→&a You have successfully increased maximum slots on item by &e%count%!'
  blocktrak:
    type: PAPER
    id: 0
    custom-model-data: 111
    name: '&8[&d&lENCHANT&8]&e ʙʟᴏᴄᴋ ᴛʀᴀᴄᴋᴇʀ'
    lore:
    - ''
    - '&7Track how many'
    - '&7blocks you have mined'
    - '&7with your trusty pickaxe'
    - ''
    - '&8ᴅʀᴀɢ ᴏɴ ᴛᴏᴘ ᴏꜰ ᴀɴᴏᴛʜᴇʀ'
    - '&8ɪᴛᴇᴍ ᴛᴏ ᴀᴘᴘʟʏ ɪᴛ.'
    messages:
      success:
      - '&f→ &7You successfully applied &8[&d&lENCHANT&8]&7 Block Tracker'
    settings:
      lore-display: '&8[&e⸕&8] &7ᴛʀᴀᴄᴋᴇʀ &f%stats%'
  stattrak:
    type: PAPER
    id: 0
    custom-model-data: 109
    name: '&8[&d&lENCHANT&8]&c ᴘʟᴀʏᴇʀ ᴋɪʟʟ ᴛʀᴀᴄᴋᴇʀ'
    lore:
    - ''
    - '&7Track how many foes'
    - '&7you have slayed'
    - '&7with your weapon'
    - ''
    - '&8ᴅʀᴀɢ ᴏɴ ᴛᴏᴘ ᴏꜰ ᴀɴᴏᴛʜᴇʀ'
    - '&8ɪᴛᴇᴍ ᴛᴏ ᴀᴘᴘʟʏ ɪᴛ.'
    messages:
      success:
      - '&f→&a You successfully applied &8[&d&lENCHANT&8]&a Player Kill Tracker'
    settings:
      lore-display: '&8[&c⚔&8] &7ᴛʀᴀᴄᴋᴇʀ &f%stats%'
    force-glow: false
  mobtrak:
    type: PAPER
    id: 0
    custom-model-data: 110
    name: '&8[&d&lENCHANT&8]&a ᴍᴏʙ ᴋɪʟʟ ᴛʀᴀᴄᴋᴇʀ'
    lore:
    - ''
    - '&7Track how many mob kills'
    - '&7you have with a weapon.'
    - ''
    - '&8ᴅʀᴀɢ ᴏɴ ᴛᴏᴘ ᴏꜰ ᴀɴᴏᴛʜᴇʀ'
    - '&8ɪᴛᴇᴍ ᴛᴏ ᴀᴘᴘʟʏ ɪᴛ.'
    messages:
      success:
      - '&f→ &aYou successfully applied &8[&d&lENCHANT&8]&a Mob Kill Tracker'
    settings:
      lore-display: '&8[&a⚔&8] &7ᴛʀᴀᴄᴋᴇʀ &f%stats%'
  holywhitescroll:
    type: PAPER
    id: 0
    custom-model-data: 115
    name: '&8[&d&lENCHANT&8]&f ꜱᴏᴜʟʙᴏᴜɴᴅ ꜱᴄʀᴏʟʟ'
    lore:
    - ''
    - '&7A legendary reward that can'
    - '&7be applied to armor/weapons,'
    - '&7gives a &a100% &7chance of not'
    - '&7losing the blessed item when'
    - '&7you die.'
    - ''
    - '&8ᴅʀᴀɢ ᴏɴ ᴛᴏᴘ ᴏꜰ ᴀɴᴏᴛʜᴇʀ ɪᴛᴇᴍ'
    - '&8ᴛᴏ ᴀᴘᴘʟʏ ɪᴛ.'
    messages:
      applied:
      - '&f→ &aYou successfully applied &8[&d&lENCHANT&8]&a ꜱᴏᴜʟʙᴏᴜɴᴅ ꜱᴄʀᴏʟʟ'
    settings:
      lore-display: '&b◊ ᴘʀᴏᴛᴇᴄᴛᴇᴅ'
      keep-after-death: false
    force-glow: false
  orb:
    lore: '&e%max%&f Enchantment Slots &8[&a+%increased%&8]'
    weapon:
      material: EYE_OF_ENDER
      custom-model-data: 7
      name: '&8[&d&lENCHANT&8]&f ᴇɴᴄʜᴀɴᴛᴍᴇɴᴛ ᴏʀʙ'
      lore:
      - '&8(ᴀᴘᴘʟʏ ꜰᴏʀ ᴡᴇᴀᴘᴏɴ)'
      - ''
      - '&7Orb increases the slots of'
      - '&7enchantment on a weapon by'
      - '&c%new%&7, up to a maximum of &e%max%'
      - ''
      - '&a+ &7sᴜᴄᴄᴇss ʀᴀᴛᴇ: &a%success%%'
      - '&a+ &7ɪɴᴄʀᴇᴀsᴇs sʟᴏᴛs: &c%new%'
      - '&a+ &7ᴍᴀxɪᴍᴜᴍ sʟᴏᴛs: &e%max%'
      - ''
      - '&8ᴅʀᴀɢ ᴏɴ ᴛᴏᴘ ᴏꜰ ᴀɴᴏᴛʜᴇʀ ɪᴛᴇᴍ'
      - '&8ᴛᴏ ᴀᴘᴘʟʏ ɪᴛ.'
    armor:
      material: EYE_OF_ENDER
      custom-model-data: 6
      name: '&8[&d&lENCHANT&8]&f ᴇɴᴄʜᴀɴᴛᴍᴇɴᴛ ᴏʀʙ'
      lore:
      - '&8(ᴀᴘᴘʟʏ ꜰᴏʀ ᴀʀᴍᴏʀ)'
      - ''
      - '&7Orb increases the slots of'
      - '&7enchantment on a weapon by'
      - '&c%new%&7, up to a maximum of &e%max%'
      - ''
      - '&a+ &7sᴜᴄᴄᴇss ʀᴀᴛᴇ: &a%success%%'
      - '&a+ &7ɪɴᴄʀᴇᴀsᴇs sʟᴏᴛs: &c%new%'
      - '&a+ &7ᴍᴀxɪᴍᴜᴍ sʟᴏᴛs: &e%max%'
      - ''
      - '&8ᴅʀᴀɢ ᴏɴ ᴛᴏᴘ ᴏꜰ ᴀɴᴏᴛʜᴇʀ ɪᴛᴇᴍ'
      - '&8ᴛᴏ ᴀᴘᴘʟʏ ɪᴛ.'
    tool:
      material: EYE_OF_ENDER
      custom-model-data: 8
      name: '&8[&d&lENCHANT&8]&f ᴇɴᴄʜᴀɴᴛᴍᴇɴᴛ ᴏʀʙ'
      lore:
      - '&8(ᴀᴘᴘʟʏ ꜰᴏʀ ᴛᴏᴏʟ)'
      - ''
      - '&7Orb increases the slots of'
      - '&7enchantment on a weapon by'
      - '&c%new%&7, up to a maximum of &e%max%'
      - ''
      - '&a+ &7sᴜᴄᴄᴇss ʀᴀᴛᴇ: &a%success%%'
      - '&a+ &7ɪɴᴄʀᴇᴀsᴇs sʟᴏᴛs: &c%new%'
      - '&a+ &7ᴍᴀxɪᴍᴜᴍ sʟᴏᴛs: &e%max%'
      - ''
      - '&8ᴅʀᴀɢ ᴏɴ ᴛᴏᴘ ᴏꜰ ᴀɴᴏᴛʜᴇʀ ɪᴛᴇᴍ'
      - '&8ᴛᴏ ᴀᴘᴘʟʏ ɪᴛ.'
  fishtrak:
    type: FIREWORK_STAR
    id: 0
    custom-model-data: 0
    force-glow: false
    name: '&bFishTrak Creator'
    lore:
    - '&7Track how many fish you catch with a fishing rod'
    - '&7Drag ontop of a fishing rod to apply it'
    messages:
      success:
      - '&7You successfully applied &bFishTrak Creator'
    settings:
      lore-display: '&eFishTrak Fish Caught: &6%stats%'
white-scroll:
  # Obtain white scroll by giving it with command "/ae giveitem <player> whitescroll"
  # Should the white scroll be removed once applied enchantment fails?
  delete: true
  # Display in item lore
  lore-display: '&a◉ ᴘʀᴏᴛᴇᴄᴛᴇᴅ'
  item:
    type: PAPER
    id: 0
    custom-model-data: 112
    force-glow: false
    name: '&8[&d&lENCHANT&8]&f ᴘʀᴏᴛᴇᴄᴛᴇᴅ ꜱᴄʀᴏʟʟ'
    lore:
    - ''
    - '&bPrevents an item from being'
    - '&bdestroyed due to a failed'
    - '&bEnchantment Book.'
    - ''
    - '&8ᴅʀᴀɢ ᴏɴ ᴛᴏᴘ ᴏꜰ ᴀɴᴏᴛʜᴇʀ'
    - '&8ɪᴛᴇᴍ ᴛᴏ ᴀᴘᴘʟʏ ɪᴛ.'
  custom-model-data: 0
# enchanter:
  # open-sound: ENDERDRAGON_WINGS
  # disabled-in-worlds:
  # - world_the_end
  # messages:
    # sound: LEVEL_UP
  # right-click-to-view-enchants: true
  # go-back-item:
    # enabled: true
    # item:
      # type: NETHER_STAR
      # id: 0
      # custom-model-data: 0
    # name: '&c&lGO BACK'
    # lore: []
  # keep-open: true
  # inventory:
    # size: 53
    # name: '&fऱथलप'
    # settings:
      # enchanterBookLevel: ALL
    # items:
      # '10':
        # item:
          # type: BOOK
          # id: 0
          # custom-model-data: 18
          # force-glow: true
        # enchant-group: SIMPLE
        # price: money:250000
        # sound: ANVIL_LAND
        # name: '&fय ᴍʏꜱᴛᴇʀɪᴏᴜꜱ ʙᴏᴏᴋ'
        # lore:
        # - ''
        # - '{#dff9fb}A book with mysterious spirit,'
        # - '{#dff9fb}concealed occult magic inside'
        # - ''
        # - '&7ʙᴜʏ ᴘʀɪᴄᴇ: &2$&a%price%'
        # - '&7ʙᴏᴏᴋ ʀᴀʀɪᴛʏ: &fऄ'
      # '11':
        # item:
          # type: BOOK
          # id: 0
          # custom-model-data: 19
          # force-glow: true
        # enchant-group: UNIQUE
        # sound: ANVIL_LAND
        # price: money:500000
        # name: '&aय ᴍʏꜱᴛᴇʀɪᴏᴜꜱ ʙᴏᴏᴋ'
        # lore:
        # - '{#dff9fb}A book with mysterious spirit,'
        # - '{#dff9fb}concealed occult magic inside'
        # - ''
        # - '&7ʙᴜʏ ᴘʀɪᴄᴇ: &2$&a%price%'
        # - '&7ʙᴏᴏᴋ ʀᴀʀɪᴛʏ: &fअ'
      # '12':
        # item:
          # type: BOOK
          # id: 0
          # custom-model-data: 20
          # force-glow: true
        # enchant-group: ELITE
        # price: money:1000000
        # sound: ANVIL_LAND
        # name: '&bय ᴍʏꜱᴛᴇʀɪᴏᴜꜱ ʙᴏᴏᴋ'
        # lore:
        # - ''
        # - '{#dff9fb}A book with mysterious spirit,'
        # - '{#dff9fb}concealed occult magic inside'
        # - ''
        # - '&7ʙᴜʏ ᴘʀɪᴄᴇ: &2$&a%price%'
        # - '&7ʙᴏᴏᴋ ʀᴀʀɪᴛʏ: &fआ'
      # '14':
        # item:
          # type: BOOK
          # id: 0
          # custom-model-data: 21
          # force-glow: true
        # enchant-group: ULTIMATE
        # price: money:3000000
        # sound: ANVIL_LAND
        # name: '&eय ᴍʏꜱᴛᴇʀɪᴏᴜꜱ ʙᴏᴏᴋ'
        # lore:
        # - '{#dff9fb}A book with mysterious spirit,'
        # - '{#dff9fb}concealed occult magic inside'
        # - ''
        # - '&7ʙᴜʏ ᴘʀɪᴄᴇ: &2$&a%price%'
        # - '&7ʙᴏᴏᴋ ʀᴀʀɪᴛʏ: &fइ'
      # '15':
        # item:
          # type: BOOK
          # id: 0
          # custom-model-data: 22
          # force-glow: true
        # enchant-group: LEGENDARY
        # price: souls:40000000
        # sound: ANVIL_LAND
        # name: '&6य ᴍʏꜱᴛᴇʀɪᴏᴜꜱ ʙᴏᴏᴋ'
        # lore:
        # - ''
        # - '{#dff9fb}A book with mysterious spirit,'
        # - '{#dff9fb}concealed occult magic inside'
        # - ''
        # - '&7ʙᴏᴏᴋ ʀᴀʀɪᴛʏ: &fई'
        # - '&c&lUNOBTAINABLE'
      # '16':
        # item:
          # type: BOOK
          # id: 0
          # custom-model-data: 23
          # force-glow: true
        # enchant-group: FABLED
        # price: souls:400000000000
        # sound: ANVIL_LAND
        # name: '&dय ᴍʏꜱᴛᴇʀɪᴏᴜꜱ ʙᴏᴏᴋ'
        # lore:
        # - ''
        # - '{#dff9fb}A book with mysterious spirit,'
        # - '{#dff9fb}concealed occult magic inside'
        # - ''
        # - '&7ʙᴏᴏᴋ ʀᴀʀɪᴛʏ: &fउ'
        # - '&c&lUNOBTAINABLE'
      # '28':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ANVIL_USE
        # player-command:
        # - tinkerer
        # name: '&fओ &fᴛɪɴᴋᴇʀᴇʀ - ᴍᴇɴᴜ'
        # lore:
        # - ''
        # - '{#dff9fb}Convert your enchant'
        # - '{#dff9fb}books into Secret Gems'
        # - '{#dff9fb}and Experience Bottles'
        # - ''
        # - '&7ऑ&7 Open tinkerer menu'
      # '29':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ANVIL_USE
        # player-command:
        # - tinkerer
        # name: '&fओ &fᴛɪɴᴋᴇʀᴇʀ - ᴍᴇɴᴜ'
        # lore:
        # - ''
        # - '{#dff9fb}Convert your enchant'
        # - '{#dff9fb}books into Secret Gems'
        # - '{#dff9fb}and Experience Bottles'
        # - ''
        # - '&7ऑ&7 Open tinkerer menu'
      # '30':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ANVIL_USE
        # player-command:
        # - tinkerer
        # name: '&fओ &fᴛɪɴᴋᴇʀᴇʀ - ᴍᴇɴᴜ'
        # lore:
        # - ''
        # - '{#dff9fb}Convert your enchant'
        # - '{#dff9fb}books into Secret Gems'
        # - '{#dff9fb}and Experience Bottles'
        # - ''
        # - '&7ऑ&7 Open tinkerer menu'
      # '37':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ANVIL_USE
        # player-command:
        # - tinkerer
        # name: '&fओ &fᴛɪɴᴋᴇʀᴇʀ - ᴍᴇɴᴜ'
        # lore:
        # - ''
        # - '{#dff9fb}Convert your enchant'
        # - '{#dff9fb}books into Secret Gems'
        # - '{#dff9fb}and Experience Bottles'
        # - ''
        # - '&7ऑ&7 Open tinkerer menu'
      # '38':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ANVIL_USE
        # player-command:
        # - tinkerer
        # name: '&fओ &fᴛɪɴᴋᴇʀᴇʀ - ᴍᴇɴᴜ'
        # lore:
        # - ''
        # - '{#dff9fb}Convert your enchant'
        # - '{#dff9fb}books into Secret Gems'
        # - '{#dff9fb}and Experience Bottles'
        # - ''
        # - '&7ऑ&7 Open tinkerer menu'
      # '39':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ANVIL_USE
        # player-command:
        # - tinkerer
        # name: '&fओ ᴛɪɴᴋᴇʀᴇʀ - ᴍᴇɴᴜ'
        # lore:
        # - ''
        # - '{#dff9fb}Convert your enchant'
        # - '{#dff9fb}books into Secret Gems'
        # - '{#dff9fb}and Experience Bottles'
        # - ''
        # - '&7ऑ&7 Open tinkerer menu'
      ALCHEMIST
      # '31':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ARROW_HIT
        # player-command:
        # - alchemist
        # name: '&fऒ ᴀʟᴄʜᴇᴍɪsᴛ - ᴍᴇɴᴜ'
        # lore:
        # - ''
        # - '{#dff9fb}Combine two enchants'
        # - '{#dff9fb}books or lucky stones'
        # - '{#dff9fb}into a better one.'
        # - ''
        # - '&7ऑ&7 Open alchemist menu'
      # '32':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ARROW_HIT
        # player-command:
        # - alchemist
        # name: '&fऒ ᴀʟᴄʜᴇᴍɪsᴛ - ᴍᴇɴᴜ'
        # lore:
        # - ''
        # - '{#dff9fb}Combine two enchants'
        # - '{#dff9fb}books or lucky stones'
        # - '{#dff9fb}into a better one.'
        # - ''
        # - '&7ऑ&7 Open alchemist menu'
      # '33':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ARROW_HIT
        # player-command:
        # - alchemist
        # name: '&fऒ ᴀʟᴄʜᴇᴍɪsᴛ - ᴍᴇɴᴜ'
        # lore:
        # - ''
        # - '{#dff9fb}Combine two enchants'
        # - '{#dff9fb}books or lucky stones'
        # - '{#dff9fb}into a better one.'
        # - ''
        # - '&7ऑ&7 Open alchemist menu'
      # '34':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ARROW_HIT
        # player-command:
        # - alchemist
        # name: '&fऒ ᴀʟᴄʜᴇᴍɪsᴛ - ᴍᴇɴᴜ'
        # lore:
        # - ''
        # - '{#dff9fb}Combine two enchants'
        # - '{#dff9fb}books or lucky stones'
        # - '{#dff9fb}into a better one.'
        # - ''
        # - '&7ऑ&7 Open alchemist menu'
      # '40':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ARROW_HIT
        # player-command:
        # - alchemist
        # name: '&fऒ ᴀʟᴄʜᴇᴍɪsᴛ - ᴍᴇɴᴜ'
        # lore:
        # - ''
        # - '{#dff9fb}Combine two enchants'
        # - '{#dff9fb}books or lucky stones'
        # - '{#dff9fb}into a better one.'
        # - ''
        # - '&7ऑ&7 Open alchemist menu'
      # '41':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ARROW_HIT
        # player-command:
        # - alchemist
        # name: '&fऒ ᴀʟᴄʜᴇᴍɪsᴛ - ᴍᴇɴᴜ'
        # lore:
        # - ''
        # - '{#dff9fb}Combine two enchants'
        # - '{#dff9fb}books or lucky stones'
        # - '{#dff9fb}into a better one.'
        # - ''
        # - '&7ऑ&7 Open alchemist menu'
      # '42':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ARROW_HIT
        # player-command:
        # - alchemist
        # name: '&fऒ ᴀʟᴄʜᴇᴍɪsᴛ - ᴍᴇɴᴜ'
        # lore:
        # - ''
        # - '{#dff9fb}Combine two enchants'
        # - '{#dff9fb}books or lucky stones'
        # - '{#dff9fb}into a better one.'
        # - ''
        # - '&7ऑ&7 Open alchemist menu'
      # '43':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ARROW_HIT
        # player-command:
        # - alchemist
        # name: '&fऒ ᴀʟᴄʜᴇᴍɪsᴛ - ᴍᴇɴᴜ'
        # lore:
        # - ''
        # - '{#dff9fb}Combine two enchants'
        # - '{#dff9fb}books or lucky stones'
        # - '{#dff9fb}into a better one.'
        # - ''
        # - '&7ऑ&7 Open alchemist menu'
      # '46':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ARROW_HIT
        # player-command:
        # - enchants
        # name: '&fत ᴇɴᴄʜᴀɴᴛ ɪᴛᴇᴍ ɪɴꜰᴏ'
        # lore:
        # - ''
        # - '{#dff9fb}Here you can view the'
        # - '{#dff9fb}Information on what'
        # - '{#dff9fb}mystic enchantment does'
        # - '{#dff9fb}what so you have a'
        # - '{#dff9fb}clear idea of how it works'
        # - ''
        # - '&7ऑ&7 Open enchant items shop'
      # '47':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ARROW_HIT
        # player-command:
        # - enchants
        # name: '&fत ᴇɴᴄʜᴀɴᴛ ɪᴛᴇᴍ ɪɴꜰᴏ'
        # lore:
        # - ''
        # - '{#dff9fb}Here you can view the'
        # - '{#dff9fb}Information on what'
        # - '{#dff9fb}mystic enchantment does'
        # - '{#dff9fb}what so you have a'
        # - '{#dff9fb}clear idea of how it works'
        # - ''
        # - '&7ऑ&7 Open enchant items shop'
      # '48':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ARROW_HIT
        # player-command:
        # - enchants
        # name: '&fत ᴇɴᴄʜᴀɴᴛ ɪᴛᴇᴍ ɪɴꜰᴏ'
        # lore:
        # - ''
        # - '{#dff9fb}Here you can view the'
        # - '{#dff9fb}Information on what'
        # - '{#dff9fb}mystic enchantment does'
        # - '{#dff9fb}what so you have a'
        # - '{#dff9fb}clear idea of how it works'
        # - ''
        # - '&7ऑ&7 Open enchant items shop'
      # '49':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ARROW_HIT
        # player-command:
        # - enchants
        # name: '&fत ᴇɴᴄʜᴀɴᴛ ɪᴛᴇᴍ ɪɴꜰᴏ'
        # lore:
        # - ''
        # - '{#dff9fb}Here you can view the'
        # - '{#dff9fb}Information on what'
        # - '{#dff9fb}mystic enchantment does'
        # - '{#dff9fb}what so you have a'
        # - '{#dff9fb}clear idea of how it works'
        # - ''
        # - '&7ऑ&7 Open enchant items shop'
      # '50':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ARROW_HIT
        # player-command:
        # - enchants
        # name: '&fत ᴇɴᴄʜᴀɴᴛ ɪᴛᴇᴍ ɪɴꜰᴏ'
        # lore:
        # - ''
        # - '{#dff9fb}Here you can view the'
        # - '{#dff9fb}Information on what'
        # - '{#dff9fb}mystic enchantment does'
        # - '{#dff9fb}what so you have a'
        # - '{#dff9fb}clear idea of how it works'
        # - ''
        # - '&7ऑ&7 Open enchant items shop'
      # '51':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ARROW_HIT
        # player-command:
        # - enchants
        # name: '&fत ᴇɴᴄʜᴀɴᴛ ɪᴛᴇᴍ ɪɴꜰᴏ'
        # lore:
        # - ''
        # - '{#dff9fb}Here you can view the'
        # - '{#dff9fb}Information on what'
        # - '{#dff9fb}mystic enchantment does'
        # - '{#dff9fb}what so you have a'
        # - '{#dff9fb}clear idea of how it works'
        # - ''
        # - '&7ऑ&7 Open enchant items shop'
      # '52':
        # item:
          # type: BLACK_STAINED_GLASS_PANE
          # id: 0
          # custom-model-data: 99
          # force-glow: false
        # sound: ARROW_HIT
        # player-command:
        # - enchants
        # name: '&fत ᴇɴᴄʜᴀɴᴛ ɪᴛᴇᴍ ɪɴꜰᴏ'
        # lore:
        # - ''
        # - '{#dff9fb}Here you can view the'
        # - '{#dff9fb}Information on what'
        # - '{#dff9fb}mystic enchantment does'
        # - '{#dff9fb}what so you have a'
        # - '{#dff9fb}clear idea of how it works'
        # - ''
        # - '&7ऑ&7 Open enchant items shop'
destroy:
  enabled: true
  destroy-item: true

chances:
  random: true
  success: 20
  destroy: 80
  destroy-if-fail:
    enabled: true

# Confirmation inventory for enchanter payments
# Confirm or deny the transaction, acts like 2-step confirmation
confirmation-inventory:
  enabled: true
  name: '&fऱधलब'
  accept:
    material: BLACK_STAINED_GLASS_PANE
    damage: 5
    custom-model-data: 99
    name: '{#00d52a}Accept Transaction'
    lore:
    - ''
    - '&7Cost: &f%price% %paymentType%'
  cancel:
    material: BLACK_STAINED_GLASS_PANE
    damage: 14
    custom-model-data: 99
    name: '{#e55039}Cancel Transaction'
    lore:
    - '&8Click cancel action'

armor-switching:
  enabled: true
  sound: LEVEL_UP
  armorSkullsSwitching: false # true

enchantment-book:
  anvil-application: false
  drag-drop-application: true
  item:
    type: BOOK
    id: 0
    custom-model-data: 0
    force-glow: false
  name: '&8[%group-color%%group-name%&8] %group-color%%enchant-no-color% &n%level%'
  lore:
  - ''
  - '&7❖ {#ff99ff}%description%'
  - ''
  - '{#eb2f06}ᴅᴇꜱᴛʀᴜᴄᴛɪᴏɴ ʀᴀᴛᴇ: &f%destroy%%'
  - '{#00cc00}ꜱᴜᴄᴄᴇꜱꜱɪᴏɴ ʀᴀᴛᴇ: &f%success%%'
  - ''
  - '&8ᴅʀᴀɢ ᴀɴᴅ ᴅʀᴏᴘ ᴏɴᴛᴏ ɪᴛᴇᴍ'
  - '&8ᴛᴏ ᴇɴᴄʜᴀɴᴛ: &n%applies-to%'

applies-groups:
  MISC_HELMETS:
  - CARVED_PUMPKIN
  SKULL_ITEM: []
settings:
  grindstones-remove-custom-enchants: true
  organizeEnchantsOnItems: true
  lore-organize-mode: 2
  custom-enchants-cause-glow: false
  use-legacy-potions-system: true
  fortune-works-on-iron-gold: false
  steal-money:
    message-enabled: false
  combo-limit: 5
  trench-autoadd-items: false
  trench-works-with-more-drops: false
  renametag-enchanted-only: true
  itemnametag-max-name-length: 32
  trench-do-all-durab: true
  lower-destroy-with-magic-dust: true
  enable-combo-for-mobs: true
  clear-potion-effects-on-quit: true
  ae-market-enabled: false
  use-numbers: false
  activate-non-armor-in-armor-slots: false
  held-effect-static-cross-update: false
  use-experimental-damage: false
  trench-blacklist:
  - COAL_ORE
  - COPPER_ORE
  - IRON_ORE
  - GOLD_ORE
  - LAPIS_ORE
  - REDSTONE_ORE
  - DIAMOND_ORE
  - EMERALD_ORE
  - NETHER_QUARTZ_ORE
  - NETHER_GOLD_ORE
  - ANCIENT_DEBRIS
  - DEEPSLATE_COAL_ORE
  - DEEPSLATE_COPPER_ORE
  - DEEPSLATE_IRON_ORE
  - DEEPSLATE_GOLD_ORE
  - DEEPSLATE_LAPIS_ORE
  - DEEPSLATE_REDSTONE_ORE
  - DEEPSLATE_DIAMOND_ORE
  - DEEPSLATE_EMERALD_ORE
  trench-whitelist: []
  veinmine-whitelist:
  - COAL_ORE
  - COPPER_ORE
  - IRON_ORE
  - GOLD_ORE
  - LAPIS_ORE
  - REDSTONE_ORE
  - DIAMOND_ORE
  - EMERALD_ORE
  - NETHER_QUARTZ_ORE
  - NETHER_GOLD_ORE
  - ANCIENT_DEBRIS
  - DEEPSLATE_COAL_ORE
  - DEEPSLATE_COPPER_ORE
  - DEEPSLATE_IRON_ORE
  - DEEPSLATE_GOLD_ORE
  - DEEPSLATE_LAPIS_ORE
  - DEEPSLATE_REDSTONE_ORE
  - DEEPSLATE_DIAMOND_ORE
  - DEEPSLATE_EMERALD_ORE
  enchantment-world-blacklist: []
  # - Galatic
  holy-whitescrolls-world-blacklist:
  - no_holywhitescrolls_world
  fly-world-blacklist:
  - Galatic
  open-enchanter-by-right-clicking-enchantment-table: false
  stems-count-as-trees: false
  enchants-debug-mode: false
  apply-cooldown: 20
  whitescroll-material-blacklist:
  - STONE
  souls-per-kill: 1
  trench-optimization:
    automaticallyDetect: true
  lava-walker-radius: 2
  water-walker-radius: 2
  collect-souls-from-mobs: false
  showFirstLevel: true
  heal-check: true
  use-worldguard-fly-flag: true
  custom-drops-from-spawners: false
  miningSouls:
    enabled: false
    chance: 20
  bow-full-power: true
  lore-descriptions:
    enabled: false
    display: '%group-color%* &8%description%'
  held-check-frequency: 5
  give-mcmmo-with-custom-block-breaks: false
  held-shift-cross-update: true
  allow-place-of-armor-block: true
  collect-souls-from-players: false
  right-click-triggers-on-off-hand: false
  respect-player-placed-blocks: true
  break-block-effect-blacklist:
  - SPAWNER
  - AIR
  - LAVA
  - WATER
  - CAULDRON
  - BEDROCK
  minecraft-stats-blocks-broken-count: true
  fishingSouls:
    enabled: true
    chance: 20
armor-items:
  helmet:
  - HEAD
  - SKULL_ITEM
  - SKULL
  - PLAYER_HEAD
  - CREEPER_HEAD
  - DRAGON_HEAD
  - ZOMBIE_HEAD
  - NETHERITE_HELMET
  - DIAMOND_HELMET
  - GOLD_HELMET
  - IRON_HELMET
  - CHAINMAIL_HELMET
  - LEATHER_HELMET
  - TURTLE_SHELL
  - PUMPKIN
  - CARVED_PUMPKIN
  - TURTLE_HELMET
  - FEATHER
  chest-plate:
  - CHEST
  - NETHERITE_CHESTPLATE
  - DIAMOND_CHESTPLATE
  - GOLD_CHESTPLATE
  - IRON_CHESTPLATE
  - CHAINMAIL_CHESTPLATE
  - LEATHER_CHESTPLATE
  - ELYTRA
  - LEATHER
  leggings:
  - LEGS
  - DIAMOND_LEGGINGS
  - NETHERITE_LEGGINGS
  - GOLD_LEGGINGS
  - IRON_LEGGINGS
  - CHAINMAIL_LEGGINGS
  - LEATHER_LEGGINGS
  - PAPER
  boots:
  - FEET
  - DIAMOND_BOOTS
  - NETHERITE_BOOTS
  - GOLD_BOOTS
  - IRON_BOOTS
  - CHAINMAIL_BOOTS
  - LEATHER_BOOTS
  - EGG
version: 1.0

Config.yml

ThomasWega commented 8 months ago

Similar to https://github.com/GC-spigot/AdvancedEnchantments/issues/3972. Will handle all this there. Compatibility needs to be added