Fleet loot valuation and payout system for Alliance Auth
Project description
AA Payout - Fleet Loot Management System
An Alliance Auth plugin that allows fleet commanders to value loot from PvP engagements and automatically distribute ISK payouts to participating pilots.
Features
- Fleet Management: Create and track fleet operations with participant rosters
- Loot Valuation: Automatically value loot using EVE market data (ESI/Fuzzwork)
- Flexible Payout Rules: Configure payout distribution based on roles, time, and custom rules
- Payment Tracking: Track payment status and maintain audit trails
- Comprehensive Reporting: View payout history, fleet profitability, and export data
Installation
Step 1: Install the Package
Install the package into your Alliance Auth virtual environment:
pip install aa-payout
Or install directly from the repository:
pip install git+https://github.com/guarzo/aa-payout.git
Step 2: Configure Alliance Auth
Add aapayout to your INSTALLED_APPS in your Alliance Auth settings file (usually myauth/settings/local.py):
INSTALLED_APPS += [
'aapayout',
]
Step 3: Run Migrations
Run Django migrations to create the database tables:
python manage.py migrate
Step 4: Collect Static Files
Collect static files:
python manage.py collectstatic
Step 5: Restart Services
Restart your Alliance Auth services:
supervisorctl restart myauth:
Permissions
The following permissions are available:
| Permission | Description |
|---|---|
aapayout.basic_access |
Can access the payout system |
aapayout.create_fleet |
Can create fleets |
aapayout.manage_own_fleets |
Can manage own fleets as FC |
aapayout.manage_all_fleets |
Can manage all fleets |
aapayout.approve_payouts |
Can approve payouts |
aapayout.view_all_payouts |
Can view all payout history |
aapayout.manage_payout_rules |
Can manage payout rules |
Basic Usage
Creating a Fleet
- Navigate to Fleet Payouts in the Alliance Auth sidebar
- Click Create Fleet
- Fill in fleet details (name, doctrine, location, etc.)
- Add participants manually or import from ESI
Adding Loot
- Open your fleet
- Click Add Loot Pool
- Paste loot from cargo/contract or enter items manually
- Click Value Loot to fetch market prices
Calculating Payouts
- Review the valued loot
- Select a payout rule (equal split, role-based, etc.)
- Preview the payout distribution
- Approve and finalize payouts
Processing Payments
- View pending payouts
- Make payments via in-game contracts/trades
- Mark payments as complete in the system
- Pilots can view their payment status
Configuration
You can customize the plugin behavior in your local.py:
# Default pricing source (jita_buy, jita_sell, regional)
AAPAYOUT_DEFAULT_PRICING_SOURCE = "jita_sell"
# Minimum payout amount in ISK
AAPAYOUT_MINIMUM_PAYOUT = 1000000 # 1M ISK
# Automatically value loot on submission
AAPAYOUT_AUTO_VALUE_ON_SUBMIT = True
# Require approval before payouts can be processed
AAPAYOUT_REQUIRE_APPROVAL = True
# Discord webhook for notifications (optional)
AAPAYOUT_NOTIFICATION_WEBHOOK = ""
# Market region ID for pricing (10000002 = The Forge/Jita)
AAPAYOUT_MARKET_REGION_ID = 10000002
Development Status
This plugin is currently in active development. See the IMPLEMENTATION_PLAN.md for detailed development roadmap.
Current status: Phase 1 - Core Framework
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Support
For bugs, feature requests, or questions, please open an issue on GitHub.
License
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.
Acknowledgments
- Built for Alliance Auth
- Based on the AA Example Plugin
- EVE Online and all associated content is property of CCP Games
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aa_payout-0.1.0.tar.gz.
File metadata
- Download URL: aa_payout-0.1.0.tar.gz
- Upload date:
- Size: 77.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdf8974e67f84ca4beec5bd0c437b1cdd858c9d77e164320dff061799aac3f4d
|
|
| MD5 |
ebe75d8c2bc563afe839be258bd75219
|
|
| BLAKE2b-256 |
bce285d0dbbc6c87dc78d15048e17809a761017652b9010b2140364f94afe13f
|
Provenance
The following attestation bundles were made for aa_payout-0.1.0.tar.gz:
Publisher:
release.yml on guarzo/aa-payout
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aa_payout-0.1.0.tar.gz -
Subject digest:
cdf8974e67f84ca4beec5bd0c437b1cdd858c9d77e164320dff061799aac3f4d - Sigstore transparency entry: 648711871
- Sigstore integration time:
-
Permalink:
guarzo/aa-payout@2337843ce93cb08df309e18576cf3ad23a426462 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/guarzo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2337843ce93cb08df309e18576cf3ad23a426462 -
Trigger Event:
release
-
Statement type:
File details
Details for the file aa_payout-0.1.0-py3-none-any.whl.
File metadata
- Download URL: aa_payout-0.1.0-py3-none-any.whl
- Upload date:
- Size: 112.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
adb4ea26785a68ec9a668a0abe7d1b9a16fb54e3abdd59f203ca950f9d67c4f1
|
|
| MD5 |
62ce50337e7b5f972deafbab19403f0b
|
|
| BLAKE2b-256 |
813912e9a502d8144e754285b742f6c60f5b689c17cb2f371cca72ca12f76175
|
Provenance
The following attestation bundles were made for aa_payout-0.1.0-py3-none-any.whl:
Publisher:
release.yml on guarzo/aa-payout
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aa_payout-0.1.0-py3-none-any.whl -
Subject digest:
adb4ea26785a68ec9a668a0abe7d1b9a16fb54e3abdd59f203ca950f9d67c4f1 - Sigstore transparency entry: 648711889
- Sigstore integration time:
-
Permalink:
guarzo/aa-payout@2337843ce93cb08df309e18576cf3ad23a426462 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/guarzo
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@2337843ce93cb08df309e18576cf3ad23a426462 -
Trigger Event:
release
-
Statement type: