Distributing implementations of closed protocols is speech. I don't see why such restrictions would be desirable. If you don't want to play games that use closed protocols, you're under no obligation to do so.
Just add a requirement to declare for how long the online part of the game will continue to work. With the loophole of it being "infinite" if you allow community servers.
It's not even an option in most of the developed world, it's equivalent to property expropriation.