cryptaeve / seat-squad-sync
模块同步座位小队成员到角色关联
v5.0.0
2023-12-03 05:33 UTC
Requires
- eveseat/eveapi: ^5.0
- eveseat/services: ^5.0
- eveseat/web: ^5.0
This package is auto-updated.
Last update: 2024-09-04 11:22:26 UTC
README
这是一个为 SeAT 开发的模块,允许创建小队成员与角色关联之间的链接。
用法
此插件提供了一种非常简单但功能强大的功能,允许同步小队成员到角色关联。
这允许创建小队,例如招聘小队。想要加入公司的玩家可以加入小队。然后此插件将同步角色,使其成为关联招聘角色的成员。
注意
目前需要配置 squadsync:sync
作业以定期运行,因为此时同步不是自动维护的。
待办事项
- 根据命令刷新同步(计划内和手动)
- [] 设置观察者以在团队事件上自动同步用户
- [] 实现阻止小队角色成为目标角色的功能
快速安装
Docker 安装
打开 .env 文件(通常位于 /opt/seat-docker/.env),并将 SEAT_PLUGINS 变量编辑为包括该软件包。
# SeAT Plugins
# This is a list of the all of the third party plugins that you
# would like to install as part of SeAT. Package names should be
# comma separated if multiple packages should be installed.
SEAT_PLUGINS=cryptaeve/seat-squad-sync
保存您的 .env 文件,并运行 docker-compose up -d 重新启动包含新插件的堆栈。根据您拥有的其他插件的多少,这可能需要一段时间才能完成。
您可以通过运行以下命令来监控安装过程:
docker-compose logs --tail 5 -f seat-app
Blade 安装
在您的 seat 目录中(默认:/var/www/seat),键入以下内容:
php artisan down
composer require cryptaeve/seat-squad-sync
php artisan vendor:publish --force --all
php artisan migrate
php artisan up
现在,当您登录 'Seat' 时,您应该在左侧看到 'Squad Sync' 链接。
使用跟踪
为了了解此插件的使用情况,实现了一种非常简单的匿名使用跟踪方式。
有关使用系统的更多信息,请参阅 此处