Giter Site home page Giter Site logo

martinskalicky / seat-buyback Goto Github PK

View Code? Open in Web Editor NEW

This project forked from h4zz4rddev/seat-buyback

0.0 0.0 0.0 191 KB

A module for SeAT that makes your life with corporation buyback programs a lot easier.

License: GNU General Public License v3.0

PHP 70.78% CSS 1.13% Blade 28.09%

seat-buyback's Introduction

seat-buyback

Latest Stable Version

A module for SeAT that makes your life with corporation buyback programs a lot easier.

In case of problems please contact me via EVE-Online message or over the seat discord: H4zz4rd

Screenshots

adminpanel

requestpanel

contracts

Permissions

There are three different types of permissions you can give to your members:

Request

This is the default right a corp mate needs to access the buyback module. This permission includes the "Request" and "My Contracts" section.

Contract

This permission is for all corp mates that are allowed to manage the corp buyback requests / contracts.

Admin

This permission gives access to the admin section. Here you can adjust some general plugin settings and configure the buyback item settings.

Usage

User:

  1. Copy & Paste your items you want to sell into the form under request.
  2. If everything is fine create the contract in EVE with the details shown on the right
  3. Click on Confirm. Done. You will be redirected to the "My Buyback" showing you created buyback.
  4. Contract-Manager: Under "Contracts" you can see all created contracts and are able to delete or finish them after you have compared them with the ingame contract of the corp mate.The random generated ID will help you to find contracts faster.

⚠️ The buyback will only be saved with the click on "Confirm". Created contracts in EVE can not be seen by the plugin.

⚠️ Each item price is cached and only refreshed by default every hour. You can change the cache time over the admin section. Please do not set this value too low because this would spam the chosen price provider api and your server could get banned for a while.

Quick Installation Guide:

I can also recommend reading through the official seat documentation.

Install

Switch to your seat installation directory ( default : /var/www/seat)

sudo -H -u www-data bash -c 'php artisan down'
sudo -H -u www-data bash -c 'composer require h4zz4rddev/seat-buyback'
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'

*Note that www-data is the default ubuntu webserver user. If you are running on a different distribution please adjust the user.

Docker Install

Open your .env file and edit the SEAT_PLUGINS variable to include the package.

# SeAT Plugins
SEAT_PLUGINS=h4zz4rddev/seat-buyback

After adding the plugin to your .env file run:

docker-compose up -d

The plugin should be installed after docker has finished booting.

Update

To update the plugin to the newest version you can follow the same installation steps but change the composer command to:

sudo -H -u www-data bash -c 'composer update h4zz4rddev/seat-buyback'

Donations

Donations are always welcome, although not required. If you end up using this module a lot, I'd appreciate a donation. You can give ISK or contract PLEX and Ships to H4zz4rd.

Sponsors

phpstorm Integrated Development Environment proudly sponsored by Jetbrains.

seat-buyback's People

Contributors

h4zz4rddev avatar c64gamer avatar veteranmina avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.