This plugin provides a utility function for EnchantmentBook. Its "get" command will allow a player to get/purchase an unopened EnchantmentBook using his/her EXPs.
When "get" command is executed, randomly crafted unopened EnchantmentBook will be issued. The player then can click it (right-click) to discover the actual EnchantmentBook. The level of enchantment, Success rate, Destroy rate is randomly computed to generate the EnchantmentBook.
As a server owner, you can predefine a pool of possible books with a predefined range of enchantment levels, success rates and destroy rates.
You can let your player to use
/ebtool get
command or map that command with predefined enchantment book type (such as Common, Rare, Legendary) to a GUI plugin of your choice.
Video:
Commands:
/ebtool help : displays the help menu
/ebtool reload : reloads config file.
/ebtool get [amount] : give an EnchantmentBook item, which is randomly selected and crafted from a list of enchantments list under
/ebtool issue [random|book_name] [amount]: issues an EBook to without EXP cost." If you specify the book name, make sure to replace a space (' ') with an underscore ('_').
Permissions:
enchantmentbooktool.reload : allows you to use /ebtool reload command
enchantmentbooktool.get : allows you to use /ebtool get command
Installation: First, you need to install EnchantmentBook.jar into the plugins folder. Once you've installed EB, you can put EnchantmentBookTool.jar in the plugins folder.
Configuration: You can have full customisation in what sort of EnchantmentBooks are randomly generated and what sort of groups you wish to have (such as Common, Rare, Legendary, etc.)
Messages: ErrorMsg : "&c[EBTool] : Some error occured." NoSuchBookType : "&c[EBTool] : No such book type (%type%) is available." NotEnoughExp : "&c[EBTool] : You need at least %exp% to get this type of a\ enchantment book." UsedExp : "&a[EBTool] : You've used &e%exp% &aexp to get a book of &e%type\ %&a. You now have %left% exp left." PlayerOffline : "&c[EBTool] : Player (&e%player%&c) is offline." NoPermission : "&c[EBTool] : You don't have a permission to use this book (&e%type%&c)." BookGiven: "&a[EBTool] : You've given a book of &e%type%&a." BookOpened: "&a[EBTool] : You've opened a book of &e%type%&a, and got &e%booktitle%." HelpMessages: banner: msg: "=== &e[&aEnchantmentBookTool Commands List (%version%)&e] &r===" help: msg: "&a/ebtool help : displays this help menu." reload: msg: "&a/ebtool reload : reloads config file." permission: "enchantmentbooktool.reload" debug: msg: "&a/ebtool debug : turn on / off the debug mode." permission: "enchantmentbooktool.debug" get: msg: "&a/ebtool get : give an EBook randomly configured and \ selected from a list of enchantments list under ." permission: "enchantmentbooktool.get" issue: msg: "&a/ebtool issue [random|book_name]: issue an EBook to without EXP cost." permission: "enchantmentbooktool.admin"
# whether players need to use exp to get book or not. UseEXP: true
# UnOpenedBook's name MUST start with %type% # UnOpenedBook's lore MUST have at least one line without %type% UnOpenedBook: title: "%type% Enchantmetn Book &r(Right Click)" lore: - "&7Examine to receive a random" - "%type% &7enchantment book."
FireWorkEffect: Color: - GREEN - RED Type: STAR Power: 0