hermesdj/seat-buyback
Composer 安装命令:
composer require hermesdj/seat-buyback
包简介
Buyback plugin for SeAT
README 文档
README
A module for SeAT that makes your life with corporation buyback programs a lot easier.
Screenshots
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:
- Copy & Paste your items you want to sell into the form under request.
- If everything is fine create the contract in EVE with the details shown on the right
- Click on Confirm. Done. You will be redirected to the "My Buyback" showing you created buyback.
- 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.
Discord Notifications
You are able to receive on every new buyback request discord notification over a discord webhook url directly into a discord channel. By default, the discord notification are turned off. You have to provide a valid discord webhook url over the admin settings page first.
How can I get my channel webhook url? Webhook Url Guide
Example:
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 hermesdj/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=hermesdj/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 hermesdj/seat-buyback'
hermesdj/seat-buyback 适用场景与选型建议
hermesdj/seat-buyback 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 1.49k 次下载、GitHub Stars 达 1, 最近一次更新时间为 2024 年 01 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 hermesdj/seat-buyback 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 hermesdj/seat-buyback 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 1.49k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2024-01-18