pytonicis / seat-corp-mining-tax
Tracking of corporation mining tax
Installs: 2 283
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 3
Open Issues: 3
Type:seat-plugin
Requires
- php: ^8.1
- ext-json: *
- etdsolutions/flatpickr: ^2.6.1
- eveseat/eveapi: ^5.0.1
- eveseat/web: ^5.0.1
- laravel/framework: ^10.0
README
Seat Corporation Mining Tax
This plugin provides an extension to calculate mining taxes within the corporation. It simplifies the handling of taxes and gives an overview of mined ores of each member. Some additional features will very helpful to control the mining part, like Corporation Mining Events, Mining Statistics, Corporation Moon's Statistics,..
Quick Installation
For non-Docker
sudo -H -u www-data bash -c 'php artisan down' sudo -H -u www-data bash -c 'composer require pyTonicis/seat-corp-mining-tax' sudo -H -u www-data bash -c 'php artisan vendor:publish --force --all' sudo -H -u www-data bash -c 'php artisan migrate' sudo -H -u www-data bash -c 'php artisan seat:cache:clear' sudo -H -u www-data bash -c 'php artisan config:cache' sudo -H -u www-data bash -c 'php artisan route:cache' sudo -H -u www-data bash -c 'php artisan up'
For Docker
Edit your `.env` file,locate the line `SEAT_PLUGINS` and append `pyTonicis/seat-corp-mining-tax`
at the end.
Then , run docker-compose up -d
to take effect.
For non-Docker Update
sudo -H -u www-data bash -c 'php artisan down' sudo -H -u www-data bash -c 'composer update pyTonicis/seat-corp-mining-tax' sudo -H -u www-data bash -c 'php artisan migrate' sudo -H -u www-data bash -c 'php artisan seat:cache:clear' sudo -H -u www-data bash -c 'php artisan config:cache' sudo -H -u www-data bash -c 'php artisan route:cache' sudo -H -u www-data bash -c 'php artisan up'
Plugin Setup
- Open Settings Page and select your Corporation Name (at global Settings)
- Set a valid Charactername in field "Contract Issuer" (at Contract Settings)
All other settings such as tax rate can be set as desired. For best tax result, u should set "Ore Valuation Price" to "Mineral Price". The Prices for minerals are inaccurate.
If you want to use EvE Janice as a Price provider, you need to apply for a valid API Key and enter it in the field "Price Provider API Key" and select "Eve Janice as price provider.
Fill Database with mining data
If you want to get some data from past months, you can generate tax data at console by hand eg.:
sudo -H -u www-data bash -c 'php artisan tax:update 2023 10
Permissions
There are three different types of permissions you can set for your Members.
Member
Allow access to overview and reprocessing tool
Manager
Allow access to manage tax contracts and tax calculator
Admin
Allows full access
Help
If you need help, feel free to contact me via Discord: smasherjobs
Donations
If you would like to support my project, feel free to donate isk or plex to Smasher Jobs
(in-game).
Screenshots
Overview (Dashboard)
Reprocessing
Corporation Mining Tax
Corporation Moon Minings (Moons owned by Corporation)