Capital ship movement early warning plugin for AllianceAuth
Project description
aa-captrack
AllianceAuth plugin for tracking and alerting on capital ship activity within your corporation or alliance.
Version: v1.0.0
Status: Stable Baseline
Overview
aa-captrack is an AllianceAuth plugin designed to monitor capital ship activity across characters and accounts, providing:
- Real-time dashboard visibility
- Threshold-based alerting
- Discord notifications
- Per-pilot snoozing
- Clear separation between tracked, alerting, and informational states
The plugin prioritises operational clarity and avoids unnecessary alert noise.
Capital Tracking Logic
| Ship Class | Behavior |
|---|---|
| Titans | Always alerting |
| Supercarriers | Always alerting |
| Dreadnoughts | Alert when ≥ threshold (default: 5) under same main |
| Lancer Dreads | Alert when ≥ threshold |
| Carriers | Alert when ≥ threshold |
| Force Auxiliaries | Alert when ≥ threshold |
| Capital Industrials | Tracked only (no alerts) |
Threshold logic is applied consistently across:
- Dashboard
- Discord alerts
- Background tasks
Dashboard
- Collapsible cards with rotating chevrons
- Clear separation of:
- Critical
- Alerting
- Informational
- Optional display of unclassified ships
- Configurable refresh interval
- Optional remembered collapse state per user
Discord Integration
-
Discord alerts include only alerting ships
-
Separate webhooks for:
- Critical alerts
- Standard alerts
-
Configurable ping behavior (roles / policy)
-
Optional inclusion of:
- System
- Region
- Dashboard link
Snoozing
-
Snoozing is per pilot (by design)
-
Supports multiple durations (e.g. 1h / 6h / 24h)
-
Snoozed pilots are excluded from:
- Dashboard alerts
- Discord notifications
Permissions
| Permission | Description |
|---|---|
captrack.basic_access |
View dashboard |
captrack.admin_access |
Configure settings |
Installation
- Install the plugin:
pip install aa-captrack
-
Add to
INSTALLED_APPS: -
INSTALLED_APPS += ["captrack"]
-
Run migrations:
python manage.py migrate captrack
-
Collect static files:
-
Restart AllianceAuth services.
Configuration
Configuration is managed via the AllianceAuth Admin Panel:
Admin → Captrack → CapTrack Settings
Only one settings row is expected.
Configurable Options Include
- Enabled / disabled state
- Tracked group IDs
- Industrial group IDs
- Alert thresholds per ship class
- Discord webhook URLs
- Discord ping policy
- Dashboard behavior options
- Snooze durations
- Display preferences
Data Model Notes
-
Capital activity is grouped by main character
-
Industrials are tracked but do not generate alerts
-
Alert logic is centralized in:
services.pyviews.pytasks.py
Compatibility
-
AllianceAuth: 4.x
-
Django: 4.2
-
Database:
- MySQL / MariaDB (recommended)
- SQLite (development only)
Versioning Policy
- v1.0.0: Stable baseline
- Future versions will:
- Avoid destructive migrations
- Prefer additive schema changes
- Be tested against existing installs
Screenshots
Screenshots are placeholders and may change as the UI evolves.
Dashboard — Overview
Displays all tracked capital activity grouped by main character, with clear visual separation between critical, alerting, and informational states.
Dashboard — Collapsed / Expanded States
Cards can be collapsed to reduce noise. Collapse state can optionally be remembered per user.
Dashboard — Snoozed Pilots
Pilots can be snoozed individually to suppress alerts and notifications for a configurable duration.
Admin — CapTrack Settings
All configuration is managed through a single settings entry in the AllianceAuth admin panel.
Discord — Critical Alert Example
Critical alerts (Titans, Supercarriers) are always sent immediately.
License
MIT License
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_captrack-1.0.1.tar.gz.
File metadata
- Download URL: aa_captrack-1.0.1.tar.gz
- Upload date:
- Size: 777.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a105a1a5e0e159d0c513c3ca518cacbcbef826c196a10f377996396c27582ec8
|
|
| MD5 |
a78217c3a73303cb581e76aaeba3f191
|
|
| BLAKE2b-256 |
8925238394604b7208933fb500cba0836df5c4c3fae7bb43719a8e2a025dcffa
|
File details
Details for the file aa_captrack-1.0.1-py3-none-any.whl.
File metadata
- Download URL: aa_captrack-1.0.1-py3-none-any.whl
- Upload date:
- Size: 33.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd8f6c32f1ed71649bfe8c62e3557022b269bc1fb472e67fc34b1faa7bb1a998
|
|
| MD5 |
6c5b91b94f5f801d10a2589755e83c3c
|
|
| BLAKE2b-256 |
17ab66de33eec90891f17f74f62ebee9a5fec8d251a4f984763db071cf04c309
|