This script automates the process of checking the availability of a Minecraft username and claiming it when usernames are freed (on the day when unmigrated accounts are deleted).
- Check if a Minecraft username is available.
- Authenticate using Microsoft credentials.
- Claim the username if it's available.
- Send notifications via Discord webhook on key events (successful authentication, rate limit, errors etc.).
- Configurable delay and message grouping for notifications.
- Python 3.7 or higher ( https://apps.microsoft.com/detail/9nj46sx7x90p?hl=en-us&gl=AU&ocid=pdpshare or https://www.python.org/downloads/ )
requests
library (can be installed usinginstall.bat
)
- Clone or download this repository to your local machine.
- Ensure you have Python 3.7 or higher installed.
- Install the required libraries using
install.bat
- Configure your settings in the
config.json
file (details below).
Create or update the config.json
file with the following content:
{
"webhook_url": "YOUR_DISCORD_WEBHOOK_URL",
"user_id": "YOUR_DISCORD_USER_ID",
"username": "desired_minecraft_username",
"email": "your_microsoft_email",
"password": "your_microsoft_password",
"delay": 5,
"message_group_size": 3
}