FILLED! Thanks a lot to @Mathias Eklund for helping me on this plugin request, the plugin and all its features asked in this thread has been made by him, and the final result has been fully tested and everything works fine PLUGIN DOWNLOAD: here! (AntiVillagerExp) Plugin category: Mechanics Minecraft version: 1.8.8 Suggested name: AntiVillagerExp What I want: I'd like a plugin that prevents villagers from droping exp when they finish a trade with a player. Unfortunately there isn't a specific event for when the villager drops the exp after a trade, but there are certain properties that makes this a possible thing to do. There is an attribute for InventoryType which can describe the inventory as being of type "MERCHANT", and there is an NBT tag for villagers called "rewardExp" that determines whether they will drop exp or not after a trade. So knowing that, maybe the best way to make this would be by changing the villagers's NBT tag that are near the player when the player triggers an InventoryOpenEvent as for when its "MERCHANT" type.
No problems Made the plugin for you: <Edit by Moderator: Redacted mediafire url> Just put it in your server and it should block it automatically.
Amazing dude! It has been tested and it works perfectly good Thank you a lot! You saved me a lot of time <3 @Mathias Eklund
@Mathias Eklund Please use dropbox, spigot, google drive or dev.bukkit. Bot doesn't really like mediafire.
@timtower Oh, alright. Usually use dropbox, but I couldn't remember my password so just used mediafire. Been a while since I used dropbox hehe EDIT: WIll use Spigot in the future, wasn't clear on if it was allowed or not. EDIT#2: For anyone who wants the plugin: https://www.spigotmc.org/resources/antivillagerexp.86252/