Unless massive api changes are introduced, the plugin should work on every version 1.16+
You can cure a zombified piglin by using a splash potion of weakness and a golden apple. The process produces the same sound effects and particles as when attempting to cure a zombie villager.
The cure time can be adjusted in the configuration.
After being cured, the piglin will become friendly towards you and will no longer attack. You can configure the settings to make them friendly with all players.
Additionally, you have the option to specify whether cured piglins will turn into zombified piglins upon entering the overworld.
Another configurable option determines if piglins become aggressive after being hit, and calm down after some time with when there are no targets around. The default setting ensures that cured piglins won't fight back if attacked.
Version 2.0 introduces several new features, such as the ability for cured piglins to follow the curer, be fed, display stats, manage inventory, and more. Read the update notes or configuration notes for more details.
Version 3.0 introduces a few new config settings, and professions for cured piglins with a ton of configurations, like changing the loot table, pickup material table, and more. Check the change log and the permission.yml file.
To use the skins feature for independent professions, you'll need to install Lib's Disguises: https://www.spigotmc.org/resources/libs-disguises-free.81/
Command:
/bcp - Reloads the config - Permission: curepiglins.reload
Upon reloading the config, changes will take effect immediately, excluding the time for zombies in the process of being cured. No restarts are necessary.
Cured piglins will be saved upon chunk unload, reload, or server restart. They will retain their names (if given), age, held item, armor, and extra inventory (if activated), and all extra data. They will never forget the player who cured them.
Config: Link
professions.yml: Link

This plugin uses bStats, if you wish to disable bStats go to /plugins/bStats/config.yml and set enabled to false
If you encounter any bugs or have suggestions you want implemented, contact me on Discord: balustrada
I only log into my Spigot account once every couple of months, so you'll receive a much faster response there.