nonebot-plugin-l4d2-server 0.4.2__tar.gz → 0.4.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (50) hide show
  1. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/PKG-INFO +22 -17
  2. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/README.md +15 -11
  3. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/__init__.py +6 -4
  4. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/command.py +0 -2
  5. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_anne/__init__.py +0 -1
  6. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_image/steam.py +1 -2
  7. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_web/config.py +1 -1
  8. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_web/web.py +0 -2
  9. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/txt_to_img.py +0 -1
  10. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/utils.py +0 -1
  11. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/pyproject.toml +7 -5
  12. nonebot_plugin_l4d2_server-0.4.4/setup.py +61 -0
  13. nonebot_plugin_l4d2_server-0.4.2/setup.py +0 -59
  14. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/LICENSE +0 -0
  15. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/config.py +0 -0
  16. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/data/L4D2/image/head/head.png +0 -0
  17. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/data/L4D2/image/header/logo.png +0 -0
  18. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/data/L4D2/image/header/player1.jpg +0 -0
  19. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/data/L4D2/image/template/anne.html +0 -0
  20. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/data/L4D2/image/template/back.png +0 -0
  21. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/data/L4D2/image/template/fingerprint.svg +0 -0
  22. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/data/L4D2/image/template/help - /345/211/257/346/234/254.html" +0 -0
  23. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/data/L4D2/image/template/help.html +0 -0
  24. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/data/L4D2/image/template/help_dack.html +0 -0
  25. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/data/L4D2/image/template/ip.html +0 -0
  26. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/data/L4D2/image/template/vue.css +0 -0
  27. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_anne/analysis.py +0 -0
  28. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_anne/anne_telecom.py +0 -0
  29. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_anne/server.py +0 -0
  30. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_anne/startand.py +0 -0
  31. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_data/__init__.py +0 -0
  32. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_data/config.py +0 -0
  33. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_data/players.py +0 -0
  34. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_data/serverip.py +0 -0
  35. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_file/__init__.py +0 -0
  36. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_image/__init__.py +0 -0
  37. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_image/download.py +0 -0
  38. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_image/htmlimg.py +0 -0
  39. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_image/send_image_tool.py +0 -0
  40. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_image/vtfs.py +0 -0
  41. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_queries/__init__.py +0 -0
  42. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_queries/api.py +0 -0
  43. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_queries/ohter.py +0 -0
  44. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_queries/qqgroup.py +0 -0
  45. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_server/__init__.py +0 -0
  46. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_server/rcon.py +0 -0
  47. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_server/workshop.py +0 -0
  48. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/l4d2_web/webUI.py +0 -0
  49. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/message.py +0 -0
  50. {nonebot_plugin_l4d2_server-0.4.2 → nonebot_plugin_l4d2_server-0.4.4}/nonebot_plugin_l4d2_server/seach.py +0 -0
@@ -1,19 +1,18 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: nonebot-plugin-l4d2-server
3
- Version: 0.4.2
3
+ Version: 0.4.4
4
4
  Summary: L4D2 server related operations plugin for NoneBot2
5
- Home-page: https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server
5
+ Home-page: https://github.com/Agnes4m/nonebot_plugin_l4d2_server
6
6
  License: GPLv3
7
7
  Keywords: steam,game,l4d2,nonebot2,plugin
8
8
  Author: Agnes_Digital
9
9
  Author-email: Z735803792@163.com
10
- Requires-Python: >=3.8,<4.0
10
+ Requires-Python: >=3.9,<4.0
11
11
  Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
12
12
  Classifier: License :: Other/Proprietary License
13
13
  Classifier: Operating System :: OS Independent
14
14
  Classifier: Programming Language :: Python
15
15
  Classifier: Programming Language :: Python :: 3
16
- Classifier: Programming Language :: Python :: 3.8
17
16
  Classifier: Programming Language :: Python :: 3.9
18
17
  Classifier: Programming Language :: Python :: 3.10
19
18
  Classifier: Programming Language :: Python :: 3.11
@@ -29,7 +28,7 @@ Requires-Dist: httpx (>=0.23.3,<0.24.0)
29
28
  Requires-Dist: jieba (>=0.42.1,<0.43.0)
30
29
  Requires-Dist: jinja2 (>=3.0.0)
31
30
  Requires-Dist: nonebot-adapter-onebot (>=2.1.5)
32
- Requires-Dist: nonebot2 (>=2.0.0rc3,<3.0.0)
31
+ Requires-Dist: nonebot2 (>=2.0.0rc4,<3.0.0)
33
32
  Requires-Dist: nonebot_plugin_apscheduler (>=0.2.0,<0.3.0)
34
33
  Requires-Dist: nonebot_plugin_htmlrender (>=0.2.0.1,<0.3.0.0)
35
34
  Requires-Dist: nonebot_plugin_txt2img (>=0.3.0)
@@ -37,15 +36,17 @@ Requires-Dist: pandas (>=1.5.2)
37
36
  Requires-Dist: patool (>=1.12,<2.0)
38
37
  Requires-Dist: pillow (>=9.3.0,<10.0.0)
39
38
  Requires-Dist: python-a2s (>=1.3.0,<2.0.0)
39
+ Requires-Dist: python-jose (>=3.3.0,<4.0.0)
40
40
  Requires-Dist: pyunpack (>=0.3.0,<0.4.0)
41
41
  Requires-Dist: rarfile (>=4.0,<5.0)
42
42
  Requires-Dist: rcon (>=2.1.0,<3.0.0)
43
+ Requires-Dist: ruamel.yaml (>=0.17.21,<0.18.0)
43
44
  Requires-Dist: srctools (>=2.3.9,<3.0.0)
44
- Project-URL: Repository, https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server
45
+ Project-URL: Repository, https://github.com/Agnes4m/nonebot_plugin_l4d2_server
45
46
  Description-Content-Type: text/markdown
46
47
 
47
48
  <div align="center">
48
- <img src="https://raw.githubusercontent.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/main/image/logo.png" width="180" height="180" alt="AgnesDigitalLogo">
49
+ <img src="https://raw.githubusercontent.com/Agnes4m/nonebot_plugin_l4d2_server/main/image/logo.png" width="180" height="180" alt="AgnesDigitalLogo">
49
50
  <br>
50
51
  <p><img src="https://s2.loli.net/2022/06/16/xsVUGRrkbn1ljTD.png" width="240" alt="NoneBotPluginText"></p>
51
52
  </div>
@@ -55,15 +56,15 @@ Description-Content-Type: text/markdown
55
56
  # nonebot_plugin_l4d2_server
56
57
  _✨Nonebot & Left 4 Dead 2 server操作✨_
57
58
  <div align = "center">
58
- <a href="https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/wiki/%E6%96%87%E6%A1%A3" target="_blank">文档</a> &nbsp; · &nbsp;
59
- <a href="https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/wiki/%E6%96%87%E6%A1%A3#zl" target="_blank">指令列表</a> &nbsp; · &nbsp;
60
- <a href="https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/wiki/BUG%E5%8F%8D%E9%A6%88">常见问题</a>
59
+ <a href="https://github.com/Agnes4m/nonebot_plugin_l4d2_server/wiki/%E6%96%87%E6%A1%A3" target="_blank">文档</a> &nbsp; · &nbsp;
60
+ <a href="https://github.com/Agnes4m/nonebot_plugin_l4d2_server/wiki/%E6%96%87%E6%A1%A3#zl" target="_blank">指令列表</a> &nbsp; · &nbsp;
61
+ <a href="https://github.com/Agnes4m/nonebot_plugin_l4d2_server/wiki/BUG%E5%8F%8D%E9%A6%88">常见问题</a>
61
62
  </div><br>
62
- <a href="https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/stargazers">
63
- <img alt="GitHub stars" src="https://img.shields.io/github/stars/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server" alt="stars">
63
+ <a href="https://github.com/Agnes4m/nonebot_plugin_l4d2_server/stargazers">
64
+ <img alt="GitHub stars" src="https://img.shields.io/github/stars/Agnes4m/nonebot_plugin_l4d2_server" alt="stars">
64
65
  </a>
65
- <a href="https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/issues">
66
- <img alt="GitHub issues" src="https://img.shields.io/github/issues/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server" alt="issues">
66
+ <a href="https://github.com/Agnes4m/nonebot_plugin_l4d2_server/issues">
67
+ <img alt="GitHub issues" src="https://img.shields.io/github/issues/Agnes4m/nonebot_plugin_l4d2_server" alt="issues">
67
68
  </a>
68
69
  <a href="https://jq.qq.com/?_wv=1027&k=HdjoCcAe">
69
70
  <img src="https://img.shields.io/badge/QQ%E7%BE%A4-399365126-orange?style=flat-square" alt="QQ Chat Group">
@@ -93,7 +94,7 @@ _✨Nonebot & Left 4 Dead 2 server操作✨_
93
94
 
94
95
  ## 新文档(暂未完成)
95
96
 
96
- [点击这里](https://umamusume-agnes-digital.github.io/l4d2)
97
+ [点击这里](https://Agnes4m.github.io/l4d2)
97
98
 
98
99
  <h2 id="gn">主要功能</h2>
99
100
 
@@ -159,6 +160,10 @@ _✨Nonebot & Left 4 Dead 2 server操作✨_
159
160
  <summary>展开/收起</summary>
160
161
 
161
162
 
163
+ ### 0.4.4--2022.4.9
164
+
165
+ - 修bug(恼)
166
+
162
167
  ### 0.4.2--2022.4.9
163
168
 
164
169
  - 修复响应开头匹配出现的重大bug
@@ -356,13 +361,13 @@ _✨Nonebot & Left 4 Dead 2 server操作✨_
356
361
  + 本人技术很差,如果您有发现BUG或者更好的建议,欢迎提Issue & Pr
357
362
  + 如果本插件对你有帮助,不要忘了点个Star~
358
363
  + 本项目仅供学习使用,请勿用于商业用途
359
- + [GPL-3.0 License](https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/blob/main/LICENSE) ©[@Umamusume-Agnes-Digital](https://github.com/Umamusume-Agnes-Digital)
364
+ + [GPL-3.0 License](https://github.com/Agnes4m/nonebot_plugin_l4d2_server/blob/main/LICENSE) ©[@Agnes4m](https://github.com/Agnes4m)
360
365
 
361
366
 
362
367
  <h2 id="ty">🌐 感谢</h2>
363
368
 
364
369
  - [修仙](https://github.com/s52047qwas/nonebot_plugin_xiuxian) - 数据库的写法来自于他
365
- - [自己写的求生之路查询库](https://github.com/Umamusume-Agnes-Digital/VSQ)(已弃用)
370
+ - [自己写的求生之路查询库](https://github.com/Agnes4m/VSQ)(已弃用)
366
371
  - [@MeetWq](https://github.com/MeetWq) - 非常热心解答nonebot2相关的写法
367
372
  - [可爱小Q](https://github.com/MeetWq/mybot) - 服务器图片写法参考小Q帮助
368
373
  - [群聊学习](https://github.com/CMHopeSunshine/nonebot-plugin-learning-chat) - web控制台的写法来自于他
@@ -1,5 +1,5 @@
1
1
  <div align="center">
2
- <img src="https://raw.githubusercontent.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/main/image/logo.png" width="180" height="180" alt="AgnesDigitalLogo">
2
+ <img src="https://raw.githubusercontent.com/Agnes4m/nonebot_plugin_l4d2_server/main/image/logo.png" width="180" height="180" alt="AgnesDigitalLogo">
3
3
  <br>
4
4
  <p><img src="https://s2.loli.net/2022/06/16/xsVUGRrkbn1ljTD.png" width="240" alt="NoneBotPluginText"></p>
5
5
  </div>
@@ -9,15 +9,15 @@
9
9
  # nonebot_plugin_l4d2_server
10
10
  _✨Nonebot & Left 4 Dead 2 server操作✨_
11
11
  <div align = "center">
12
- <a href="https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/wiki/%E6%96%87%E6%A1%A3" target="_blank">文档</a> &nbsp; · &nbsp;
13
- <a href="https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/wiki/%E6%96%87%E6%A1%A3#zl" target="_blank">指令列表</a> &nbsp; · &nbsp;
14
- <a href="https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/wiki/BUG%E5%8F%8D%E9%A6%88">常见问题</a>
12
+ <a href="https://github.com/Agnes4m/nonebot_plugin_l4d2_server/wiki/%E6%96%87%E6%A1%A3" target="_blank">文档</a> &nbsp; · &nbsp;
13
+ <a href="https://github.com/Agnes4m/nonebot_plugin_l4d2_server/wiki/%E6%96%87%E6%A1%A3#zl" target="_blank">指令列表</a> &nbsp; · &nbsp;
14
+ <a href="https://github.com/Agnes4m/nonebot_plugin_l4d2_server/wiki/BUG%E5%8F%8D%E9%A6%88">常见问题</a>
15
15
  </div><br>
16
- <a href="https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/stargazers">
17
- <img alt="GitHub stars" src="https://img.shields.io/github/stars/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server" alt="stars">
16
+ <a href="https://github.com/Agnes4m/nonebot_plugin_l4d2_server/stargazers">
17
+ <img alt="GitHub stars" src="https://img.shields.io/github/stars/Agnes4m/nonebot_plugin_l4d2_server" alt="stars">
18
18
  </a>
19
- <a href="https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/issues">
20
- <img alt="GitHub issues" src="https://img.shields.io/github/issues/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server" alt="issues">
19
+ <a href="https://github.com/Agnes4m/nonebot_plugin_l4d2_server/issues">
20
+ <img alt="GitHub issues" src="https://img.shields.io/github/issues/Agnes4m/nonebot_plugin_l4d2_server" alt="issues">
21
21
  </a>
22
22
  <a href="https://jq.qq.com/?_wv=1027&k=HdjoCcAe">
23
23
  <img src="https://img.shields.io/badge/QQ%E7%BE%A4-399365126-orange?style=flat-square" alt="QQ Chat Group">
@@ -47,7 +47,7 @@ _✨Nonebot & Left 4 Dead 2 server操作✨_
47
47
 
48
48
  ## 新文档(暂未完成)
49
49
 
50
- [点击这里](https://umamusume-agnes-digital.github.io/l4d2)
50
+ [点击这里](https://Agnes4m.github.io/l4d2)
51
51
 
52
52
  <h2 id="gn">主要功能</h2>
53
53
 
@@ -113,6 +113,10 @@ _✨Nonebot & Left 4 Dead 2 server操作✨_
113
113
  <summary>展开/收起</summary>
114
114
 
115
115
 
116
+ ### 0.4.4--2022.4.9
117
+
118
+ - 修bug(恼)
119
+
116
120
  ### 0.4.2--2022.4.9
117
121
 
118
122
  - 修复响应开头匹配出现的重大bug
@@ -310,13 +314,13 @@ _✨Nonebot & Left 4 Dead 2 server操作✨_
310
314
  + 本人技术很差,如果您有发现BUG或者更好的建议,欢迎提Issue & Pr
311
315
  + 如果本插件对你有帮助,不要忘了点个Star~
312
316
  + 本项目仅供学习使用,请勿用于商业用途
313
- + [GPL-3.0 License](https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/blob/main/LICENSE) ©[@Umamusume-Agnes-Digital](https://github.com/Umamusume-Agnes-Digital)
317
+ + [GPL-3.0 License](https://github.com/Agnes4m/nonebot_plugin_l4d2_server/blob/main/LICENSE) ©[@Agnes4m](https://github.com/Agnes4m)
314
318
 
315
319
 
316
320
  <h2 id="ty">🌐 感谢</h2>
317
321
 
318
322
  - [修仙](https://github.com/s52047qwas/nonebot_plugin_xiuxian) - 数据库的写法来自于他
319
- - [自己写的求生之路查询库](https://github.com/Umamusume-Agnes-Digital/VSQ)(已弃用)
323
+ - [自己写的求生之路查询库](https://github.com/Agnes4m/VSQ)(已弃用)
320
324
  - [@MeetWq](https://github.com/MeetWq) - 非常热心解答nonebot2相关的写法
321
325
  - [可爱小Q](https://github.com/MeetWq/mybot) - 服务器图片写法参考小Q帮助
322
326
  - [群聊学习](https://github.com/CMHopeSunshine/nonebot-plugin-learning-chat) - web控制台的写法来自于他
@@ -39,20 +39,22 @@ from .l4d2_file import updown_l4d2_vpk,all_zip_to_one
39
39
  from .txt_to_img import mode_txt_to_img
40
40
  # from .l4d2_server import RCONClient
41
41
  scheduler = require("nonebot_plugin_apscheduler").scheduler
42
-
43
- from .l4d2_web import web,webUI
42
+ if l4_web:
43
+ from .l4d2_web import web,webUI
44
+ else:
45
+ pass
44
46
 
45
47
  driver = get_driver()
46
48
 
47
49
 
48
- __version__ = "0.4.2"
50
+ __version__ = "0.4.3"
49
51
  __plugin_meta__ = PluginMetadata(
50
52
  name="求生之路小助手",
51
53
  description='群内对有关求生之路的查询和操作',
52
54
  usage='求生服务器操作指令',
53
55
  extra={
54
56
  "version": __version__,
55
- "author": "Umamusume-Agnes-Digital <Z735803792@163.com>",
57
+ "author": "Agnes4m <Z735803792@163.com>",
56
58
  },
57
59
  )
58
60
 
@@ -5,11 +5,9 @@ from nonebot import on_notice,on_command,on_regex,on_keyword
5
5
  from nonebot.params import CommandArg,RawCommand,CommandStart
6
6
  from nonebot.matcher import Matcher
7
7
  import nonebot
8
- from nonebot.permission import SUPERUSER
9
8
  from nonebot.adapters.onebot.v11 import (
10
9
  GroupUploadNoticeEvent,
11
10
  NoticeEvent,
12
- Bot,
13
11
  MessageEvent,
14
12
  Message,
15
13
  MessageSegment,
@@ -10,7 +10,6 @@ from ..seach import *
10
10
  from ..l4d2_data.players import L4D2Player
11
11
  from ..l4d2_image import out_png
12
12
  # from .anne_telecom import ANNE_API
13
- from ..l4d2_queries.ohter import ALL_HOST
14
13
 
15
14
 
16
15
  s = L4D2Player()
@@ -1,8 +1,7 @@
1
- from PIL import Image
1
+ # from PIL import Image
2
2
  import httpx
3
3
  import aiohttp
4
4
  # from bs4 import BeautifulSoup
5
- import io
6
5
  from urllib.parse import unquote
7
6
 
8
7
 
@@ -3,7 +3,7 @@ from typing import List, Dict
3
3
  from pathlib import Path
4
4
 
5
5
  from pydantic import BaseModel, Field
6
- from nonebot import logger
6
+
7
7
  from ruamel import yaml
8
8
 
9
9
 
@@ -132,7 +132,6 @@ async def init_web():
132
132
  try:
133
133
  from ..command import ALL_HOST
134
134
  this_ips = ALL_HOST
135
- print(ALL_HOST)
136
135
  ip_lists = []
137
136
  for ip_list, v in this_ips.items():
138
137
  for d in v:
@@ -140,7 +139,6 @@ async def init_web():
140
139
  ip_lists.append((d['id'], ip_list, host, port))
141
140
  data_dict = await qq_ip_querie(ip_lists)
142
141
  data_list = data_dict['msg_list']
143
- print(data_list)
144
142
  return {
145
143
  'status': 0,
146
144
  'msg': 'ok',
@@ -7,7 +7,6 @@ from .config import l4_font
7
7
  """直接超的智障回复"""
8
8
  def txt_to_img(text: str, font_size=30, font_path=l4_font) -> bytes:
9
9
  text = line_break(text)
10
- print(font_path)
11
10
  d_font = ImageFont.truetype(font_path, font_size)
12
11
  lines = text.count('\n') # 计算行数
13
12
  image = Image.new("L", (LINE_CHAR_COUNT*font_size //
@@ -132,7 +132,6 @@ async def command_server(msg: str):
132
132
 
133
133
  async def queries_server(msg:list) -> str:
134
134
  """查询ip返回信息"""
135
- print(msg)
136
135
  ip = msg[0]
137
136
  port = msg[1]
138
137
  msgs = ''
@@ -1,12 +1,12 @@
1
1
  [tool.poetry]
2
2
  name = "nonebot-plugin-l4d2-server"
3
- version = "0.4.2"
3
+ version = "0.4.4"
4
4
  description = "L4D2 server related operations plugin for NoneBot2"
5
5
  authors = ["Agnes_Digital <Z735803792@163.com>"]
6
6
  license = "GPLv3"
7
7
  readme = "README.md"
8
- homepage = "https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server"
9
- repository = "https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server"
8
+ homepage = "https://github.com/Agnes4m/nonebot_plugin_l4d2_server"
9
+ repository = "https://github.com/Agnes4m/nonebot_plugin_l4d2_server"
10
10
  keywords = ["steam", "game", "l4d2", "nonebot2", "plugin"]
11
11
  classifiers = [
12
12
  "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
@@ -22,8 +22,8 @@ include = [
22
22
  ]
23
23
 
24
24
  [tool.poetry.dependencies]
25
- python = "^3.8"
26
- nonebot2 = "^2.0.0rc3"
25
+ python = "^3.9"
26
+ nonebot2 = "^2.0.0rc4"
27
27
  nonebot-adapter-onebot = ">=2.1.5"
28
28
  nonebot_plugin_htmlrender = "^0.2.0.1"
29
29
  nonebot_plugin_txt2img = ">=0.3.0"
@@ -37,12 +37,14 @@ rcon = "^2.1.0"
37
37
  pillow = "^9.3.0"
38
38
  aiohttp = "^3.8.3"
39
39
  pyunpack = "^0.3.0"
40
+ "ruamel.yaml" = "^0.17.21"
40
41
  rarfile = "^4.0"
41
42
  patool = "^1.12"
42
43
  python-a2s = "^1.3.0"
43
44
  amis-python = "^1.0.6"
44
45
  jieba = "^0.42.1"
45
46
  pandas = ">=1.5.2"
47
+ python-jose = "^3.3.0"
46
48
 
47
49
  [build-system]
48
50
  requires = ["poetry-core>=1.0.0"]
@@ -0,0 +1,61 @@
1
+ # -*- coding: utf-8 -*-
2
+ from setuptools import setup
3
+
4
+ packages = \
5
+ ['nonebot_plugin_l4d2_server',
6
+ 'nonebot_plugin_l4d2_server.l4d2_anne',
7
+ 'nonebot_plugin_l4d2_server.l4d2_data',
8
+ 'nonebot_plugin_l4d2_server.l4d2_file',
9
+ 'nonebot_plugin_l4d2_server.l4d2_image',
10
+ 'nonebot_plugin_l4d2_server.l4d2_queries',
11
+ 'nonebot_plugin_l4d2_server.l4d2_server',
12
+ 'nonebot_plugin_l4d2_server.l4d2_web']
13
+
14
+ package_data = \
15
+ {'': ['*'],
16
+ 'nonebot_plugin_l4d2_server': ['data/L4D2/image/head/*',
17
+ 'data/L4D2/image/header/*',
18
+ 'data/L4D2/image/template/*']}
19
+
20
+ install_requires = \
21
+ ['aiohttp>=3.8.3,<4.0.0',
22
+ 'amis-python>=1.0.6,<2.0.0',
23
+ 'asyncio>=3.4.3',
24
+ 'beautifulsoup4>=4.8.0',
25
+ 'httpx>=0.23.3,<0.24.0',
26
+ 'jieba>=0.42.1,<0.43.0',
27
+ 'jinja2>=3.0.0',
28
+ 'nonebot-adapter-onebot>=2.1.5',
29
+ 'nonebot2>=2.0.0rc4,<3.0.0',
30
+ 'nonebot_plugin_apscheduler>=0.2.0,<0.3.0',
31
+ 'nonebot_plugin_htmlrender>=0.2.0.1,<0.3.0.0',
32
+ 'nonebot_plugin_txt2img>=0.3.0',
33
+ 'pandas>=1.5.2',
34
+ 'patool>=1.12,<2.0',
35
+ 'pillow>=9.3.0,<10.0.0',
36
+ 'python-a2s>=1.3.0,<2.0.0',
37
+ 'python-jose>=3.3.0,<4.0.0',
38
+ 'pyunpack>=0.3.0,<0.4.0',
39
+ 'rarfile>=4.0,<5.0',
40
+ 'rcon>=2.1.0,<3.0.0',
41
+ 'ruamel.yaml>=0.17.21,<0.18.0',
42
+ 'srctools>=2.3.9,<3.0.0']
43
+
44
+ setup_kwargs = {
45
+ 'name': 'nonebot-plugin-l4d2-server',
46
+ 'version': '0.4.4',
47
+ 'description': 'L4D2 server related operations plugin for NoneBot2',
48
+ 'long_description': '<div align="center">\n <img src="https://raw.githubusercontent.com/Agnes4m/nonebot_plugin_l4d2_server/main/image/logo.png" width="180" height="180" alt="AgnesDigitalLogo">\n <br>\n <p><img src="https://s2.loli.net/2022/06/16/xsVUGRrkbn1ljTD.png" width="240" alt="NoneBotPluginText"></p>\n</div>\n\n<div align="center">\n\n# nonebot_plugin_l4d2_server\n_✨Nonebot & Left 4 Dead 2 server操作✨_\n<div align = "center">\n <a href="https://github.com/Agnes4m/nonebot_plugin_l4d2_server/wiki/%E6%96%87%E6%A1%A3" target="_blank">文档</a> &nbsp; · &nbsp;\n <a href="https://github.com/Agnes4m/nonebot_plugin_l4d2_server/wiki/%E6%96%87%E6%A1%A3#zl" target="_blank">指令列表</a> &nbsp; · &nbsp;\n <a href="https://github.com/Agnes4m/nonebot_plugin_l4d2_server/wiki/BUG%E5%8F%8D%E9%A6%88">常见问题</a>\n</div><br>\n<a href="https://github.com/Agnes4m/nonebot_plugin_l4d2_server/stargazers">\n <img alt="GitHub stars" src="https://img.shields.io/github/stars/Agnes4m/nonebot_plugin_l4d2_server" alt="stars">\n</a>\n<a href="https://github.com/Agnes4m/nonebot_plugin_l4d2_server/issues">\n <img alt="GitHub issues" src="https://img.shields.io/github/issues/Agnes4m/nonebot_plugin_l4d2_server" alt="issues">\n</a>\n<a href="https://jq.qq.com/?_wv=1027&k=HdjoCcAe">\n <img src="https://img.shields.io/badge/QQ%E7%BE%A4-399365126-orange?style=flat-square" alt="QQ Chat Group">\n</a>\n<a href="https://pypi.python.org/pypi/nonebot_plugin_l4d2_server">\n <img src="https://img.shields.io/pypi/v/nonebot_plugin_l4d2_server.svg" alt="pypi">\n</a>\n<a href="https://pypi.python.org/pypi/nonebot_plugin_l4d2_server">\n <img src="https://img.shields.io/pypi/dm/nonebot_plugin_l4d2_server" alt="pypi download">\n</a>\n <img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="python">\n <img src="https://img.shields.io/badge/nonebot-2.0.0rc3-red.svg" alt="NoneBot">\n</div>\n\n\n## 快速使用(env示例)\n # 复制到env文件里,没有默认就是下列值,如需修改安装下面env设置\n # 所有的多选,用逗号隔开\n l4_master = [\'1145149191\']\n l4_file = [\'/home/ubuntu/l4d2/coop\']\n l4_host = [\'127.0.0.1\']\n l4_port = [\'20715\']\n l4_rcon = [\'1145149191810\']\n l4_font = \'simsun.ttc\'\n l4_only = True\n\n\n## 新文档(暂未完成)\n\n[点击这里](https://Agnes4m.github.io/l4d2)\n\n<h2 id="gn">主要功能</h2>\n\n- 求生服务器-本地多路径操作(传地图)\n- 批量查询指定ip服务器状态和玩家\n- 创意工坊下载和喷漆制作\n- [求生电信服anne](https://github.com/fantasylidong/CompetitiveWithAnne)[查询~](https://sb.trygek.com/l4d_stats/ranking/index.php)\n\n\n<h2 id="gn">如何获取key</h2>\n\n为了使得ip不被滥用,我采取这种方式管理。\n\n这并不影响正常使用,如果不需要可以忽略\n\n[点击这里加群](https://jq.qq.com/?_wv=1027&k=HdjoCcAe)并在群内发送“申请求生key”\n如果你只查询自己的服务器ip则可以忽略如下,并且更改env设置:\n\n l4_tag = [\'呆呆\',\'橘\'] # 这里是内置可以查询的服的list对象\n l4_key = \'qwertyuiopasdfg\' # 这里是获取的key,是13个字符组成的字符串\n\n\n\n## 🚑 提交自己的服务器?\n\n**本项目原旨在方便自己查询管理服务器,如果你希望提供了ip**\n\n**那么我只能尽可能保证您的ip不会泄漏,如果无法承担风险则请勿提供ip**\n\n\n新增一个json文件,格式如下,文件名与需要响应的指令一致\n\n {\n "呆呆": [\n {\n "id": 1,\n "version": "战役",\n "ip": "43.248.188.17:27031"\n }\n ]\n }\n\n<h2 id="ty">🌐 默认服务器</h2>\n目前 **已授权** 的服务器查询,如果需要加入自己的ip可以进qq群私聊群主\n\n| 指令 | 服务器 | op | 数量 |\n|:-----:|:----:|:----:|:----:|\n| 数码 | 爱丽数码想要涩涩 | 爱丽数码 | 3\n| 云 | anne电信服云服 | 东 | 25\n| 呆呆 | 呆呆的小窝 | 提莫大魔王 | 15\n| 橘 | 橘希实香的小窝 | 橘希实香 | 13\n| 竹 | 竹烨 | 竹烨oО柠檬茶 | 9\n| 音理 | 星空列车与白的旅行 | 音理 | 3\n| 尤 | 尤尤 | 晓音 | 3\n| 鱼 | 飞鱼の小窝 | 飞鱼桑 | 3\n| 恋恋 | 恋氏集团雪糕制作研究中心 | 古明地恋 | 1\n| Air | Air | Air | 15\n\n\n## 🔖 更新日志\n\n<details>\n<summary>展开/收起</summary>\n\n\n### 0.4.4--2022.4.9\n\n- 修bug(恼)\n\n### 0.4.2--2022.4.9\n\n - 修复响应开头匹配出现的重大bug\n - 启用web端\n - web使用yaml管理,未来可能删除env配置\n\n### 0.4.1--2022.3\n\n - 修复rar压缩包命名错误\n - 更新了tag的参数读取方式\n - 确定了传文件私聊比群聊快速\n - 修复了电信服计算错误\n\n### 0.4.0--2022.3.27\n\n - 新增web控制台\n - 修复传图超时参数错误\n - 重写求生ip获取方法 ~ 数据库苦手 ~\n - 重写文档\n - 不再内置ip(毕竟ipv4都暴露太危险了)\n\n### 0.3.7--2022.3\n\n - 新增三方下载网盘\n - 修复windows上传临时文件错误\n - 优化查服流程\n - 优化anne服随机功能\n\n### 0.3.6--2022.3.10\n\n - 暂时关闭web端,后续修改\n - 优化图片显示\n - 修复了海量bug\n - 新增三方图查询\n\n### 0.3.5--2022.3.6\n\n - 新增ping查询(在ip里包括)\n - 新增api查询(未完成)\n - 修复了电信服查询绑定名字无法查询的错误\n - 新增了救援率的显示\n - 新增web端(未完成)\n\n### 0.3.4--2022.3.1\n\n - 新增本地插件smx查询\n - 增加了三个内置群服\n - 修改了图片的UI,变好看了\n - 删减了部分图片和字体,使得轻量化\n - 修复了海量bug\n - 修复了python3.8中typing错误\n\n### 0.3.3--2022.2.26\n\n - 重写协议,使用a2s库,同时解决win端不同报错无法输出\n - 重~抄~写服务器查询UI,解决了不好看的问题\n - 从win测试,解决了一些win特有的bug\n - 重写服务器查询~还得是json~\n - 内置服务器查询系统,可以通过[服务器简称]+[number]/[模式]来访问\n - 新增批量查询服务器,不带参数则返回图片\n\n### 0.3.1--2022.2.22\n\n - 修复了路径识别为str对象的错误\n - 修复了初始化找不到文件的错误\n - 修复了路径拼接错误\n - 在win端成功测试,修复压缩包bug\n - 新增开关协程异步env设置\n - 测试rcon建立通讯\n - 实现切换路径查看地图和使用rcon指令\n\n### 0.3.0--2022.2.18\n\n - 修改了新的env配置,使得支持本地多服务器操作\n - 彻底解决了压缩包解压linux端的问题\n - 解决了win端默认gbk解码的错误\n - 解决rcon指令字体报错\n\n### 0.2.5--2022.2.10\n\n - 修复了依赖不足的bug\n - 更新了电信服战绩个人图片UI\n - 更新了批量服务器查看的UI\n - 修改了传文件为协程异步\n - 优化了部分rcon指令\n - ~tnd7z怎么不去死啊~使用pyunpack库解压7z\n\n### 0.2.4--2022.2.8\n\n - 使用poetry修复了pip安装文件缺失的bug\n\n### 0.2.3--2022.2.7\n\n - 新增坐牢和开牢\n - 修改了获取资源为异步协程却阻碍其他指令的bug\n - 新增json统计部分已知服务器(未来应该独立成库持续更新,如果把您的非公开服记录请联系我删除)\n - 喷剂制作开摆了,推测需要c/c++环境\n - 修改抽取文案\n - 新增查询服务器状态时返回connect ip\n - 修复了服务器查询无响应的时候,因为报错无回复信息的bug\n - 个人信息重置测试代码,下个版本更新\n - 新增求生更新添加和删除\n\n### 0.2.2--2022.2.1\n\n - 新增探监\n - 新增喷漆制作\n - 修复了魔改服务器导致解包错误的bug(就是直接忽略了)\n - 修改了部分对话响应\n\n### 0.2.1--2022.1.25\n\n - 新增电信服获取(东哥的肯定)\n - 优化图片UI \n - 新增云服快捷查询\n - 修复了因为没用玩家,导致的服务器状态查询错误\n - 新增电信服ip爬取(仅仅作为单次更新ip列表)\n\n### 0.2.0--2022.1.21\n\n - 新增创意工坊查询\n - 优化查询图片UI\n - 新增创意工坊文件下载\n - 修复了因为电信服官网前端修改导致查询失败的BUG\n\n### 0.1.7--2022.1.19\n\n - 新增群ip订阅,批量查询\n - 新增图片显示ip状态\n - 修复了因为玩家名字特殊字符导致的utf-8解码错误\n - 更新自己的第三方库VSQ==0.0.6\n\n### 0.1.6--2022.1.15\n\n - 新增ip查询服务器提供玩家数量和名字\n - 增加协程函数修复因为加载顺序导致的错误\n - 更新自己的第三方库VSQ==0.0.4\n\n### 0.1.5--2022.1.15\n\n- 新增服务器控制台指令,新增依赖rcon\n- 重新了数据库,不再使用json而是使用sql3\n- 改写了求生anne信息显示方式:如果单个数据以图片显示,如果多个数据以文字显示\n\n### 0.1.4--2022.1.9\n\n- 新增求生anne详情(看排名)\n- 所有的请求改为httpx\n- 更新了anne信息图片\n- 可选使用模拟谷歌浏览器来获取anne更多数据(~有点屎了,希望大佬救救~)\n\n### 0.1.3--2022.1.7\n\n- 新增绑定昵称和steamid\n- 新增可以艾特人查询anne成绩\n- 新增解绑信息\n\n### 0.1.2--2022.1.6\n\n- 新增支持图片输出\n- 新增查询anne服数据\n\n### 0.1.1--2022.1.5\n\n- 新增删除地图\n- 新增地图改名\n- 新增支持图片输出\n\n### 0.1.0--2022.1.4\n\n- 集中修复了Bug\n\n### 0.0.9--2022.1.4\n\n- 新增上传地图后,检测对比回复新地图名字\n- 修复中文名乱码问题\n\n### 0.0.8--2022.1.4\n\n- 支持vpk格式地图\n- 支持查看所有vpk格式文件\n\n### 0.0.6--2022.1.3\n\n- 修复了7z压缩包的方式,优化代码\n\n### 0.0.1--2022.1.3\n\n- 插件初次发布,可私聊添加地图\n\n</details>\n\n## 🙈 其他\n\n+ 本人技术很差,如果您有发现BUG或者更好的建议,欢迎提Issue & Pr\n+ 如果本插件对你有帮助,不要忘了点个Star~\n+ 本项目仅供学习使用,请勿用于商业用途\n+ [GPL-3.0 License](https://github.com/Agnes4m/nonebot_plugin_l4d2_server/blob/main/LICENSE) ©[@Agnes4m](https://github.com/Agnes4m)\n \n\n<h2 id="ty">🌐 感谢</h2>\n\n- [修仙](https://github.com/s52047qwas/nonebot_plugin_xiuxian) - 数据库的写法来自于他\n- [自己写的求生之路查询库](https://github.com/Agnes4m/VSQ)(已弃用)\n- [@MeetWq](https://github.com/MeetWq) - 非常热心解答nonebot2相关的写法\n - [可爱小Q](https://github.com/MeetWq/mybot) - 服务器图片写法参考小Q帮助\n- [群聊学习](https://github.com/CMHopeSunshine/nonebot-plugin-learning-chat) - web控制台的写法来自于他\n- [gsuid](https://github.com/KimigaiiWuyi/GenshinUID) - readme和wiki的格式参考\n- 呆呆 - 提供三方地图的详细数据\n',
49
+ 'author': 'Agnes_Digital',
50
+ 'author_email': 'Z735803792@163.com',
51
+ 'maintainer': 'None',
52
+ 'maintainer_email': 'None',
53
+ 'url': 'https://github.com/Agnes4m/nonebot_plugin_l4d2_server',
54
+ 'packages': packages,
55
+ 'package_data': package_data,
56
+ 'install_requires': install_requires,
57
+ 'python_requires': '>=3.9,<4.0',
58
+ }
59
+
60
+
61
+ setup(**setup_kwargs)
@@ -1,59 +0,0 @@
1
- # -*- coding: utf-8 -*-
2
- from setuptools import setup
3
-
4
- packages = \
5
- ['nonebot_plugin_l4d2_server',
6
- 'nonebot_plugin_l4d2_server.l4d2_anne',
7
- 'nonebot_plugin_l4d2_server.l4d2_data',
8
- 'nonebot_plugin_l4d2_server.l4d2_file',
9
- 'nonebot_plugin_l4d2_server.l4d2_image',
10
- 'nonebot_plugin_l4d2_server.l4d2_queries',
11
- 'nonebot_plugin_l4d2_server.l4d2_server',
12
- 'nonebot_plugin_l4d2_server.l4d2_web']
13
-
14
- package_data = \
15
- {'': ['*'],
16
- 'nonebot_plugin_l4d2_server': ['data/L4D2/image/head/*',
17
- 'data/L4D2/image/header/*',
18
- 'data/L4D2/image/template/*']}
19
-
20
- install_requires = \
21
- ['aiohttp>=3.8.3,<4.0.0',
22
- 'amis-python>=1.0.6,<2.0.0',
23
- 'asyncio>=3.4.3',
24
- 'beautifulsoup4>=4.8.0',
25
- 'httpx>=0.23.3,<0.24.0',
26
- 'jieba>=0.42.1,<0.43.0',
27
- 'jinja2>=3.0.0',
28
- 'nonebot-adapter-onebot>=2.1.5',
29
- 'nonebot2>=2.0.0rc3,<3.0.0',
30
- 'nonebot_plugin_apscheduler>=0.2.0,<0.3.0',
31
- 'nonebot_plugin_htmlrender>=0.2.0.1,<0.3.0.0',
32
- 'nonebot_plugin_txt2img>=0.3.0',
33
- 'pandas>=1.5.2',
34
- 'patool>=1.12,<2.0',
35
- 'pillow>=9.3.0,<10.0.0',
36
- 'python-a2s>=1.3.0,<2.0.0',
37
- 'pyunpack>=0.3.0,<0.4.0',
38
- 'rarfile>=4.0,<5.0',
39
- 'rcon>=2.1.0,<3.0.0',
40
- 'srctools>=2.3.9,<3.0.0']
41
-
42
- setup_kwargs = {
43
- 'name': 'nonebot-plugin-l4d2-server',
44
- 'version': '0.4.2',
45
- 'description': 'L4D2 server related operations plugin for NoneBot2',
46
- 'long_description': '<div align="center">\n <img src="https://raw.githubusercontent.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/main/image/logo.png" width="180" height="180" alt="AgnesDigitalLogo">\n <br>\n <p><img src="https://s2.loli.net/2022/06/16/xsVUGRrkbn1ljTD.png" width="240" alt="NoneBotPluginText"></p>\n</div>\n\n<div align="center">\n\n# nonebot_plugin_l4d2_server\n_✨Nonebot & Left 4 Dead 2 server操作✨_\n<div align = "center">\n <a href="https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/wiki/%E6%96%87%E6%A1%A3" target="_blank">文档</a> &nbsp; · &nbsp;\n <a href="https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/wiki/%E6%96%87%E6%A1%A3#zl" target="_blank">指令列表</a> &nbsp; · &nbsp;\n <a href="https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/wiki/BUG%E5%8F%8D%E9%A6%88">常见问题</a>\n</div><br>\n<a href="https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/stargazers">\n <img alt="GitHub stars" src="https://img.shields.io/github/stars/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server" alt="stars">\n</a>\n<a href="https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/issues">\n <img alt="GitHub issues" src="https://img.shields.io/github/issues/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server" alt="issues">\n</a>\n<a href="https://jq.qq.com/?_wv=1027&k=HdjoCcAe">\n <img src="https://img.shields.io/badge/QQ%E7%BE%A4-399365126-orange?style=flat-square" alt="QQ Chat Group">\n</a>\n<a href="https://pypi.python.org/pypi/nonebot_plugin_l4d2_server">\n <img src="https://img.shields.io/pypi/v/nonebot_plugin_l4d2_server.svg" alt="pypi">\n</a>\n<a href="https://pypi.python.org/pypi/nonebot_plugin_l4d2_server">\n <img src="https://img.shields.io/pypi/dm/nonebot_plugin_l4d2_server" alt="pypi download">\n</a>\n <img src="https://img.shields.io/badge/python-3.8+-blue.svg" alt="python">\n <img src="https://img.shields.io/badge/nonebot-2.0.0rc3-red.svg" alt="NoneBot">\n</div>\n\n\n## 快速使用(env示例)\n # 复制到env文件里,没有默认就是下列值,如需修改安装下面env设置\n # 所有的多选,用逗号隔开\n l4_master = [\'1145149191\']\n l4_file = [\'/home/ubuntu/l4d2/coop\']\n l4_host = [\'127.0.0.1\']\n l4_port = [\'20715\']\n l4_rcon = [\'1145149191810\']\n l4_font = \'simsun.ttc\'\n l4_only = True\n\n\n## 新文档(暂未完成)\n\n[点击这里](https://umamusume-agnes-digital.github.io/l4d2)\n\n<h2 id="gn">主要功能</h2>\n\n- 求生服务器-本地多路径操作(传地图)\n- 批量查询指定ip服务器状态和玩家\n- 创意工坊下载和喷漆制作\n- [求生电信服anne](https://github.com/fantasylidong/CompetitiveWithAnne)[查询~](https://sb.trygek.com/l4d_stats/ranking/index.php)\n\n\n<h2 id="gn">如何获取key</h2>\n\n为了使得ip不被滥用,我采取这种方式管理。\n\n这并不影响正常使用,如果不需要可以忽略\n\n[点击这里加群](https://jq.qq.com/?_wv=1027&k=HdjoCcAe)并在群内发送“申请求生key”\n如果你只查询自己的服务器ip则可以忽略如下,并且更改env设置:\n\n l4_tag = [\'呆呆\',\'橘\'] # 这里是内置可以查询的服的list对象\n l4_key = \'qwertyuiopasdfg\' # 这里是获取的key,是13个字符组成的字符串\n\n\n\n## 🚑 提交自己的服务器?\n\n**本项目原旨在方便自己查询管理服务器,如果你希望提供了ip**\n\n**那么我只能尽可能保证您的ip不会泄漏,如果无法承担风险则请勿提供ip**\n\n\n新增一个json文件,格式如下,文件名与需要响应的指令一致\n\n {\n "呆呆": [\n {\n "id": 1,\n "version": "战役",\n "ip": "43.248.188.17:27031"\n }\n ]\n }\n\n<h2 id="ty">🌐 默认服务器</h2>\n目前 **已授权** 的服务器查询,如果需要加入自己的ip可以进qq群私聊群主\n\n| 指令 | 服务器 | op | 数量 |\n|:-----:|:----:|:----:|:----:|\n| 数码 | 爱丽数码想要涩涩 | 爱丽数码 | 3\n| 云 | anne电信服云服 | 东 | 25\n| 呆呆 | 呆呆的小窝 | 提莫大魔王 | 15\n| 橘 | 橘希实香的小窝 | 橘希实香 | 13\n| 竹 | 竹烨 | 竹烨oО柠檬茶 | 9\n| 音理 | 星空列车与白的旅行 | 音理 | 3\n| 尤 | 尤尤 | 晓音 | 3\n| 鱼 | 飞鱼の小窝 | 飞鱼桑 | 3\n| 恋恋 | 恋氏集团雪糕制作研究中心 | 古明地恋 | 1\n| Air | Air | Air | 15\n\n\n## 🔖 更新日志\n\n<details>\n<summary>展开/收起</summary>\n\n\n### 0.4.2--2022.4.9\n\n - 修复响应开头匹配出现的重大bug\n - 启用web端\n - web使用yaml管理,未来可能删除env配置\n\n### 0.4.1--2022.3\n\n - 修复rar压缩包命名错误\n - 更新了tag的参数读取方式\n - 确定了传文件私聊比群聊快速\n - 修复了电信服计算错误\n\n### 0.4.0--2022.3.27\n\n - 新增web控制台\n - 修复传图超时参数错误\n - 重写求生ip获取方法 ~ 数据库苦手 ~\n - 重写文档\n - 不再内置ip(毕竟ipv4都暴露太危险了)\n\n### 0.3.7--2022.3\n\n - 新增三方下载网盘\n - 修复windows上传临时文件错误\n - 优化查服流程\n - 优化anne服随机功能\n\n### 0.3.6--2022.3.10\n\n - 暂时关闭web端,后续修改\n - 优化图片显示\n - 修复了海量bug\n - 新增三方图查询\n\n### 0.3.5--2022.3.6\n\n - 新增ping查询(在ip里包括)\n - 新增api查询(未完成)\n - 修复了电信服查询绑定名字无法查询的错误\n - 新增了救援率的显示\n - 新增web端(未完成)\n\n### 0.3.4--2022.3.1\n\n - 新增本地插件smx查询\n - 增加了三个内置群服\n - 修改了图片的UI,变好看了\n - 删减了部分图片和字体,使得轻量化\n - 修复了海量bug\n - 修复了python3.8中typing错误\n\n### 0.3.3--2022.2.26\n\n - 重写协议,使用a2s库,同时解决win端不同报错无法输出\n - 重~抄~写服务器查询UI,解决了不好看的问题\n - 从win测试,解决了一些win特有的bug\n - 重写服务器查询~还得是json~\n - 内置服务器查询系统,可以通过[服务器简称]+[number]/[模式]来访问\n - 新增批量查询服务器,不带参数则返回图片\n\n### 0.3.1--2022.2.22\n\n - 修复了路径识别为str对象的错误\n - 修复了初始化找不到文件的错误\n - 修复了路径拼接错误\n - 在win端成功测试,修复压缩包bug\n - 新增开关协程异步env设置\n - 测试rcon建立通讯\n - 实现切换路径查看地图和使用rcon指令\n\n### 0.3.0--2022.2.18\n\n - 修改了新的env配置,使得支持本地多服务器操作\n - 彻底解决了压缩包解压linux端的问题\n - 解决了win端默认gbk解码的错误\n - 解决rcon指令字体报错\n\n### 0.2.5--2022.2.10\n\n - 修复了依赖不足的bug\n - 更新了电信服战绩个人图片UI\n - 更新了批量服务器查看的UI\n - 修改了传文件为协程异步\n - 优化了部分rcon指令\n - ~tnd7z怎么不去死啊~使用pyunpack库解压7z\n\n### 0.2.4--2022.2.8\n\n - 使用poetry修复了pip安装文件缺失的bug\n\n### 0.2.3--2022.2.7\n\n - 新增坐牢和开牢\n - 修改了获取资源为异步协程却阻碍其他指令的bug\n - 新增json统计部分已知服务器(未来应该独立成库持续更新,如果把您的非公开服记录请联系我删除)\n - 喷剂制作开摆了,推测需要c/c++环境\n - 修改抽取文案\n - 新增查询服务器状态时返回connect ip\n - 修复了服务器查询无响应的时候,因为报错无回复信息的bug\n - 个人信息重置测试代码,下个版本更新\n - 新增求生更新添加和删除\n\n### 0.2.2--2022.2.1\n\n - 新增探监\n - 新增喷漆制作\n - 修复了魔改服务器导致解包错误的bug(就是直接忽略了)\n - 修改了部分对话响应\n\n### 0.2.1--2022.1.25\n\n - 新增电信服获取(东哥的肯定)\n - 优化图片UI \n - 新增云服快捷查询\n - 修复了因为没用玩家,导致的服务器状态查询错误\n - 新增电信服ip爬取(仅仅作为单次更新ip列表)\n\n### 0.2.0--2022.1.21\n\n - 新增创意工坊查询\n - 优化查询图片UI\n - 新增创意工坊文件下载\n - 修复了因为电信服官网前端修改导致查询失败的BUG\n\n### 0.1.7--2022.1.19\n\n - 新增群ip订阅,批量查询\n - 新增图片显示ip状态\n - 修复了因为玩家名字特殊字符导致的utf-8解码错误\n - 更新自己的第三方库VSQ==0.0.6\n\n### 0.1.6--2022.1.15\n\n - 新增ip查询服务器提供玩家数量和名字\n - 增加协程函数修复因为加载顺序导致的错误\n - 更新自己的第三方库VSQ==0.0.4\n\n### 0.1.5--2022.1.15\n\n- 新增服务器控制台指令,新增依赖rcon\n- 重新了数据库,不再使用json而是使用sql3\n- 改写了求生anne信息显示方式:如果单个数据以图片显示,如果多个数据以文字显示\n\n### 0.1.4--2022.1.9\n\n- 新增求生anne详情(看排名)\n- 所有的请求改为httpx\n- 更新了anne信息图片\n- 可选使用模拟谷歌浏览器来获取anne更多数据(~有点屎了,希望大佬救救~)\n\n### 0.1.3--2022.1.7\n\n- 新增绑定昵称和steamid\n- 新增可以艾特人查询anne成绩\n- 新增解绑信息\n\n### 0.1.2--2022.1.6\n\n- 新增支持图片输出\n- 新增查询anne服数据\n\n### 0.1.1--2022.1.5\n\n- 新增删除地图\n- 新增地图改名\n- 新增支持图片输出\n\n### 0.1.0--2022.1.4\n\n- 集中修复了Bug\n\n### 0.0.9--2022.1.4\n\n- 新增上传地图后,检测对比回复新地图名字\n- 修复中文名乱码问题\n\n### 0.0.8--2022.1.4\n\n- 支持vpk格式地图\n- 支持查看所有vpk格式文件\n\n### 0.0.6--2022.1.3\n\n- 修复了7z压缩包的方式,优化代码\n\n### 0.0.1--2022.1.3\n\n- 插件初次发布,可私聊添加地图\n\n</details>\n\n## 🙈 其他\n\n+ 本人技术很差,如果您有发现BUG或者更好的建议,欢迎提Issue & Pr\n+ 如果本插件对你有帮助,不要忘了点个Star~\n+ 本项目仅供学习使用,请勿用于商业用途\n+ [GPL-3.0 License](https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/blob/main/LICENSE) ©[@Umamusume-Agnes-Digital](https://github.com/Umamusume-Agnes-Digital)\n \n\n<h2 id="ty">🌐 感谢</h2>\n\n- [修仙](https://github.com/s52047qwas/nonebot_plugin_xiuxian) - 数据库的写法来自于他\n- [自己写的求生之路查询库](https://github.com/Umamusume-Agnes-Digital/VSQ)(已弃用)\n- [@MeetWq](https://github.com/MeetWq) - 非常热心解答nonebot2相关的写法\n - [可爱小Q](https://github.com/MeetWq/mybot) - 服务器图片写法参考小Q帮助\n- [群聊学习](https://github.com/CMHopeSunshine/nonebot-plugin-learning-chat) - web控制台的写法来自于他\n- [gsuid](https://github.com/KimigaiiWuyi/GenshinUID) - readme和wiki的格式参考\n- 呆呆 - 提供三方地图的详细数据\n',
47
- 'author': 'Agnes_Digital',
48
- 'author_email': 'Z735803792@163.com',
49
- 'maintainer': 'None',
50
- 'maintainer_email': 'None',
51
- 'url': 'https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server',
52
- 'packages': packages,
53
- 'package_data': package_data,
54
- 'install_requires': install_requires,
55
- 'python_requires': '>=3.8,<4.0',
56
- }
57
-
58
-
59
- setup(**setup_kwargs)