Plugin category: Mechanical Minecraft version: 1.12.2 Suggested name: RepairCostRefund What I want: I would like a plugin that would get the repair cost of item1 and item2 in an anvil. When a repair combine is executed it would then refund the cost of anvil repair or experiences used for the repair. How it would work? Example: Player puts Enchanted Wooden Sword with RepairCost of 1 and Enchanted Book with RepairCost of 3. The player would be refunded 4 exp levels or 4 level of total experiences used. Another example: Player puts Enchanted Book with RepairCost of 3 and Enchanted Book with RepairCost of 3. The player would be refunded 6 exp levels or 6 level of total experiences used. How the Anvil mechanics is explained here: https://minecraft.gamepedia.com/Anvil/Mechanics Experience is explained here: https://minecraft.gamepedia.com/Experience config.yml refundExp: true/false errorMSG: "&c{exp} experiences used are refunded." Note: Player with higher level of experience levels would be refunded with more experiences, hence it takes more experiences to level later on. Commands: No commands Permissions: No permissions Thank you for reading.
Just asking for clarification: you basically want it so, instead of paying experience levels for combining items in an anvil, you get levels?
@Mewtwoshard I need a method to refund the experiences used for combing items in anvil. Actually, this is part two of this request. https://bukkit.org/threads/anvilcombinecheck.485608/ This is what I need to complete this other request. There is the bug issue with enchantment exp used up when InventoryClickEvent is executed when the group aren't compatible. Refunding this exp used up would be needed to fix this.