Create small adventurers. Create small bands of adventurers. Teach your small adventurers.
Send a POST to the Mojang authentication servers with a payload of json, where the keys username and password must be supplied and a username is the email of a mojang account.
curl -H "Content-Type: application/json" -X POST \
--data '{"agent":{"name":"Minecraft","version":1},"username":"...","password":"..."}' \
https://authserver.mojang.com/authenticate