Conribution plugin: required metadata and disable the Keep Identity Private (anonymous)

Hi. I would like the contribution plugin to have the ability to allow admins to choose the required metadata on the contribution for, así como la ability to disable the “Keep Identity Private (anonymous)” option.
I hope you can share some way to do it. Thanks.