API for web connections via Minecraft plugin