What is the legality surrounding the use and disclosure of Minecraft Plugins on a public server?

So I was wondering if I have to legally disclose all the plugins I use on my public Minecraft server or if I'm allowed to hide/restrict the /plugins command?

If I was to profits from the server via the selling of cosmetics, would I then have to credit or refund the plugins that are being used at an expense, or would I be immune?

Should I just create all of the server plugins myself and not bother with any pre-made ones?

DRUGS COME WITH THE FAME I DON'T WANT NEITHER