Skip to content
Nik edited this page Nov 1, 2026 · 1 revision
# +----------------------------------------------------------------------------------------------+
# |                                                                                              |
# |                                        SuperEnchantments                                     |
# |                                                                                              |
# |                                           Author: Nik                                        |
# |                                                                                              |
# +----------------------------------------------------------------------------------------------+
# Enchant Book Settings
books:

  # The display name of the custom enchantment books
  name: '&bEnchanted Book'

  # The material to use for custom enchantment books
  material: BOOK

  # Should the custom enchantment book glow?
  glow: true

  # The lore of the custom enchantment book
  # NOTE: The name of the enchantment will always show first
  # Placeholders: %description%, %applicable%
  lore:
    - ''
    - '%description%'
    - ''
    - '&6Applies to: &a%applicable%'

# Random Enchantment Book Settings
random_enchantment_book:

  # The display name of the random enchantment book
  name: '&#FF0000&lR&#FF1D00&la&#FF3A00&ln&#FF5700&ld&#FF7300&lo&#FF9000&lm&#FFAE00&l &#FFCB00&lE&#FFE800&ln&#F3FF00&lc&#B9FF00&lh&#80FF00&la&#46FF00&ln&#0CFF00&lt&#00D12E&lm&#009768&le&#005DA2&ln&#0023DC&lt&#0D00FB&l &#2F00F1&lB&#5100E7&lo&#7200DD&lo&#9400D3&lk'

  # The material to use for the random enchantment book
  material: BOOK

  # Should the random enchantment book glow?
  glow: true

  # The lore of the random enchantment book
  lore:
    - ''
    - '&6Right Click'
    - '&6To receive a random enchantment book!'
    - ''
    - '&2&nCommon:&f %common_chance%'
    - '&3&nRare:&f %rare_chance%'
    - '&5&nLegendary:&f %legendary_chance%'
    - ''

  # The chance of the book giving a common rarity enchantment
  common_chance: 50.0

  # The chance of the book giving a rare rarity enchantment
  rare_chance: 30.0

  # The chance of the book giving a legendary rarity enchantment
  legendary_chance: 20.0

# Anvil Settings
anvil:

  # Should players be able to apply enchant books to tools in an anvil?
  enabled: true

  # The maximum limit of custom enchantments allowed in a single piece
  limit: 3

  # The XP level cost of applying an enchant in the anvil
  cost: 5

# Enchanter Settings
# Players spend experience on a random custom enchantment book
enchanter:

  # Should the enchanter menu and its command work?
  enabled: true

  # The title of the menu
  title: '&9Enchanter'

  # The rows of the menu
  # From 1 to 6
  rows: 3

  # The item that fills the empty slots of the menu
  # NONE to leave them empty
  filler: GRAY_STAINED_GLASS_PANE

  # What the offers cost
  # LEVELS or POINTS (experience points)
  cost_type: LEVELS

  # NONE to disable
  # Played when a book is bought
  success_sound: entity.player.levelup

  # NONE to disable
  # Played when a purchase fails
  fail_sound: entity.villager.no

  # The offers of the enchanter
  # Every section is an offer, copy one and rename it to add another
  offers:
    common:

      # The slot of the offer in the menu, counting from 0
      slot: 11

      # The item of the offer
      material: BOOK

      # The display name of the offer
      name: '&a&lCommon Enchantment'

      # The lore of the offer
      # Placeholders: %cost%, %type%, %balance%, %enchants%
      lore:
        - '&7Buy a random enchant book'
        - ''
        - '&7Cost: &f%cost% %type%'
        - '&7You have: &f%balance% %type%'
        - '&7Possible enchants: &f%enchants%'
        - ''
        - '&b&lClick &7to buy'

      # The experience the offer costs
      # Levels or points, depending on enchanter.cost_type
      cost: 15

      # The permission that is needed to buy the offer
      # Leave it empty for none
      permission: ''

      # The enchants that can be rolled, empty means every enabled enchant
      # Add a weight with a colon to change the chances, like blast:3
      # The default weight is 1
      enchants:
        - glow
        - curse
        - swift
        - strike
        - harvester
        - planter
        - rejuvenation
        - executioner
        - frostbite
    rare:
      slot: 13
      material: BOOK
      name: '&9&lRare Enchantment'
      lore:
        - '&7Buy a random enchant book'
        - ''
        - '&7Cost: &f%cost% %type%'
        - '&7You have: &f%balance% %type%'
        - '&7Possible enchants: &f%enchants%'
        - ''
        - '&b&lClick &7to buy'
      cost: 30
      permission: ''
      enchants:
        - dodge
        - autosmelt
        - sniper
        - telepathy
        - charge
        - haste
        - juggernaut
        - windburst
    legendary:
      slot: 15
      material: BOOK
      name: '&6&lLegendary Enchantment'
      lore:
        - '&7Buy a random enchant book'
        - ''
        - '&7Cost: &f%cost% %type%'
        - '&7You have: &f%balance% %type%'
        - '&7Possible enchants: &f%enchants%'
        - ''
        - '&b&lClick &7to buy'
      cost: 50
      permission: ''
      enchants:
        - blast
        - lifesteal
        - smithing
        - thunder
        - lumberjack
        - aegis
        - penetration
        - piercingsoul
        - regeneration

# Disenchanter Settings
# Players remove a custom enchant from the item in their hand and get its book back
disenchanter:

  # Should the disenchanter menu and its command work?
  enabled: true

  # The title of the menu
  title: '&9Remove Enchantments'

  # What removing an enchant costs
  # 0 is free
  cost: 0

  # LEVELS or POINTS (experience points)
  cost_type: LEVELS

  # NONE to disable
  # Played when an enchant is removed
  success_sound: block.anvil.use

  # NONE to disable
  # Played when removing an enchant fails
  fail_sound: entity.villager.no

Clone this wiki locally