Skip to main content

Alliance Auth Plugin

Project description

Moon Tools

moon frack monitoring and taxation, taxation is calculated ( default, but configurable ) 2 weekly and includes all valid "taxes" from the period.

tax options

  • Corp Filter
  • Rank system for all strucutres that are captured in a "Tax Group"
  • Flat rate or configurable variable tax rates per ore type More specific overrides the rest
  • Region filter
  • Constellation Filter
  • System Filter
  • Moon Filter

installation

  1. this app is built on corptools and invoices. install them first.
  2. pip install allianceauth-corptools-moons
  3. add 'moons' to your installed apps in local.py
  4. set your "public" moons variable in local.py
   PUBLIC_MOON_CORPS = [1234, 56789, 101112] # where the numbers are the corp ids
  1. run migrations
  2. run the setup management task
   python manage.py setup_moon_tool
  1. wait for the tasks to finish.

  2. you need to ensure all your corps have pulled data and are working correctly before you invoice for the first time.

  3. setup your tax brackets and taxation rates / zones in admin

    admin > moons > mining tax ( Highest rank is run first )

    check the settings in console

   python manage.py current_tax_outstanding
Calculating!
Last Invoice 2021-09-06 00:00:00+00:00!
Doing some math... Please wait...

We've seen 56 known members!
We've seen 12 unknown characters!

Who have mined $833,068,517,622.8707 worth of ore!
Current Tax puts this at $195,791,603,220.688 in taxes!

the structures included are:
[system] - [name]
[system] - [name]
[system] - [name]
[system] - [name]
[system] - [name]
[system] - [name]
  1. once you are happy, open admin and enable and then run the Send Moon Invoices task. This will now run every 14 days.

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

allianceauth-corptools-moons-0.3.7.tar.gz (726.6 kB view details)

Uploaded Source

File details

Details for the file allianceauth-corptools-moons-0.3.7.tar.gz.

File metadata

File hashes

Hashes for allianceauth-corptools-moons-0.3.7.tar.gz
Algorithm Hash digest
SHA256 9d009c9fa7e13f8d946202e76fd1fe1752ced603905da6202f7f7da1e9c10f0e
MD5 0655a652a05754d2039734f006783e15
BLAKE2b-256 bb5ea6dd863c697bec7ab7872f9806ebe0f621af7078375cfca3db923b63b106

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page