Automated LabyMod advent calendar tracker with Discord notifications. Never miss a daily reward again!
- 🔄 Real-time Tracking: Automatically monitors LabyMod's advent calendar
- 🎯 Instant Notifications: Sends alerts to Discord when new rewards are available
- 🔒 Secure: Environment-based credential management
- 📊 Detailed Logging: Comprehensive activity tracking
- ⚡ Lightweight: Minimal resource usage
- 🛠 Configurable: Easy to customize check intervals and notifications
- Python 3.7+
- Discord server with webhook permissions
- LabyMod account
- Internet connection
# Clone the repository
git clone https://github.com/9de/labymod-advent-AutoClaimer.git
cd labymod-advent-tracker
# Install dependencies
pip install -r requirements.txt
Create a .env
file:
# Required credentials
DISCORD_WEBHOOK_URL="your-webhook-url"
LABY_SESSION_ID="your-session-id"
LABY_LIVE_TOKEN="your-live-token"
python index.py
- Open Discord Server Settings
- Navigate to
Integrations
→Webhooks
- Click
New Webhook
- Name your webhook and choose a channel
- Copy the webhook URL
- Log into LabyMod
- Access Developer Tools (F12)
- Navigate to Application → Cookies
- Find and copy:
LABY_SESSION_ID
lm_long_live_token
check_interval = 3600 # Default: 1 hour
The tracker automatically:
- Monitors the advent calendar based on current date
- Validates available rewards
- Sends immediate notifications
- Retries on failures
2024-12-16 10:00:00 - INFO - Starting Advent Calendar Checker
2024-12-16 10:00:01 - INFO - Successfully checked day 16
Logs are stored in advent_calendar.log
with:
- Timestamp
- Log level
- Detailed event description
- Automatic retry on network failures
- Graceful handling of API errors
- Configuration validation
- Detailed error reporting
-
Credential Management
- Never commit
.env
file - Rotate credentials regularly
- Use environment-specific configurations
- Never commit
-
Access Control
- Limit webhook permissions
- Monitor access logs
- Regular security audits
checker = AdventCalendarChecker()
checker.run(check_interval=1800) # Check every 30 minutes
logging.basicConfig(
level=logging.DEBUG, # More detailed logging
format='%(asctime)s - %(levelname)s - %(message)s'
)
- Fork the repository
- Create a feature branch
git checkout -b feature/amazing-feature
- Commit changes
git commit -m 'Add amazing feature'
- Push to branch
git push origin feature/amazing-feature
- Open a Pull Request
This project is licensed under the MIT License - see LICENSE for details.
- LabyMod team for the advent calendar
- Discord for webhook functionality
- Open source community for inspiration
- 📧 Create an issue for bug reports
- 💡 Feature requests are welcome
- 📚 Wiki for additional documentation
- GUI Interface
- Multiple calendar support
- Custom notification templates
- Statistics dashboard
- Mobile notifications
Made with ❤️ by the community