Skip to main content

Mercenary dens plugin app for Alliance Auth.

Project description

AA-Dens

While this app should be functional bugs are expected. Please report any of them in the issues or send me a PM on discord

Alliance Auth applications to handle mercenary dens

release python django license

Features

  • List mercenary dens
  • Show other users mercenary dens depending on your roles
  • Sends timers over to timberboard or structuretimers

TODO

  • Notify user when a den is reinforced
    • Have an AA notification
    • Route notifications to discord if aa-discordbot is installed
  • Kind of LP store on how to cash out den loots?

Screenshots

TODO

Installations

Step 1 - Check prerequisites

aa-dens is a plugin for Alliance Auth. If you don't have Alliance Auth running already, please install it first before proceeding. (see the official AA installation guide for details).
The minimal supported version of Alliance Auth is 4.6.0.

You will also need the eveuniverse module to be properly installed.

Step 2 - Install app

Make sure you are in the virtual environment (venv) of your Alliance Auth installation. Then install the newest release from PyPI:

pip install aa-dens

Step 3 - Configure Auth settings

Configure your Auth settings (local.py) as follows:

  • Add 'dens' to INSTALLED_APPS
  • Add below lines to your settings file:
CELERYBEAT_SCHEDULE['dens_update_owners'] = {
    'task': 'dens.tasks.update_all_den_owners',
    'schedule': crontab(minute='0', hour='*/2'),
    'apply_offset': True,
}

CELERYBEAT_SCHEDULE['dens_update_notifications'] = {
    'task': 'dens.tasks.update_all_owners_notifications',
    'schedule': crontab(minute='*/10'),
    'apply_offset': True,
}

CELERYBEAT_SCHEDULE['dens_send_daily_analytics'] = {
  'task': 'dens.tasks.send_daily_analytics',
  'schedule': crontab(minute='0', hour='5')
}

For the send_daily_analytics task refer to analytics

Step 4 - Finalize App installation

Run migrations & copy static files:

python manage.py migrate
python manage.py collectstatic --noinput

Restart your supervisor services for Auth.

Analytics

This application will send anonymous analytic data using Alliance Auth built-in analytics module. If you wish to disable the analytics for this application you can easily do so by removing the metenox_send_daily_analytics task.

The collected analytics are

  • The number of den owners in your application
  • The number of mercenary dens registered

Permissions

Permissions overview.

Name Description
basic_access Can access the application and add den owners
corporation_view Can view all dens anchored by members of their corporation
alliance_view Can view all dens anchored by members of their alliance
manager Can view all dens regardless of affiliations

Commands

The following commands can be used when running the module:

Name Description
dens_update_owners.py Will check all mercenary den owners and update their in space dens
dens_update_notifications.py Will check all den owners and update their notifications

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

aa_dens-1.1.3.tar.gz (27.6 kB view details)

Uploaded Source

Built Distribution

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

aa_dens-1.1.3-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

Details for the file aa_dens-1.1.3.tar.gz.

File metadata

  • Download URL: aa_dens-1.1.3.tar.gz
  • Upload date:
  • Size: 27.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for aa_dens-1.1.3.tar.gz
Algorithm Hash digest
SHA256 7ed6d0644231ac869c4dbd0f842d79ad704a6f5e629eddb1c240412998023776
MD5 658c8aed99faee32ba346d5bc370ba7a
BLAKE2b-256 32616d31f7c17c86ee0f40da28860d0992932231feb1b5ea593ecdb56f9cce0b

See more details on using hashes here.

File details

Details for the file aa_dens-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: aa_dens-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 36.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for aa_dens-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e7536e0bd6ea6de8af6569b40cf5c574ea52eea3ff6e77a1f75e1406fb2e22a4
MD5 d4273e344be3cb257ef806607bd4a6b3
BLAKE2b-256 43f50c326c7eed7c5c876ce5b9673d091c4749b667c2aa37ac1874fcd36345ff

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