83
次編輯
標籤:2017 原始碼編輯 |
無編輯摘要 |
||
第35行: | 第35行: | ||
<hr> | <hr> | ||
=='''如何把plumo放进drrr'''== | |||
1.服务器端安装 | |||
需要: | |||
服务器端源代码[[https://github.com/Respber/plumo2]]中的DRRR.js(必须) | |||
nginx[[http://nginx.org/download/nginx-1.19.8.zip]](必须) | |||
网易云点歌插件[[https://gitee.com/touko7kyu/NeteaseCloudMusicApi]](可选) | |||
nodeJS[[http://nodejs.cn/download/]](如需点歌功能,必须) | |||
步骤: | |||
1.安装好nginx和nodeJS | |||
2.把DRRR.js复制进nginx的html文件夹中 | |||
<br />[[File:Plumo-bz-1.png|500x500像素]] | |||
[[File:Plumo-bz-2.png|500x500像素]] | |||
3.运行nginx,双击nginx.exe | |||
4.在打开聊天室窗口的情况下 | |||
[[File:Plumo-bz-3.png|500x500像素]] | |||
在地址栏输入:<blockquote>javascript:var s = document.createElement('script');s.type = 'text/javascript';s.src = "<nowiki>http://127.0.0.1/DRRR.js</nowiki>"; document.body.appendChild(s);</blockquote>[[File:Plumo-bz-4.png|500x500像素]] | |||
当聊天室右上角出现了一个极为违和的扳手后,说明您的plumo已经安装好了 | |||
注:plumo发送的消息可能无法在第一时间被服务端看到 | |||
2.客户端安装 | |||
需要: | |||
客户端源代码[[https://github.com/Respber/plumo2]]中的DRRRclient.js(必须) | |||
nginx[[http://nginx.org/download/nginx-1.19.8.zip]](必须) | |||
步骤: | |||
1~3同服务器端安装步骤 | |||
4.把输入代码换成<blockquote> | |||
javascript:var s = document.createElement('script');s.type = 'text/javascript';s.src = "<nowiki>http://127.0.0.1/DRRRclient.js</nowiki>"; document.body.appendChild(s);</blockquote>3.附加功能安装 | |||
1.具体见网易云点歌插件开发巨佬的个人网页 | |||
=='''留言板'''== | =='''留言板'''== |
次編輯