The second variable will either be the specified enchantment's level or whether treasure enchantments should be included in finding random enchantments based on whether its a specified enchantment or random
The last int is the amount of books (random books will not randomize enchantments on this amount)
Player must be an online player or @p for the current player
Added the /esanvil command
Opens the custom anvil GUI
Added the /esgrindstone command
Opens the custom grindstone GUI
Permissions:
enchantmentsolution.command.enchant.others
Allows you to use /enchant on others' items
enchantmentsolution.command.enchantunsafe.others
Allows you to use /enchantunsafe on others' items
enchantmentsolution.command.enchantremove.others
Allows you to use /removeenchant on others' items
enchantmentsolution.command.book
Allows you to use /esbook
enchantmentsolution.command.book.others
Allows you to use /esbook to give other players books
enchantmentsolution.command.anvil
Allows you to use /esanvil
enchantmentsolution.command.grindstone
Allows you to use /esgrindstone
Configuration:
Added the enchanting_table.reset_on_reload value
Setting this to false will allow enchantments to stay persistent in the enchanting table on /esreload and server reloads
Changes:
Commands:
/enchant, /removeenchant, and /enchantunsafe now has two extra optional variables
<player> - the player. Player must be an online player or @p for the current player
<int> - the slot to enchant. Defaults to the main hand of the targeted player
/esreset will now clear the enchanting table enchantments
Language:
Language files have been updated for the new features
Startup:
Compatibilities and SaveUtils data will load after the server has started completely
Advancements:
Changed No Panic advancement completing even if Telepathy event is cancelled
Fixes:
Fix for bug where Jobs wasn't working with ES enchantments (See Changes/Startup)
Fix for bug where Fortune was giving players wheat seeds for all crops
Fix for Grass Path not being broken with Height++/Width++