Added api for getting the server console's command sender