Skip to content

pyTonicis/seat-corp-mining-tax

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest Stable Version

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)

Overview

Reprocessing

Refine

Corporation Mining Tax

Tax

Corporation Moon Minings (Moons owned by Corporation)

enter image description here

About

seat-corp-mining-tax

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 58.3%
  • Blade 41.1%
  • CSS 0.6%