Sueta

John Enchanter [Deprecated]

1.2.4

Custom Enchantment Table & Anvil that can enchant any level [Deprecated]

·Plugin

Pictures:


How use:
YouTube
Why use JohnEnchanter?

  • You can change any enchantment type and level in the table tyers
  • Editable prices for enchant, repair and join enchantments
  • Editable GUIS
  • Item Backlist (names and materials)
  • And more!

Instalation:

  • Download the plugin and place in your server plugins folder.
  • Enable the server or restart.
  • After that you can edit the plugin settings in the 'JohnEnchanter' folder

Configuration Files:

config.yml
#Case true only players with the permission "johnenchanter.enchantcommand" will can open the
#EnchantingTable menu with /enchant
PERMISSION-FOR-ENCHANT-COMMAND: true

#Case true only players with the permission "johnenchanter.anvilcommand" will can open the
#Anvil menu with /anvil
PERMISSION-FOR-ANVIL-COMMAND: true

#Material List: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
#Inventory Backgrounds.
ENCHANTING-BACKGROUND-ITEM: BLACK_STAINED_GLASS_PANE
ANVIL-BACKGROUND-ITEM: BLACK_STAINED_GLASS_PANE
FALSE-MOLDURE-ITEM: RED_STAINED_GLASS_PANE
TRUE-MOLDURE-ITEM: LIME_STAINED_GLASS_PANE

#Inventory names
ENCHANTING-INVENTORY-NAME: "Enchanting"
ANVIL-INVENTORY-NAME: "Anvil"

#Here you change the Enchantments names show by the Enchantment Table
ENCHANTING-NAMES:
  ARROW_DAMAGE: "&9- Power"
  ARROW_KNOCKBACK: "&9- Impact"
  ARROW_FIRE: "&9- Flame"
  ARROW_INFINITE: "&9- Infinity"
  BINDING_CURSE: "&9- Curse of Binding"
  CHANNELING: "&9- Channeling"
  DAMAGE_ALL: "&9- Sharpness"
  DAMAGE_ARTHROPODS: "&9- Bane of Arthropods"
  DAMAGE_UNDEAD: "&9- Smite"
  DEPTH_STRIDER: "&9- Depth Strider"
  DIG_SPEED: "&9- Efficiency"
  DURABILITY: "&9- Unbreaking"
  FIRE_ASPECT: "&9- Fire Aspect"
  FROST_WALKER: "&9- Frost Walker"
  IMPALING: "&9- Impaling"
  KNOCKBACK: "&9- Punch"
  LOOT_BONUS_BLOCKS: "&9- Fortune"
  LOOT_BONUS_MOBS: "&9- Looting"
  LOYALTY: "&9- Loyalty"
  LUCK: "&9- Luck of The Sea"
  LURE: "&9- Lure"
  MENDING: "&9- Mendign"
  MULTISHOT: "&9- Multi Shot"
  OXYGEN: "&9- Respiration"
  PIERCING: "&9- Piercing"
  PROTECTION_ENVIRONMENTAL: "&9- Protection"
  PROTECTION_EXPLOSIONS: "&9- Blast Protection"
  PROTECTION_FALL: "&9- Feather Protection"
  PROTECTION_FIRE: "&9- Fire Protection"
  PROTECTION_PROJECTILE: "&9- Projectile Protection"
  QUICK_CHARGE: "&9- Quick Charge"
  RIPTIDE: "&9- Riptide"
  SILK_TOUCH: "&9- Silk Touch"
  SOUL_SPEED: "&9- Soul Speed"
  SWEEPING_EDGE: "&9- Sweeping Edge"
  THORNS: "&9- Thorns"
  VANISHING_CURSE: "&9- Vanishing Curse"
  WATER_WORKER: "&9- Water Worker"
ENCHANTING-MAX-LEVELS:
  ARROW_DAMAGE: 10
  ARROW_KNOCKBACK: 10
  ARROW_FIRE: 10
  ARROW_INFINITE: 10
  BINDING_CURSE: 10
  CHANNELING: 10
  DAMAGE_ALL: 10
  DAMAGE_ARTHROPODS: 10
  DAMAGE_UNDEAD: 10
  DEPTH_STRIDER: 10
  DIG_SPEED: 10
  DURABILITY: 10
  FIRE_ASPECT: 10
  FROST_WALKER: 10
  IMPALING: 10
  KNOCKBACK: 10
  LOOT_BONUS_BLOCKS: 10
  LOOT_BONUS_MOBS: 10
  LOYALTY: 10
  LUCK: 10
  LURE: 10
  MENDING: 10
  MULTISHOT: 10
  OXYGEN: 10
  PIERCING: 10
  PROTECTION_ENVIRONMENTAL: 10
  PROTECTION_EXPLOSIONS: 10
  PROTECTION_FALL: 10
  PROTECTION_FIRE: 10
  PROTECTION_PROJECTILE: 10
  QUICK_CHARGE: 10
  RIPTIDE: 10
  SILK_TOUCH: 10
  SOUL_SPEED: 10
  SWEEPING_EDGE: 10
  THORNS: 10
  VANISHING_CURSE: 10
  WATER_WORKER: 10
#The enchantments (showed in enchantment table) levels will convert to roman numbers?
#Example: if true = Fortune III, if false = Fortune 3
USE-ROMAN-NUMBERS: true

#If true players without permission for interact, like in a protected area or a plot,
#in short, if the Interact Event is canceled, the enchanting Table or Anvil will not
#open the GUI when interacted on it
NOT-OPEN-IF-CANCELED: false

#Open default enchantment table or anvil if the Interact Event is cancelled?
OPEN-DEFAULT-IF-CANCELLED: false
anvil.yml
#If true, a Diamond Pick can only be repaired using a diamond pick as a sacrifice item.
#If false, this pickaxe can also be repaired with a diamond for example.
ONLY-REPAIR-EQUALTYPE-ITEMS: false

#A sacrifice item will repair how many durability points of the main item?
#For example: if the value below is 500, and the item to be repaired is a diamond pick that has been
#used 1500 times (-1500 of durability) 3 diamonds will be needed to repair it.
ITEM-REPAIR-POINTS: 500

#If someone repairs a diamond pick and it took 1000 points of durability to repair
#it. Will be took 10 xp levels from player (1000/100) if the value below is 100.
DURABILITY_DIVIDED_BY: 100

#Sound list: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
#Use Anvil sound: Leave it empty to not play sounds.
USE-ANVIL-SOUND: BLOCK_ANVIL_USE

#Material List: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
#items on this list cannot be joined.
ITEM-MATERIAL-BACKLIST:
  - WOODEN_HOE

#Items that contain any of it in their name cannot be joined
ITEM-NAME-BACKLIST:
  - "This item cannot be joined"
  - "Not Join this"

#Below is the price for joining the enchantments. For example, if 2 tools with FORTUNE 1 are added to
#the anvil it will result in a tool with fortune 2, and the price in levels to complete the join will be
# 2 (fortune enchant level) multiplied by the value that is on the list below for fortune
ENCHANTMENT-JOIN-PRICE:
  ARROW_DAMAGE: 2.5
  ARROW_KNOCKBACK: 3.0
  ARROW_FIRE: 3.0
  ARROW_INFINITE: 4.0
  BINDING_CURSE: 3.0
  CHANNELING: 3.0
  DAMAGE_ALL: 2.7
  DAMAGE_ARTHROPODS: 2.0
  DAMAGE_UNDEAD: 2.0
  DEPTH_STRIDER: 3.0
  DIG_SPEED: 2.5
  DURABILITY: 3.5
  FIRE_ASPECT: 3.5
  FROST_WALKER: 3.5
  IMPALING: 3.0
  KNOCKBACK: 4.0
  LOOT_BONUS_BLOCKS: 4.0
  LOOT_BONUS_MOBS: 4.0
  LOYALTY: 4.0
  LUCK: 4.0
  LURE: 4.0
  MENDING: 4.0
  MULTISHOT: 4.0
  OXYGEN: 4.0
  PIERCING: 4.0
  PROTECTION_ENVIRONMENTAL: 4.0
  PROTECTION_EXPLOSIONS: 4.0
  PROTECTION_FALL: 4.0
  PROTECTION_FIRE: 4.0
  PROTECTION_PROJECTILE: 4.0
  QUICK_CHARGE: 4.5
  RIPTIDE: 4.5
  SILK_TOUCH: 4.5
  SOUL_SPEED: 3.5
  SWEEPING_EDGE: 3.5
  THORNS: 3.0
  VANISHING_CURSE: 3.0
  WATER_WORKER: 3.0

PUT-FIRST-ITEM:
MATERIAL: ITEM_FRAME
NAME: '&ePlace a Item'
LORE:
- '&7Place the item to be upgraded'
- '&7in the Left Slot'

PUT-SECOND-ITEM:
MATERIAL: ITEM_FRAME
NAME: '&ePlace a Item'
LORE:
- '&7Place the item to be sacrificed'
- '&7in the Right Slot'
ERROR-ITEM:
MATERIAL: BARRIER
NAME: '&cError'
LORE:
- '&7you cant repair these items'

CLICK-FOR-JOIN-LORE:
- '&a&m-----------------------------'
- '&a# &eClick for Repair'
- '&a# &ePrice: &a%levels% &eXP Levels'
- '&a&m-----------------------------'
ENOUGH-XP-LORE:
- '&7&m-----------------------------'
- '&7# &cYou dont have enough levels'
- '&7# &cPrice: &a%levels% &cXP Levels'
- '&7&m-----------------------------'

Similar projects

Plugin →