> I’m guessing nobody here has ever actually tried to make games, let alone multiplayer ones.
One possibility is to charge for online play on the "official" server. This can be done regardless of the availability of source code.
Another possibility is to release the source code when the game reaches its end of life.
> Another possibility is to release the source code when the game reaches its end of life.
You might not have permission to, if it uses a lot of third party libraries.