Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

FortunaISK

A comprehensive lottery system for Alliance Auth that brings excitement and community engagement to your corporation or alliance. Run fair, transparent lotteries with automated management and real-time tracking.

License: MIT Python 3.8+ Django 4.0+


✨ Features

🎲 Easy Lottery Participation

  • Simple ISK Transfer System - Just send money with the lottery reference in the reason
  • Real-time Ticket Tracking - Monitor your purchases and remaining allowances
  • Personal Dashboard - Complete history of tickets, winnings, and payments
  • Automatic Notifications - Get notified instantly when you win

🏆 Flexible Prize Distribution

  • Multi-winner Support - Configure multiple winners per lottery
  • Custom Prize Percentages - Set exact prize distribution for each winner
  • Automated Calculations - System handles all prize calculations automatically
  • Transparent Results - Public winner announcements with full details

⚡ Automated Management

  • Recurring Lotteries - Set up lotteries that run automatically on schedule
  • Smart Payment Processing - Automated validation and anomaly detection
  • Lifecycle Management - Automatic transitions from active to completed
  • 24-hour Reminders - Automated closure notifications

📊 Administrative Excellence

  • Rich Admin Dashboard - Real-time statistics and system monitoring
  • Anomaly Resolution - Advanced tools to handle payment discrepancies
  • Prize Distribution Tracking - Monitor and confirm prize deliveries
  • Comprehensive Audit Trails - Complete logging of all actions
  • CSV Export - Export participant and winner data

🔔 Discord Integration

  • Rich Notifications - Beautiful embeds for all lottery events
  • Winner Announcements - Automatic celebration of lottery results
  • Admin Alerts - Immediate notification of anomalies or issues
  • Customizable Webhooks - Configure notifications for your community

📋 Requirements


🚀 Installation

Step 1 - Install the Package

pip install fortunaisk

Step 2 - Configure Settings

Add the following to your Alliance Auth's local.py:

# Add to INSTALLED_APPS
INSTALLED_APPS += [
    "fortunaisk",
]

Step 3 - Finalize Installation

python manage.py migrate
python manage.py collectstatic

Restart your Alliance Auth instance:

supervisorctl restart all

Step 4 - Setup Permissions

Visit your admin interface and assign permissions to appropriate groups:

Permission Purpose
fortunaisk | Can access FortunaISK Basic lottery participation
fortunaisk | Can admin FortunaISK Full administrative access

Step 5 - Configure Discord (Optional)

Visit /admin/fortunaisk/webhookconfiguration/ to set up Discord notifications.


🎮 How to Use

For Players

  1. 🔍 Find Active Lotteries - Check the lottery page to see what's currently running
  2. 🎫 Buy Tickets - Send ISK to the specified corporation with the lottery reference in the reason
  3. 📊 Track Progress - Monitor your tickets and see real-time lottery statistics
  4. 🏆 Check Results - Winners are announced automatically via Discord and notifications

For Administrators

  1. ➕ Create Lotteries - Set ticket prices, duration, winners, and prize distribution
  2. 🔄 Setup Recurring Lotteries - Configure automated lotteries that repeat on schedule
  3. 📈 Monitor Activity - Watch real-time participant counts and revenue tracking
  4. 🔧 Resolve Issues - Use advanced tools to handle payment anomalies
  5. 💰 Distribute Prizes - Track and confirm prize distributions to winners

📸 Screenshots

🎲 User Experience

FortunaISK in Action Personal Dashboard
FortunaISK Overview User Dashboard
Complete lottery system overview Track tickets, winnings, and payments

Lottery History Lottery History Browse past lotteries with detailed results and statistics

🛠️ Admin Interface

Admin Dashboard Lottery Details
Admin Dashboard Lottery Details
Real-time statistics and monitoring Participant tracking and anomaly resolution

🏆 Results & 🔔 Discord Integration

Winner Announcements Discord Notifications
Winner Results New Lottery Discord
Transparent prize distribution Rich embeds for community engagement
24-Hour Closure Reminders
24h Reminder Discord
Automated reminders to boost participation before lottery closure

🆕 Latest Updates

Version 1.0.0 - Stable Release! 🎉

  • ✅ Multi-winner lottery support with custom prize distribution
  • ✅ Automated recurring lotteries with flexible scheduling
  • ✅ Enhanced admin dashboard with real-time statistics
  • ✅ Advanced anomaly detection and resolution
  • ✅ Comprehensive Discord integration
  • ✅ CSV export functionality
  • ✅ Complete audit trails and security improvements

What's Coming Next

  • 🎁 Physical prize lottery support

🔄 Updating

Step 1 - Update Package

pip install -U fortunaisk

Step 2 - Apply Changes

python manage.py migrate
python manage.py collectstatic
supervisorctl restart all

⚠️ Important for v0.6.6+ users: Discord webhook configuration has changed. Please reconfigure your webhooks at /admin/fortunaisk/webhookconfiguration/ after updating.


🤝 Contributing

We welcome contributions! Whether it's bug fixes, new features, or documentation improvements:

  1. 🍴 Fork the repository
  2. 🌿 Create your feature branch: git checkout -b feature/amazing-feature
  3. 📝 Commit your changes: git commit -m 'Add amazing feature'
  4. 🚀 Push to the branch: git push origin feature/amazing-feature
  5. 📬 Submit a pull request

For major changes, please open an issue first to discuss your ideas.


🆘 Support

  • 📚 Documentation: View the full documentation
  • 🐛 Bug Reports: Report issues
  • 💬 Community: Join the Alliance Auth Discord for support
  • ✉️ Contact: Reach out to the maintainer for direct support

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.


FortunaISK - Bringing fair and exciting lotteries to your Alliance Auth community! 🎲✨

Made with ❤️ for the EVE Online community

Metadata

Release files for fortunaisk 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fortunaisk 1.1.0
File Size Uploaded Provenance Actions
fortunaisk-1.1.0.tar.gz 66.1 kB Without provenance Details for fortunaisk-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for fortunaisk 1.1.0
File Interpreter ABI Platform Actions
fortunaisk-1.1.0-py3-none-any.whl Python 3 none any Details for fortunaisk-1.1.0-py3-none-any.whl

Total release size: 159.6 kB

Release files / fortunaisk-1.1.0.tar.gz

Download URL fortunaisk-1.1.0.tar.gz
Size 66.1 kB
Tags Source
SHA-256 checksum
How to use checksums
f6f27b1a9f1b371ba1d3fb833bf60328c5b37bfdfdcbe8ac37d73340c8346d64
BLAKE2b-256 checksum
How to use checksums
41e6326d09653f8e866cf237a96f863e4f8ab022263307a4344d07618374c225
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / fortunaisk-1.1.0-py3-none-any.whl

Download URL fortunaisk-1.1.0-py3-none-any.whl
Size 93.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b34ab9156542d3900d338cb271bcdd9a853c8c96c71fc6ec1245d9c2cab5e77
BLAKE2b-256 checksum
How to use checksums
9cf8ee8acec241b8e663f7376c3d098e12da915885e17627680b62156be3441d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for fortunaisk 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page