Request Plugin log party information/items

Hello, i know this isn’t something i shouldn’t be doing, i should do it by myself but i lack the knowledge on python, but i really like the idea of having a plugin wich log into a txt what items has been picke up on a party, for example when you pick up an item it shows up in the system window, i would like to log that into a txt is that possible?

If you can’t help me i would be very thankfull if you point me in the right direction to create this.

the main reason for me to ask this plugin is that the server im playing, the only way to get rare items is by grinding and i would like to know if a rare item has been dropped, since the rare item count only works if the rare item has found its way to your bots inventory this would be a really nice way to find out if a rare item has been dropped by name in the bot time.