Killstats for Corporations & Alliances, Hall of Fame, Hall of Shame, etc.
- Graphical Overview
- Corporation & Alliance Overview
- Kills/Losses
- Main Character and Alts combined (explanation)
- Hall of Fame, Hall of Shame
- Killstats like Top Kill, Top Killer, Top Loss, Alltime Killer, etc.
- Top 10 list for each Month
- Filtering Settings for each Corporation / Alliance
- Administration Access for specific Corps or Alliances
Note
AA Killstats needs at least Alliance Auth v4.12.0 Please make sure to update your Alliance Auth before you install this APP
Make sure you're in your virtual environment (venv) of your Alliance Auth then install the pakage.
pip install aa-killstatsConfigure your Alliance Auth settings (local.py) as follows:
INSTALLED_APPS = [
# other apps
"eve_sde", # only if it not already existing
"killstats",
# other apps?
]
# This line is right below the `INSTALLED_APPS` list, if not already exist!
INSTALLED_APPS = ["modeltranslation"] + INSTALLED_APPSTo set up the Scheduled Tasks add following code to your local.py
if "killstats" in INSTALLED_APPS:
CELERYBEAT_SCHEDULE["Killstats :: Check for Killmails"] = {
"task": "killstats.tasks.run_zkb_r2z2",
"schedule": crontab(minute="*/1"),
}To set up the Logger add following code to your local.py
Ensure that you have writing permission in logs folder.
LOGGING["handlers"]["killstats_file"] = {
"level": "DEBUG",
"class": "logging.handlers.RotatingFileHandler",
"filename": os.path.join(BASE_DIR, "log/killstats.log"),
"formatter": "verbose",
"maxBytes": 1024 * 1024 * 5,
"backupCount": 5,
}
LOGGING["loggers"]["extensions.killstats"] = {
"handlers": ["killstats_file"],
"level": "DEBUG",
}python manage.py collectstatic
python manage.py migrateAA Killstats uses EVE SDE data to map IDs to names for EveTypes. You will need to preload some data from SDE once.
python manage.py esde_load_sdeWith the Following IDs you can set up the permissions for the KILLSTATS
| ID | Description | |
|---|---|---|
basic_access |
Can access this app, Killstats. | All Members with the Permission can access the Killstats App. |
admin_access |
Has access to all killstats. | Has access to all Killstats Views, Can add Corporation/Alliance. |
The Following Settings can be setting up in the local.py
| Setting | Configuration(default) | Description |
|---|---|---|
KILLSTATS_APP_NAME |
"YOURNAME" ("Killstats") |
Set the name of the APP. |
KILLSTATS_API_CACHE_LIFETIME |
5 (10) |
Set Cache Lifetime for Killstats in Minutes. |
- KILLSTATS_BULK_BATCH_SIZE:
500- Maximum database batch size per operation. Reduce (e.g., 250) if encountering 'max_allowed_packet' errors, increase for better performance if MySQL is configured with higher limits
Help us translate this app into your language or improve existing translations. Join our team!"
You want to improve the project? Please ensure you read the contribution guidelines


