Do I need to buy minecraft to join the server?

I play minecraft using the free TLauncher option, and on the Ardacraft Launcher it seems you have to use a mojang or microsoft account. I dont have mojang, and the microsoft one gives me a “cannot read property ‘access token’ of undefined” Error. So the title is my question.

Yeah you’ll need a legit Java edition in order to play.
Microsoft or Mojang account doesn’t matter, both will work.