A command-line tool to check if a Minecraft username is available, with automatic refresh at customizable intervals.
- Make sure you have Python installed on your system
- Install
uvif you want the fastest setup and launch path
Everything is now defined in pyproject.toml. There is no requirements.txt anymore.
You can run the script in two ways:
- With a username:
execute.bat desired_username
# Example: execute.bat Notch- Without arguments (uses last saved username):
execute.batThe script will:
- Use
uvautomatically when it is installed - Fall back to a local Python virtual environment if
uvis not available - Install the project from
pyproject.toml - Save the username for next use (if provided)
- Start monitoring the username
Run the script with the following arguments:
uv sync
uv run mcus --username "desired_username" --interval 10Arguments:
--username: The Minecraft username to check (required)--interval: Check interval in seconds (optional, default: 10)
If you do not have uv, you can still run the module directly with Python:
python check_minecraft_username.py --username "desired_username" --interval 10- 🔄 Real-time username availability monitoring
- 🔔 Windows notifications via
winotifywhen username becomes available - 📝 Automatic notepad file creation with:
- 👤 Available username
- 🔗 Link to change Minecraft username
- 🕒 Timestamp
- 🤖 Discord webhook integration (optional)
⚠️ Error handling with explicit messages- 📊 Clean console output with timestamps
- 💾 Username persistence in execute.bat
- 🎨 ASCII art banner
When a username becomes available, the tool will trigger multiple notifications:
- Instant toast notification in Windows via
winotify - Shows the available username
- Stays visible for 10 seconds
- Automatically creates a text file on your Desktop
- Filename:
minecraft_username_[USERNAME].txt - Contains:
- The available username
- Direct link to Minecraft's profile page for changing username
- Exact date and time when it became available
- Opens automatically in Notepad
- Sends a rich embed message to your Discord channel
- Includes:
- Username that became available
- Timestamp of availability
- Green color coding for visibility
- To enable, see Discord Integration section below
To enable Discord notifications:
- Create a
.envfile in the same directory - Add your Discord webhook URL:
DISCORD_WEBHOOK_URL=your_webhook_url_here