Yes and No, If its the Cracked Version of Minecraft, You can only play on cracked servers or your friend's server if they figure out how to crack it. So yes you can play with players online if its a cracked server. If its a premium server, You cant play on those servers.