Home›Java›Mods›BookEnchanter
BookEnchanter
ModsJava

BookEnchanter

Java mod listed for Minecraft 1.12–1.13. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
This plugin is giving an option how add enchantment from enchanted books to equipments. ​


Features:
2018-10-22_22.03.01.png

Commands:
/enchanter - Shows the enchanter menu
/enchanter reload - Reload the configuration
/enchanter get enchants - If you hold an enchanted book you can list the enchantments. (Use this if you want fill the disabled_enchantments)
/enchanter help - send all commands describe, whose player has permission, you can click the showed commands and the command will appaer in your chatbox.

/enchanter generate (or gen) <Enchantment: power>,<Enchantment: power>

Examples:
  1. /enchanter gen DAMAGE_ALL:2
  2. /enchanter generate DAMAGE_ALL:2
  3. /enchanter gen DAMAGE_ALL:4,ARROW_DAMAGE:4
  4. /enchanter generate DAMAGE_ALL:0
  • If you set the power value to 0, that will delete that enchantment from enchanted book /Please only use when holding an enchanted book/
  • If you holding an enchanted book, that will be enchanted
  • If you dont holding an enchanted book, plugin will make a new and enchant that.
​
(Hungarian) Magyar fordítás elérhető: config.yml > Options > lang: 'en'-t cseréld le 'hu'-ra és indítsd újra a szervert vagy nyomj egy reloadot!

If you want to add other languages please transalate the messages file and send me.

Spoiler: config.yml
Code (YAML):

Options
:
  prefix
: '§f [ §bBookEnchanter§f ] '
  #Avaible languages: en,hu
  lang
: 'en'
  check-update
: true
  sound_effects
:
    enchant_success
:
      enabled
: true
      type
: 'ANVIL_USE'
  menu
:
    title
: '§bBookEnchanter'
    size
: 27
    enable_Unsafe_Enchants
: true
    empty_slots
:
      enchanting
: 11
      book
: 15
    enchanting_place_info
:
      name
: '§6Enchantable item >>'
      slot
: 10
      material
: 'PAPER'
    enchanted_book_place_info
:
      name
: '§6<< Enchanted book'
      slot
: 16
      material
: 'PAPER'
    ready
:
      name
: '§2Enchant!'
      priced_name
: '§ePrice : %price%'
      slot
: 26
      material
: 'ANVIL'
    cancel
:
      name
: '§cCancel'
      slot
: 25
      material
: 'BARRIER'
    fill_item
:
      name
: ' '
      material
: 'GRAY_STAINED_GLASS_PANE'
  #If enchantable_item_fill_all is false, use this to set manually, which Item types are enchantable
  enchantable_items
:
   - 'WOODEN_SWORD'
    - 'STONE_SWORD'
    - 'IRON_SWORD'
    - 'GOLDEN_SWORD'
    - 'DIAMOND_SWORD'
    - 'WOODEN_SPADE'
    - 'STONE_SPADE'
    - 'IRON_SPADE'
    - 'GOLDEN_SPADE'
    - 'DIAMOND_SPADE'
    - 'WOODEN_HOE'
    - 'STONE_HOE'
    - 'IRON_HOE'
    - 'GOLDEN_HOE'
    - 'DIAMOND_HOE'
    - 'WOODEN_AXE'
    - 'STONE_AXE'
    - 'IRON_AXE'
    - 'GOLDEN_AXE'
    - 'DIAMOND_AXE'
    - 'BOW'
    - 'FISHING_ROD'
    - 'WOODEN_PICKAXE'
    - 'STONE_PICKAXE'
    - 'GOLDEN_PICKAXE'
    - 'DIAMOND_PICKAXE'
    - 'LEATHER_HELMET'
    - 'LEATHER_CHESTPLATE'
    - 'LEATHER_LEGGINGS'
    - 'LEATHER_BOOTS'
    - 'CHAINMAIL_HELMET'
    - 'CHAINMAIL_CHESTPLATE'
    - 'CHAINMAIL_LEGGINGS'
    - 'CHAINMAIL_BOOTS'
    - 'IRON_HELMET'
    - 'IRON_CHESTPLATE'
    - 'IRON_LEGGINGS'
    - 'IRON_BOOTS'
    - 'GOLDEN_HELMET'
    - 'GOLDEN_CHESTPLATE'
    - 'GOLDEN_LEGGINGS'
    - 'GOLDEN_BOOTS'
    - 'DIAMOND_HELMET'
    - 'DIAMOND_CHESTPLATE'
    - 'DIAMOND_LEGGINGS'
    - 'DIAMOND_BOOTS'
  enchant_price
:
    enabled
: true
    materials
:
      GOLDEN_AXE
: 1200
      DIAMOND_AXE
: 1500
 
Spoiler: disabled.yml
Code (YAML):
disabled_enchantments :
 - 'PROTECTION_FALL'
Spoiler: permissions.yml
Code (YAML):

#If in the apostrophes are nothing that mean player don't need permission for it
Permissions
:
  open
: ''
  getenchants
: ''
  generate
: 'benchanter.gen'
  reload
: 'benchanter.reload'
  help
: ''
 


Important for 1.13 server owners:

  1. The materials are need to be 1.13 materials (ex: in 1.12: GOLD_SHOVEL is in 1.13: GOLDEN_SPADE)
  2. Coloring with damage values is not working in 1.13. You can use colored material names (ex: GRAY_STAINED_GLASS_PANE)
​
Future plans:
API:
Spoiler: API
Code (Java):
//The main class is BookEnchanter
// You need to make a BookEnchanter variable, make it private

public class UseAPI ( ) {
  private BookEnchanter be ;

  public void onEnable ( ) {
     be = JavaPlugin. getPlugin ( BookEnchanter. class ) ;
  }
}
// This was the "tutorial"

//Description:
getInstance ( ) - returns the BookEnchanter class
getEnchanterInventory ( ) - returns the main inventory
getEnabledEnchantableMaterials ( ) - returns the enabled materials, which enchantable. You can add new materials or remove there.
setEnchanterInventory ( Inventory inv )
getConfigFile ( ) - returns the config file
getConfig ( ) - returns the real config
getPermissionFile ( )
getPermissionConfig ( )
getDisabledFile ( )
getDisabledConfig ( )
getMessagesFile ( )
getMessagesConfig ( )
 

Useful links:

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

BookEnchanter is a free Minecraft Java mod. Compatible with Minecraft 1.12, 1.13. Downloaded 1,282 times (via Spigot). Download it and open it directly in the game.

Explore more