Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cssxsh/steam-helper
https://github.com/cssxsh/steam-helper
mirai mirai-console steam
Last synced: 23 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cssxsh/steam-helper
- Owner: cssxsh
- License: agpl-3.0
- Created: 2022-06-28T20:53:40.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-16T07:01:20.000Z (about 2 years ago)
- Last Synced: 2024-10-04T15:20:17.170Z (about 1 month ago)
- Topics: mirai, mirai-console, steam
- Language: Kotlin
- Homepage:
- Size: 121 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [Steam Helper](https://github.com/cssxsh/steam-helper)
> 基于 [Mirai Console](https://github.com/mamoe/mirai-console) 的 [Steam](https://store.steampowered.com/) 桥接插件
[![Release](https://img.shields.io/github/v/release/cssxsh/steam-helper)](https://github.com/cssxsh/steam-helper/releases)
[![Downloads](https://img.shields.io/github/downloads/cssxsh/steam-helper/total)](https://shields.io/category/downloads)
[![MiraiForum](https://img.shields.io/badge/post-on%20MiraiForum-yellow)](https://mirai.mamoe.net/topic/287)**使用前应该查阅的相关文档或项目**
* [User Manual](https://github.com/mamoe/mirai/blob/dev/docs/UserManual.md)
* [Permission Command](https://github.com/mamoe/mirai/blob/dev/mirai-console/docs/BuiltInCommands.md#permissioncommand)
* [Chat Command](https://github.com/project-mirai/chat-command)认证账号后,插件会将 Steam 好友的消息会通过 Bot 推送到 QQ.
## 指令
注意: 使用前请确保可以 [在聊天环境执行指令](https://github.com/project-mirai/chat-command)
带括号的`/`前缀是可选的
`<...>`中的是指令名,由空格隔开表示或,选择其中任一名称都可执行
`[...]`表示参数,当`[...]`后面带`?`时表示参数可选
`{...}`表示连续的多个参数本插件指令权限ID 格式为 `xyz.cssxsh.mirai.plugin.steam-helper:command.*`, `*` 是指令的第一指令名
例如 `/steam-auth` 的权限ID为 `xyz.cssxsh.mirai.plugin.steam-helper:command.steam-auth``target` 取值是 SteamID, 对于用户格式是 `[U:1:好友码]`, 例如 `[U:1:123456]`
使用 `/steam-friend list` 可以看到好友的 SteamID### SteamAuthCommand
| 指令 | 描述 |
|:----------------|:------------|
| `/` | 绑定 Steam 账号 |### SteamFriendCommand
| 指令 | 描述 |
|:--------------------------------------------------|:-------|
| `/ ` | 列出好友列表 |
| `/ [target] [ignore]?` | 忽略好友 |
| `/ [target] [nickname]?` | 设置好友昵称 |
| `/ [target]?` | 添加好友 |
| `/ [name]?` | 添加好友 |
| `/ [target]?` | 移除好友 |`ignore` 取值是 `true`, `false`
### SteamSendCommand
| 指令 | 描述 |
|:-------------------------|:-----|
| `/ ` | 发送消息 |## 安装
### MCL 指令安装
* 预览版
`./mcl --update-package xyz.cssxsh:steam-helper --channel maven-prerelease --type plugin`* 稳定版
`./mcl --update-package xyz.cssxsh:steam-helper --channel maven-stable --type plugin`### 手动安装
1. 运行 [Mirai Console](https://github.com/mamoe/mirai-console) 生成`plugins`文件夹
2. 从 [Releases](https://github.com/cssxsh/steam-helper/releases) 下载`jar`并将其放入`plugins`文件夹中## TODO
- [ ] 聊天室
- [ ] 社区提醒推送
- [ ] 云存档下载到QQ文件