A simple function that pings a Minecraft server and returns some information.