You seemed to be very well aware of what you were doing, and even your character had the name “god guy”. You should also always read the rules before playing on a server to make sure that you don’t violate any rules, even if the one that you broke is a fairly obvious one.
And you should rather use a legitimate version of Terraria instead of a pirated one, if you simply are unable to get a legitimate copy of the game, you should avoid versions that come with such modifications.