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
- this app is built on corptools and invoices. install them first.
pip install allianceauth-corptools-moons
- add 'moons' to your installed apps in local.py
- set your "public" moons variable in
local.py
PUBLIC_MOON_CORPS = [1234, 56789, 101112] # where the numbers are the corp ids
- run migrations
- run the setup management task
python manage.py moons_setup_tool
-
wait for the tasks to finish.
-
you need to ensure all your corps have pulled data and are working correctly before you invoice for the first time.
-
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 moons_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]
- once you are happy, open admin and enable and then run the
Send Moon Invoices
task. This will now run every 14 days. You can freely edit the period of this task to match what your group requires.
Ore Price Sources
MOONS_ORE_RATE_BUY_SELL
MOONS_ORE_RATE_BUY_SELL="buy"
- Sets the ore prices to buy and uses the bucket defined in the
MOONS_ORE_RATE_BUCKET
option
MOONS_ORE_RATE_BUY_SELL="sell"
- Sets the ore prices to buy and uses the bucket defined in the
MOONS_ORE_RATE_BUCKET
option
MOONS_ORE_RATE_BUY_SELL="split"
- Sets the ore prices to a calculated split value and ignores bucket defined in the
MOONS_ORE_RATE_BUCKET
option (Max Buy + Min Sell) / 2
MOONS_ORE_RATE_BUCKET
Sets the bucket used in buy/sell ore calculations:
MOONS_ORE_RATE_BUCKET="weightedAverage"
MOONS_ORE_RATE_BUCKET="max"
MOONS_ORE_RATE_BUCKET="min"
MOONS_ORE_RATE_BUCKET="stddev"
MOONS_ORE_RATE_BUCKET="median"
MOONS_ORE_RATE_BUCKET="percentile"
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
Built Distribution
Close
Hashes for allianceauth_corptools_moons-0.4.0b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e08cbd434b48bf0b7aa709f54f0f2070414f089117ce97d7ad32f43fa5f045d9 |
|
MD5 | 143dd6e5635b6da828ce824e848b6979 |
|
BLAKE2b-256 | 3a5cfe455eb43f91c1a10ce4b13431821f71a3a59863bc398b52f94d23ebd212 |
Close
Hashes for allianceauth_corptools_moons-0.4.0b1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b078041ef862cc3d45ab3335adecafb9912ebcbb37b79f3d247ab842f5770cb |
|
MD5 | fd92f7fc81fe2220e3febd1c2c25ef4d |
|
BLAKE2b-256 | 40eae54e2aebd3d90b30979b4869e1756603670560c4d0b360e36fee2456f816 |