Lawn Compliance cogs and tasks
To install your plugin into a production AA run this command within the virtual Python environment of your AA installation:
pip install git+https://github.com/swashman/lawn-compliance
- Add
'lawn_compliance',
toINSTALLED_APPS
insettings/local.py
- add the following settings to
settings/local.py
## LAWN COMPLIANCE SETTINGS
LAWN_COMPLIANCE_CHANNELS = [
1243724889731502191
] # list of channels that allow alliance and any corp commands
- run migrations
- restart your allianceserver.
Name | Description |
---|---|
lawn_compliance.alliance |
Can view all compliance levels. |
lawn_compliance.any_corp |
Can view any corp and own corp compliance data. |
lawn_compliance.own_corp |
Can view own corp compliance data. |
all commands begin with /compliance
Command | Description |
---|---|
alliance |
returns basic data of all corps |
corp |
returns corp specific data for selected corp |
mycorp |
returns corp specific data for own corp |