Currently there is absolutely no way in game to bring the wrath of justice down upon the heads of those who violate the Pirate Code as posted in all the Taverns. As such "The Code" is a joke.
I was treated so badly as a new player that I now mute all other crews and I RUN from other players when ever possible. In two months of play I have had exactly two positive encounters with other crews. The only other alternative is to become a hate filled revenge monger. This is a sad state of affairs. I would leave the game if I could get a refund. I can't so I must do battle with this issue.
Enforcement. Even in the "Pirates of The Caribbean" films the Pirate Code as Set down by Capts Morgan and Bartholomew, FYI both very real pirates, had an ENFORCER.
Sea of Thieves is in desperate need of Captain Teague.
There are automatic logs that such a feature could access. Summoning Captain Teague would include the great keeper of The Code asking you pointed questions to make sure you have not summoned him wrongly. The most recent players you encounter are listed in the XBOX app that can be called up and run in the background on PCs at least. In any event if you summon Capt. Teague immediately upon being abused, your abusers can be found, and a little reading for times you encountered them will reveal them nicely. There you have the gamer tags of those who abused you.
Capt Teague, upon verifying that you are not just a whiner who lost a fight could then be unleashed upon the gamers who have offended the Pirate Code.
This unleashing would take the form of an indestrucable Capt Teague appearing on the ship where the offenders currently are, on any instance of any server, he would then perform his function as in the film clip above. In addition, just to drive the point home, Capt Teague would burn the offending ship down to the waterline and sink it. Respawning would only result in instant death to that dreaded pistol.
An addition to the game would be welcome. Thieves Haven being an actual HAVEN! Therein one might even meet dear Capt Teague and whish him well. What could it hurt to have Thieves Haven live up to it's name?
We need Capt Teague in The Sea of Thieves, or take down that silly code in the Taverns. As is that code is an insult to all new players.