The solution can't be programmed into the game, there can only be slightly preventative methods that will work for a few days.
The only way to fight piracy is to make purchasing the game itself worth it. By that I don't mean in-game addons, I mean giving the consumer a good reason to buy the game. Give them an art book, a small collectible or something like that; something that can't be pirated. It doesn't stop there, as long as you give people more of an incentive that isn't digital and can't be pirated it will work to a better extent that DRM.
The only way to fight piracy is to make purchasing the game itself worth it. By that I don't mean in-game addons, I mean giving the consumer a good reason to buy the game. Give them an art book, a small collectible or something like that; something that can't be pirated. It doesn't stop there, as long as you give people more of an incentive that isn't digital and can't be pirated it will work to a better extent that DRM.