Skip to main content

fortunaisk Plugin for Alliance Auth

This project has been archived.

The maintainers of this project have marked this project as archived. No new releases are expected.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fortunaisk-1.0.1.tar.gz (65.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fortunaisk-1.0.1-py3-none-any.whl (92.2 kB view details)

Uploaded Python 3

File details

Details for the file fortunaisk-1.0.1.tar.gz.

File metadata

  • Download URL: fortunaisk-1.0.1.tar.gz
  • Upload date:
  • Size: 65.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for fortunaisk-1.0.1.tar.gz
Algorithm Hash digest
SHA256 49944ad9d8f8f74b1c2ba628744f44e5497105b2e6e14949995ebc051f1f21c8
MD5 20d4e7afc18f4f179c628d5b6bae31ed
BLAKE2b-256 0ef77a78890958d5e84baa8c1e4fddae4a0d45e4ac7e112a0421c7b38f799baf

See more details on using hashes here.

File details

Details for the file fortunaisk-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: fortunaisk-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 92.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for fortunaisk-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b9a5aa89a62fbe6c170bb0c6d2f60baf1ef22de103a81e372a794e08eac358eb
MD5 2bbbcadb978c4ef0e1a5758360820742
BLAKE2b-256 71a5aad04e29ad294d2ea68fa75cab5a29d979caf23eb9b2a3fad8dcd6ccba1f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page