CARVIEW |
Select Language
HTTP/2 200
date: Thu, 24 Jul 2025 16:41:24 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"b98c65b427cb8dc7579acd16063ee573"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=bEfauHj0KJoicows4i%2F4zRVuSABd4ycNxJMZW55MUJJI01zr1fzGf5dLimevgbso5xbN2z8Vz7Gt%2FNfsW%2FW49Oy9eBGdmQlGujXkG6A4LTltXtfM6s%2BS7s3Cuw5qeKHmSbvAjH0kIhgzFVtBPFzUKAq%2FG7AppzUlKxiu9SHefno7CybmT8jEapgBMtsGKLteA36QLglFVpCT9tgLISwH7hMhenALTi0%2F17w9WSU8p8gMP%2FQpNdnqmDJEoZHznj8BW99w4U%2FovRahPqtANVCvCA%3D%3D--vLly7yK%2FtZocHKhQ--LZCyEPQWnJr05V9TYIjUWA%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.734773814.1753375284; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 16:41:24 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Fri, 24 Jul 2026 16:41:24 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C9F6:1EC360:C398:E708:68826234
Home · iTXTech/mirai-native Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 136
Home
PeratX edited this page Aug 26, 2020
·
8 revisions
欢迎来到 Mirai Native
的 Wiki 页面。
Mirai Native Wiki, built by PeratX.
Copyright (C) 2020 iTX Technologies All Rights Reserved.
- 插件字符串编码采用
GB18030
-
Mirai Native
内部使用了非阻塞,协程实现具体功能,调用所有API都立即返回,但是也有劣势,比如无法得知消息是否发送成功 -
Mirai Native
正在建设插件中心,如果您的插件想要在上面列出,您的插件必须遵循AGPLv3
协议开源 -
Mirai Native
支持运行时重新载入插件文件,要求插件文件名结尾为.dev.dll
-
Java 8以上 32位,
Windows
环境,支持wine
- 可能需要管理员权限,因为需要在Java目录下创建数据文件夹,如果不想授权管理员权限,请将JRE移动到不需要管理员权限的目录下
- 待
Bot
上线后才会调用插件的eventStartup
和eventEnable
事件,托班菜单内才可以禁用插件
- 从 Releases 获取
mirai-native-x.x.x.jar
- 将其放置到
mirai console
运行目录的plugins
目录下
└─MiraiNative
│ config.json // Mirai Native 配置文件
│ CQP.dll // Mirai Native Bridge
│
├─data // 原生插件数据文件夹
│ ├─io.github.richardchien.coolqhttpapi // CQHTTP数据文件夹
│ └─net.peratx.tester // Mirai Native API Tester数据文件夹
│
├─libraries // 原生插件依赖的dll文件,最先被 Mirai Native加载
│ libiconv.dll // 被 CQHTTP 依赖
│ sqlite3.dll // 被 CQHTTP 依赖
│
└─plugins // 插件文件夹
http.dll // CQHTTP插件dll
http.json // CQHTTP插件json
test.dll // Tester dll
test.json // Tester json
- 从CQHTTP下载DLL和JSON文件
- 将
libiconv.dll
和sqlite3.dll
放入MiraiConsole\plugins\MiraiNative\libraries
文件夹 - 将
http.dll
和http.json
放入MiraiConsole\plugins\MiraiNative\plugins
文件夹 - 启动
mirai console
- 完成上述安装过程并登录账号,你将会看到,此时控制台大概率会卡死
12:45:02 [INFO] [MiraiNative] [CQHTTP 配置] 没有找到配置文件,写入默认配置
12:45:02 [INFO] [MiraiNative] [CQHTTP 配置] 已加载的配置:
- 关闭软件
- 在
CQHTTP
的配置文件内进行以下修改
"show_log_console": false, //不弹出独立控制台
"disable_coolq_log": false //取消禁言酷Q日志系统,此设置项目可能需要手动添加
除以上修改外请按照你的需求自行修改其他配置项目
- 开启软件并完成登录,你会在mirai-console的控制台看到类似以下的内容
12:51:08 [INFO] [MiraiNative] [CQHTTP 日志] 日志系统初始化完成
12:51:08 [INFO] [MiraiNative] [CQHTTP 日志] 请在 酷Q 主目录的 MiraiNative\data\io.github.richardchien.coolqhttpapi\log\ 中查看日志文件
12:51:08 [INFO] [MiraiNative] [CQHTTP HTTP] 开启 HTTP 服务器成功,开始监听 https://[::]:5700
- 配置完成
Clone this wiki locally
You can’t perform that action at this time.