Opens a GUI to list all available enchantments for the item you're holding.
Addons:
TEMenu:
gui_title: "Enchatnments"
message_prefix: "[TEMenu]"
no_revious_age: "&cThere are no previous pages."
no_next_page: "&cThere are no additional pages."
previous_page: "&aPrevious Page"
next_page: "&aNext Page"
current_page: "&c&lPage %currentPage% of %maxPages%"
help_messages:
emenu:
msg: "/te emenu : opens a gui listing all available enchantment for the item you're holding."
permission: "tokenenchant.temenu.use"
event_map:
PlayerInteractEvent: "LOW"
# default material is enchanted books but you can use other materials
# if player_head or skull (inolder version) is used, you can specify the texture.
enchant_item:
material: ENCHANTED_BOOK
# material: PLAYER_HEAD
# texture: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWZkZTNiZmNlMmQ4Y2I3MjRkZTg1NTZlNWVjMjFiN2YxNWY1ODQ2ODRhYjc4NTIxNGFkZDE2NGJlNzYyNGIifX19"
#if this option is true, you can open the GUI with right click.
use_right_click: false
use_shift_click: true
trigger_materials: # if "*" is used any right click will trigger GUI opening.
- "_PICKAXE"
- "_AXE"
- "_SWORD"
- "_HOE"
- "_SHOVEL"
- "FISHING_ROD"
- "BOW"
- "CROSSBOW"
- "_HELMET"
- "_CHESTPLATE"
- "_LEGGINGS"
- "_BOOTS"
not_available: "&cNot Available"
lore:
- "&b%description%"
- "&a%current%/%max% (Current/Max)"
- "&6Left Click: &a+%left_level%, &6Cost: &a%left_cost%"
- "&6Right Click: &a+%right_level%, &6Cost: &a%right_cost%"
- "&6Middle Click: &a+%middle_level%, &6Cost: &a%middle_cost%"
enchants:
# if "default" entry is commented out, only listed enchantments will appear in the GUI.
# positive number -> enchantment level being applied
# * -> enchant as much as a player's token balance allows.
# 0 -> no action with that click.
default:
left: 1 # default enchatment increment with left click
right: 10 # default enchatment increment with right click
middle: "*" # enchant as much as a player's token balance can.
Laser:
left: 1
right: 5
middle: 0
enchant_item:
glow: false # true by default
material: DIAMOND_PICKAXE
#material: PLAYER_HEAD
#texture: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNWZkZTNiZmNlMmQ4Y2I3MjRkZTg1NTZlNWVjMjFiN2YxNWY1ODQ2ODRhYjc4NTIxNGFkZDE2NGJlNzYyNGIifX19"
Efficiency:
left: 1
right: 20