📖 介绍
一款适用于QQ群的修仙插件,设定征集中,有好的想法可以推送给我哦~~~
💿 安装
详情可见 文档
下载
- 通过包管理器安装,可以通过nb,pip,或者poetry等方式安装,以pip为例
pip install nonebot_plugin_xiuxian_2 -U
- 手动安装(建议)
git clone https://ghproxy.com/https://github.com/QingMuCat/nonebot_plugin_xiuxian_2
2、如果遇到问题,请先百度和查看下方的 【一些问题】
3、如解决不了进交流群:760517008 提问,提问请贴上完整的日志
配置文件
1、配置文件一般在data/xiuxian文件夹下,自行按照json格式修改即可,一些字段的含义可以进群交流
2、子插件的配置会在插件运行后在子插件文件中生成config.json文件,该文件字段含义在同级目录的xxxconfig.py有备注。注意:修改配置只需要修改json即可,修改.py文件的话需要删除json文件才会生效,任何修改都需要重启bot
3.卡图下载地址:卡图:口令:k3jzr5,文件放置于data/xiuxian目录下
风控配置
配置地址:修仙插件下xiuxian_config.py<br>
在只有一个qq链接的情况下风控配置应该全部为空,即不配置<br>
self.put_bot = [] # 接收消息qq,主qq,框架将只处理此qq的消息,不配置将默认设置第一个链接的qq为主qq<br>
self.main_bo = [] # 负责发送消息的qq,调用lay_out.py 下range_bot函数的情况下需要填写<br>
self.shield_group = [] # 屏蔽的群聊<br>
self.layout_bot_dict = {{}} # QQ所负责的群聊{{群 :bot}} 其中 bot类型 []或str <br>
示例: {<br>
"群123群号" : "对应发送消息的qq号"<br>
"群456群号" : ["对应发送消息的qq号1","对应发送消息的qq号2"]<br>
}
当后面qq号为一个字符串时为一对一,为列表时为多对一<br>
一些问题
- pip install的填这个
plugins = ["nonebot_plugin_xiuxian_2"] - 手动安装的填这个
或plugin_dirs = ["nonebot_plugin_xiuxian_2"]bot.py中添加 - pip install的填这个
nonebot.load_plugin("nonebot_plugin_xiuxian_2") - 手动安装的填这个
nonebot.load_plugins("src/plugins", "nonebot_plugin_xiuxian_2")
🎉 特别感谢
- NoneBot2:本插件实装的开发框架,NB天下第一可爱。
- go-cqhttp:稳定完善的 CQHTTP 实现。
- nonebot_plugin_xiuxian:原版修仙
🎉支持
许可证
本项目使用 MIT 作为开源许可证
Metadata
Release files for nonebot-plugin-xiuxian-2 2.9.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_xiuxian_2-2.9.2.2.tar.gz | 136.4 kB | Without provenance | Details for nonebot_plugin_xiuxian_2-2.9.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_xiuxian_2-2.9.2.2-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_xiuxian_2-2.9.2.2-py3-none-any.whl |
Total release size: 296.9 kB
Release files / nonebot_plugin_xiuxian_2-2.9.2.2.tar.gz
| Download URL | nonebot_plugin_xiuxian_2-2.9.2.2.tar.gz |
|---|---|
| Size | 136.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ace249a31d2b487816a186a967fc06b43b6bc08968a7c846b82b3eeef72c25b0
|
|
BLAKE2b-256 checksum How to use checksums |
d452083ac9907cc30f227d49c173cec08d8fcdcf6a0a805566ba98992c5a0141
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Release files / nonebot_plugin_xiuxian_2-2.9.2.2-py3-none-any.whl
| Download URL | nonebot_plugin_xiuxian_2-2.9.2.2-py3-none-any.whl |
|---|---|
| Size | 160.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9ccc521e1e498c20bee15295902cfdac46a6311cc5cf9a593832d208efcc99fe
|
|
BLAKE2b-256 checksum How to use checksums |
f4475c8b4b980e6839e04dc76c24386355f2f41bc5974f2112653660cff76527
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.3
|
Security for nonebot-plugin-xiuxian-2 2.9.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.