Firstly, I would like to ask if you have done any research into Starmade and its mechanics.
Secondly, in single player, you are admin. That means you can use admin commands such as /destroy_entity This command destroys the selected entity. This will help you build a decent ship.
Thirdly, shields are very necessary for ship survival. Pirate shields are not as over-powered as you think. They only have 4-5 blocks worth. That is not much, not at all. Try adding shields to your ship for a greater chance of survival. Once you build a decent ship, pirates will be laughably weak. Heck, you can take out 2-3 with a small fighter if its built right.
Next time you rage at a game you don\'t understand, try to find solutions in forums.