Minecraft version: Spigot 1.16.2 (Paper) Suggested name: I dont know, can be anything What I want: I would like to have a plugin, which checks and remove the offers including any kind of iron or diamond armor from villagers with the armorer profession. This should only affect the vanilla villagers and not any custom shops, which were setup with plugins like shopkeepers, for example. (My main goal is to replace the vanilla armor entirely, so I can add my custom armor with custom stats over those. This should be a workaround since I cant figure it out by myself otherwise. If you have any other idea, than let me know.) Ideas for commands: No commands needed for this plugin. Ideas for permissions: No permissions needed for this plugin I would really appreciate, if someone could help me out asap <3
Sounds like you are a developer yourself from what I can gather. https://hub.spigotmc.org/javadocs/spigot/org/bukkit/inventory/Merchant.html check that class out if you want to change a merchants available trade. Should be able to just remove the recipes you don't want.
@Dropix Oh, my bad then. When you were talking about replacing the vanilla armours with your own I thought you were talking about making a plugin for that.
@Dropix Done, added below. Let me know if there is any issues. You mentioned you only wanted this to apply to vanilla villagers. Its hard to distinguish between how a villager was spawned unless I know how your other plugins are spawning them. So as it stands right now, villagers WITHOUT any sort of custom name will have the no armour effect applied to them.