Alliance Auth Plugin
Project description
High Performance Pings
Leverage the corptools data to notify via discord certain events at a corp/alliance level
filter on/off regions/const/system/corps/alliances/types/strucutre type/notification type via admin. end specific notifications to different places via webhooks
configurable @ settings
What Pings are Available:
Structures
- attack/reinforce
- StructureLostShields
- StructureLostArmor
- StructureUnderAttack
- low fuel ()
- abandoned ()
- destroyed (StructureDestroyed)
- low power (StructureWentLowPower)
- anchoring (StructureAnchoring)
- unanchoring (StructureUnanchoring)
- high power (StructureWentHighPower)
- transfer (OwnershipTransferred)
POS
- attack/reinforce
- TowerAlertMsg
Sov
- attacks
- SovStructureReinforced
- EntosisCaptureStarted
- pos anchoring (AllAnchoringMsg)
Moons
- Extraction Started (MoonminingExtractionStarted)
- Extraction Complete (MoonminingExtractionFinished)
- Laser Fired (MoonminingLaserFired)
- auto fracture (MoonminingAutomaticFracture)
HR
- New application (CorpAppNewMsg)
Optimisation
Separate Worker Queue
Edit myauth/myauth/celery.py
app.conf.task_routes = {.....
'pinger.tasks.corporation_notification_update': {'queue':'pingbot'},
.....
}
Add program block to supervisor.conf
[program:pingbot]
command=/path/to/venv/venv/bin/celery -A myauth worker --pool=threads --concurrency=5 -Q pingbot
directory=/home/allianceserver/myauth
user=allianceserver
numprocs=1
stdout_logfile=/home/allianceserver/myauth/log/pingbot.log
stderr_logfile=/home/allianceserver/myauth/log/pingbot.log
autostart=true
autorestart=true
startsecs=10
stopwaitsecs=60
killasgroup=true
priority=998
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
Close
Hashes for allianceauth-corptools-pinger-0.3.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a62a2aef1bf89e60fc470108b890a71c910a45238350a234f096a631120f1a4a |
|
MD5 | df5d42b19ed728bcaa970c20c25da632 |
|
BLAKE2b-256 | 1f1f3c210c43d5aaadeec2ba9192661f34f623a02953e9c5af276cd3b284213a |