TLoot is a particularly good plugin to customize the loot of mobs, blocks, advancements, piglins, villagers and much more.
With loottables you can easily set what should be dropped where and when - also under which conditions.
It is therefore also possible to add conditions, such as that the player already has a certain advancement.
In addition, of course, the number of dropped items and their NBT data can also be changed. This can all be done in the loottables. If you don't know how to generate a loottable, example files are included in the plugin folder. For this, start the server once with TLoot installed, and the example files will be automatically generated in plugins/tloot/loottables/examples/vanilla.
Commands are not actually needed, but there are the following:
Prefix: /tloot, /tl
- /tl help -> Displays a help menu
- /tl list -> Redisplays the already loaded loottables
- /tl reload -> Reloads all loottables
If you want to create a loottable, copy an example file to plugins/tloo/loottables/ folder
With the name of the loot table, such as acacia_button.yml and then edit it, or use this website
https://misode.github.io/loot-table/, but this requires a bit more knowledge about loottables
If you need help creating a loottable please ask me here.