nonebot-plugin-l4d2-server 0.4.0b1__tar.gz → 0.4.0b2__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.
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/PKG-INFO +21 -8
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/README.md +20 -6
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/__init__.py +48 -30
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/command.py +0 -1
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/config.py +0 -16
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_queries/qqgroup.py +0 -9
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/pyproject.toml +1 -1
- nonebot_plugin_l4d2_server-0.4.0b2/setup.py +60 -0
- nonebot_plugin_l4d2_server-0.4.0b1/setup.py +0 -60
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/LICENSE +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/data/L4D2/image/head/head.png +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/data/L4D2/image/header/logo.png +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/data/L4D2/image/header/player1.jpg +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/data/L4D2/image/template/anne.html +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/data/L4D2/image/template/back.png +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/data/L4D2/image/template/fingerprint.svg +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/data/L4D2/image/template/help - /345/211/257/346/234/254.html" +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/data/L4D2/image/template/help.html +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/data/L4D2/image/template/help_dack.html +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/data/L4D2/image/template/ip.html +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/data/L4D2/image/template/vue.css +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_anne/__init__.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_anne/analysis.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_anne/anne_telecom.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_anne/server.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_anne/startand.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_data/__init__.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_data/config.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_data/players.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_data/serverip.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_file/__init__.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_image/__init__.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_image/download.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_image/htmlimg.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_image/send_image_tool.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_image/steam.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_image/vtfs.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_queries/__init__.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_queries/api.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_queries/ohter.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_server/__init__.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_server/rcon.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_server/workshop.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_web/config.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_web/web.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/l4d2_web/webUI.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/message.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/seach.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/txt_to_img.py +0 -0
- {nonebot_plugin_l4d2_server-0.4.0b1 → nonebot_plugin_l4d2_server-0.4.0b2}/nonebot_plugin_l4d2_server/utils.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: nonebot-plugin-l4d2-server
|
3
|
-
Version: 0.4.
|
3
|
+
Version: 0.4.0b2
|
4
4
|
Summary: L4D2 server related operations plugin for NoneBot
|
5
5
|
Home-page: https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server
|
6
6
|
License: MIT
|
@@ -89,6 +89,7 @@ _✨Nonebot & Left 4 Dead 2 server操作✨_
|
|
89
89
|
l4_port = ['20715']
|
90
90
|
l4_rcon = ['1145149191810']
|
91
91
|
l4_font = 'simsun.ttc'
|
92
|
+
l4_tag = ['呆呆']
|
92
93
|
l4_only = True
|
93
94
|
|
94
95
|
<h2 id="gn">主要功能</h2>
|
@@ -99,6 +100,14 @@ _✨Nonebot & Left 4 Dead 2 server操作✨_
|
|
99
100
|
- [求生电信服anne](https://github.com/fantasylidong/CompetitiveWithAnne)[查询~](https://sb.trygek.com/l4d_stats/ranking/index.php)
|
100
101
|
|
101
102
|
|
103
|
+
<h2 id="gn">如何获取key</h2>
|
104
|
+
|
105
|
+
为了使得ip不被滥用,我采取这种方式管理。
|
106
|
+
[点击这里加群](https://jq.qq.com/?_wv=1027&k=HdjoCcAe)
|
107
|
+
如果你只查询自己的服务器ip则可以忽略如下,并且更改env设置:
|
108
|
+
|
109
|
+
l4_tag = []
|
110
|
+
|
102
111
|
|
103
112
|
## 🔖 更新日志
|
104
113
|
|
@@ -284,12 +293,16 @@ _✨Nonebot & Left 4 Dead 2 server操作✨_
|
|
284
293
|
|
285
294
|
</details>
|
286
295
|
|
287
|
-
##
|
296
|
+
## 🙈 其他
|
288
297
|
|
289
|
-
|
298
|
+
+ 本人技术很差,如果您有发现BUG或者更好的建议,欢迎提Issue & Pr
|
299
|
+
+ 如果本插件对你有帮助,不要忘了点个Star~
|
300
|
+
+ 本项目仅供学习使用,请勿用于商业用途
|
301
|
+
+ [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)
|
302
|
+
|
290
303
|
|
291
304
|
|
292
|
-
<h2 id="ty"
|
305
|
+
<h2 id="ty">🌐 感谢</h2>
|
293
306
|
|
294
307
|
- [修仙](https://github.com/s52047qwas/nonebot_plugin_xiuxian) - 数据库的写法来自于他
|
295
308
|
- ~ [自己写的求生之路查询库](https://github.com/Umamusume-Agnes-Digital/VSQ) ~已弃用
|
@@ -299,15 +312,15 @@ _✨Nonebot & Left 4 Dead 2 server操作✨_
|
|
299
312
|
- [gsuid](https://github.com/KimigaiiWuyi/GenshinUID) - readme和wiki的格式参考
|
300
313
|
- 呆呆 - 提供三方地图的详细数据
|
301
314
|
|
302
|
-
|
315
|
+
<h2 id="ty">🌐 默认服务器</h2>
|
316
|
+
目前**已授权**的服务器查询,如果需要加入自己的ip可以进qq群私聊群主
|
303
317
|
|
304
318
|
| 指令 | 服务器 | op | 数量 |
|
305
319
|
|:-----:|:----:|:----:|:----:|
|
306
|
-
| 云 |
|
320
|
+
| 云 | anne电信服云服 | 东 | 22
|
307
321
|
| 呆呆 | 呆呆的小窝 | 提莫大魔王 | 15
|
308
322
|
| 橘 | 橘希实香的小窝 | 橘希实香 | 8
|
309
323
|
| 竹 | 竹烨 | 竹烨oО柠檬茶 | 9
|
310
324
|
| 音理 | 星空列车与白的旅行 | 音理 | 2
|
311
325
|
|
312
|
-
|
313
|
-
|
326
|
+
**如果提供了ip,那么我只能尽可能保证您的ipv4不会泄漏,如果无法承担风险则请勿提供ip**
|
@@ -42,6 +42,7 @@ _✨Nonebot & Left 4 Dead 2 server操作✨_
|
|
42
42
|
l4_port = ['20715']
|
43
43
|
l4_rcon = ['1145149191810']
|
44
44
|
l4_font = 'simsun.ttc'
|
45
|
+
l4_tag = ['呆呆']
|
45
46
|
l4_only = True
|
46
47
|
|
47
48
|
<h2 id="gn">主要功能</h2>
|
@@ -52,6 +53,14 @@ _✨Nonebot & Left 4 Dead 2 server操作✨_
|
|
52
53
|
- [求生电信服anne](https://github.com/fantasylidong/CompetitiveWithAnne)[查询~](https://sb.trygek.com/l4d_stats/ranking/index.php)
|
53
54
|
|
54
55
|
|
56
|
+
<h2 id="gn">如何获取key</h2>
|
57
|
+
|
58
|
+
为了使得ip不被滥用,我采取这种方式管理。
|
59
|
+
[点击这里加群](https://jq.qq.com/?_wv=1027&k=HdjoCcAe)
|
60
|
+
如果你只查询自己的服务器ip则可以忽略如下,并且更改env设置:
|
61
|
+
|
62
|
+
l4_tag = []
|
63
|
+
|
55
64
|
|
56
65
|
## 🔖 更新日志
|
57
66
|
|
@@ -237,12 +246,16 @@ _✨Nonebot & Left 4 Dead 2 server操作✨_
|
|
237
246
|
|
238
247
|
</details>
|
239
248
|
|
240
|
-
##
|
249
|
+
## 🙈 其他
|
241
250
|
|
242
|
-
|
251
|
+
+ 本人技术很差,如果您有发现BUG或者更好的建议,欢迎提Issue & Pr
|
252
|
+
+ 如果本插件对你有帮助,不要忘了点个Star~
|
253
|
+
+ 本项目仅供学习使用,请勿用于商业用途
|
254
|
+
+ [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)
|
255
|
+
|
243
256
|
|
244
257
|
|
245
|
-
<h2 id="ty"
|
258
|
+
<h2 id="ty">🌐 感谢</h2>
|
246
259
|
|
247
260
|
- [修仙](https://github.com/s52047qwas/nonebot_plugin_xiuxian) - 数据库的写法来自于他
|
248
261
|
- ~ [自己写的求生之路查询库](https://github.com/Umamusume-Agnes-Digital/VSQ) ~已弃用
|
@@ -252,14 +265,15 @@ _✨Nonebot & Left 4 Dead 2 server操作✨_
|
|
252
265
|
- [gsuid](https://github.com/KimigaiiWuyi/GenshinUID) - readme和wiki的格式参考
|
253
266
|
- 呆呆 - 提供三方地图的详细数据
|
254
267
|
|
255
|
-
|
268
|
+
<h2 id="ty">🌐 默认服务器</h2>
|
269
|
+
目前**已授权**的服务器查询,如果需要加入自己的ip可以进qq群私聊群主
|
256
270
|
|
257
271
|
| 指令 | 服务器 | op | 数量 |
|
258
272
|
|:-----:|:----:|:----:|:----:|
|
259
|
-
| 云 |
|
273
|
+
| 云 | anne电信服云服 | 东 | 22
|
260
274
|
| 呆呆 | 呆呆的小窝 | 提莫大魔王 | 15
|
261
275
|
| 橘 | 橘希实香的小窝 | 橘希实香 | 8
|
262
276
|
| 竹 | 竹烨 | 竹烨oО柠檬茶 | 9
|
263
277
|
| 音理 | 星空列车与白的旅行 | 音理 | 2
|
264
278
|
|
265
|
-
|
279
|
+
**如果提供了ip,那么我只能尽可能保证您的ipv4不会泄漏,如果无法承担风险则请勿提供ip**
|
@@ -31,7 +31,7 @@ from .l4d2_data import sq_L4D2
|
|
31
31
|
from nonebot import get_driver, require
|
32
32
|
from .l4d2_image.vtfs import img_to_vtf
|
33
33
|
from .l4d2_queries.ohter import load_josn
|
34
|
-
from .l4d2_queries.qqgroup import write_json
|
34
|
+
from .l4d2_queries.qqgroup import write_json
|
35
35
|
from .l4d2_file import updown_l4d2_vpk,all_zip_to_one
|
36
36
|
|
37
37
|
from .txt_to_img import mode_txt_to_img
|
@@ -375,18 +375,6 @@ async def _(args:Message = CommandArg()):
|
|
375
375
|
message = await write_json(msg)
|
376
376
|
await updata.finish(message)
|
377
377
|
|
378
|
-
@read_ip.handle()
|
379
|
-
async def _():
|
380
|
-
img = await qq_ip_queries_pic(ip_anne_list)
|
381
|
-
if img == None:
|
382
|
-
return "电信服的地址请加主群自行填写哦"
|
383
|
-
await read_ip.finish(MessageSegment.image(img))
|
384
|
-
|
385
|
-
@tan_jian.handle()
|
386
|
-
async def _(event:MessageEvent):
|
387
|
-
await tan_jian.send('正在寻找牢房...')
|
388
|
-
msg = await get_tan_jian(ip_anne_list,1)
|
389
|
-
await tan_jian.finish(msg)
|
390
378
|
|
391
379
|
|
392
380
|
@vtf_make.handle()
|
@@ -414,16 +402,6 @@ async def _(bot:Bot,event:MessageEvent,state:T_State,tag = Arg("image")):
|
|
414
402
|
await upload_file(bot, event, img_bytes, file_name)
|
415
403
|
|
416
404
|
|
417
|
-
@prison.handle()
|
418
|
-
async def _(event:MessageEvent):
|
419
|
-
msg = await get_tan_jian(ip_anne_list,2)
|
420
|
-
await tan_jian.finish(msg)
|
421
|
-
|
422
|
-
@open_prison.handle()
|
423
|
-
async def _(event:MessageEvent):
|
424
|
-
|
425
|
-
msg = await get_tan_jian(ip_anne_list,3)
|
426
|
-
await tan_jian.finish(msg)
|
427
405
|
|
428
406
|
@smx_file.handle()
|
429
407
|
async def _():
|
@@ -474,11 +452,35 @@ async def _(bot:Bot,event:GroupMessageEvent,state:T_State):
|
|
474
452
|
|
475
453
|
@driver.on_bot_connect
|
476
454
|
async def _():
|
477
|
-
|
455
|
+
global ALL_HOST
|
456
|
+
global ANNE_IP
|
457
|
+
ALL_HOST.update(await seach_map(l4_tag,l4_qq,l4_key,'ip'))
|
458
|
+
def count_ips(ip_dict:dict):
|
459
|
+
for key, value in ip_dict.items():
|
460
|
+
if key == 'error_':
|
461
|
+
continue
|
462
|
+
count = len(value)
|
463
|
+
logger.info(f'已加载:{key} | {count}个')
|
464
|
+
if key == '云':
|
465
|
+
ANNE_IP = {key:value}
|
466
|
+
count_ips(ALL_HOST)
|
467
|
+
|
468
|
+
ip_anne_list=[]
|
469
|
+
try:
|
470
|
+
ips = ALL_HOST['云']
|
471
|
+
ip_anne_list = []
|
472
|
+
for one_ip in ips:
|
473
|
+
host,port = split_maohao(one_ip['ip'])
|
474
|
+
ip_anne_list.append((one_ip['id'],host,port))
|
475
|
+
except KeyError:
|
476
|
+
pass
|
477
|
+
get_ip = on_command('anne',aliases=server_key(),priority=80,block=True)
|
478
478
|
@get_ip.handle()
|
479
|
-
async def _(command: str = RawCommand(),args:Message = CommandArg()):
|
480
|
-
if
|
481
|
-
command.replace(
|
479
|
+
async def _(start:str = CommandStart(),command: str = RawCommand(),args:Message = CommandArg(),):
|
480
|
+
if start:
|
481
|
+
command.replace(start,'')
|
482
|
+
if command == 'anne':
|
483
|
+
command = '云'
|
482
484
|
msg:str = args.extract_plain_text()
|
483
485
|
if not msg:
|
484
486
|
# 以图片输出全部当前
|
@@ -489,9 +491,9 @@ async def _():
|
|
489
491
|
ip_list.append((one_ip['id'],host,port))
|
490
492
|
img = await qq_ip_queries_pic(ip_list)
|
491
493
|
if img:
|
492
|
-
await
|
494
|
+
await get_ip.finish(MessageSegment.image(img))
|
493
495
|
else:
|
494
|
-
await
|
496
|
+
await get_ip.finish("服务器无响应")
|
495
497
|
else:
|
496
498
|
if not msg[0].isdigit():
|
497
499
|
if msg.startswith(gamemode_list):
|
@@ -509,10 +511,26 @@ async def _():
|
|
509
511
|
await get_ip.finish(msg)
|
510
512
|
except (OSError,asyncio.exceptions.TimeoutError):
|
511
513
|
await get_ip.finish('服务器无响应')
|
514
|
+
|
515
|
+
@tan_jian.handle()
|
516
|
+
async def _(event:MessageEvent):
|
517
|
+
await tan_jian.send('正在寻找牢房...')
|
518
|
+
msg = await get_tan_jian(ip_anne_list,1)
|
519
|
+
await tan_jian.finish(msg)
|
520
|
+
|
521
|
+
@prison.handle()
|
522
|
+
async def _(event:MessageEvent):
|
523
|
+
msg = await get_tan_jian(ip_anne_list,2)
|
524
|
+
await tan_jian.finish(msg)
|
525
|
+
|
526
|
+
@open_prison.handle()
|
527
|
+
async def _(event:MessageEvent):
|
512
528
|
|
529
|
+
msg = await get_tan_jian(ip_anne_list,3)
|
530
|
+
await tan_jian.finish(msg)
|
531
|
+
|
513
532
|
|
514
533
|
@driver.on_shutdown
|
515
534
|
async def close_db():
|
516
535
|
"""关闭数据库"""
|
517
536
|
sq_L4D2._close()
|
518
|
-
logger.info('已断开求生数据库')
|
@@ -66,7 +66,6 @@ smx_file = on_command('l4_smx',aliases={'求生插件'},priority=20,block=True,p
|
|
66
66
|
anne_player = on_command('Ranne',aliases={"求生anne"},priority=25,block=True)
|
67
67
|
anne_bind = on_command('Rbind',aliases={'steam绑定','求生绑定','anne绑定'},priority=20,block=True)
|
68
68
|
del_bind = on_command('del_bind',aliases={'steam解绑','求生解绑','anne解绑'},priority=20,block=True)
|
69
|
-
read_ip = on_command('anne',aliases={'求生云服'},priority=20,block=True)
|
70
69
|
prison = on_command('zl',aliases={'坐牢'},priority=20,block=True)
|
71
70
|
open_prison = on_command('kl',aliases={'开牢'},priority=20,block=True)
|
72
71
|
|
@@ -194,19 +194,3 @@ try:
|
|
194
194
|
os.remove(Path().parent.joinpath('data/L4D2/l4d2.yml'))
|
195
195
|
except:
|
196
196
|
pass
|
197
|
-
|
198
|
-
@driver.on_bot_connect
|
199
|
-
async def start_ip():
|
200
|
-
global ALL_HOST
|
201
|
-
global ANNE_IP
|
202
|
-
ALL_HOST.update(await seach_map(l4_tag,l4_qq,l4_key,'ip'))
|
203
|
-
def count_ips(ip_dict:dict):
|
204
|
-
for key, value in ip_dict.items():
|
205
|
-
if key == 'error_':
|
206
|
-
continue
|
207
|
-
count = len(value)
|
208
|
-
logger.info(f'已加载:{key} | {count}个')
|
209
|
-
if key == '云':
|
210
|
-
ANNE_IP = {key:value}
|
211
|
-
count_ips(ALL_HOST)
|
212
|
-
|
@@ -266,12 +266,3 @@ async def write_json(data_str:str):
|
|
266
266
|
return '删除成功喵'
|
267
267
|
return '序号不正确,请输入【求生更新 删除 腐竹 序号】'
|
268
268
|
return '腐竹名不存在,请输入【求生更新 删除 腐竹 序号】'
|
269
|
-
ip_anne_list=[]
|
270
|
-
try:
|
271
|
-
ips = ALL_HOST['云']
|
272
|
-
ip_anne_list = []
|
273
|
-
for one_ip in ips:
|
274
|
-
host,port = split_maohao(one_ip['ip'])
|
275
|
-
ip_anne_list.append((one_ip['id'],host,port))
|
276
|
-
except KeyError:
|
277
|
-
pass
|
@@ -0,0 +1,60 @@
|
|
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
|
+
'ruamel.yaml>=0.17.21,<0.18.0',
|
41
|
+
'srctools>=2.3.9,<3.0.0']
|
42
|
+
|
43
|
+
setup_kwargs = {
|
44
|
+
'name': 'nonebot-plugin-l4d2-server',
|
45
|
+
'version': '0.4.0b2',
|
46
|
+
'description': 'L4D2 server related operations plugin for NoneBot',
|
47
|
+
'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> · \n <a href="https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/wiki/%E6%96%87%E6%A1%A3#zl" target="_blank">指令列表</a> · \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_tag = [\'呆呆\']\n l4_only = True\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[点击这里加群](https://jq.qq.com/?_wv=1027&k=HdjoCcAe)\n如果你只查询自己的服务器ip则可以忽略如下,并且更改env设置:\n\n l4_tag = []\n\n\n## 🔖 更新日志\n\n<details>\n<summary>展开/收起</summary>\n\n\n### 0.4.0--2022.3\n\n - 新增web控制台\n - 修复传图超时参数错误\n - 重写求生ip获取方法 ~ 数据库苦手 ~\n - 重写文档\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\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\n<h2 id="ty">🌐 默认服务器</h2>\n目前**已授权**的服务器查询,如果需要加入自己的ip可以进qq群私聊群主\n\n| 指令 | 服务器 | op | 数量 |\n|:-----:|:----:|:----:|:----:|\n| 云 | anne电信服云服 | 东 | 22\n| 呆呆 | 呆呆的小窝 | 提莫大魔王 | 15\n| 橘 | 橘希实香的小窝 | 橘希实香 | 8\n| 竹 | 竹烨 | 竹烨oО柠檬茶 | 9\n| 音理 | 星空列车与白的旅行 | 音理 | 2\n\n**如果提供了ip,那么我只能尽可能保证您的ipv4不会泄漏,如果无法承担风险则请勿提供ip**',
|
48
|
+
'author': 'Agnes_Digital',
|
49
|
+
'author_email': 'Z735803792@163.com',
|
50
|
+
'maintainer': 'None',
|
51
|
+
'maintainer_email': 'None',
|
52
|
+
'url': 'https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server',
|
53
|
+
'packages': packages,
|
54
|
+
'package_data': package_data,
|
55
|
+
'install_requires': install_requires,
|
56
|
+
'python_requires': '>=3.7,<4.0',
|
57
|
+
}
|
58
|
+
|
59
|
+
|
60
|
+
setup(**setup_kwargs)
|
@@ -1,60 +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
|
-
'ruamel.yaml>=0.17.21,<0.18.0',
|
41
|
-
'srctools>=2.3.9,<3.0.0']
|
42
|
-
|
43
|
-
setup_kwargs = {
|
44
|
-
'name': 'nonebot-plugin-l4d2-server',
|
45
|
-
'version': '0.4.0b1',
|
46
|
-
'description': 'L4D2 server related operations plugin for NoneBot',
|
47
|
-
'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> · \n <a href="https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server/wiki/%E6%96%87%E6%A1%A3#zl" target="_blank">指令列表</a> · \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<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\n## 🔖 更新日志\n\n<details>\n<summary>展开/收起</summary>\n\n\n### 0.4.0--2022.3\n\n - 新增web控制台\n - 修复传图超时参数错误\n - 重写求生ip获取方法 ~ 数据库苦手 ~\n - 重写文档\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## 📖许可证GPL3.0\n\n This project is licensed under the GNU General Public License v3.0. See the LICENSE file for more information.\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\n目前插件会内置经腐竹同意的服的查询(未来将使用api)\n\n| 指令 | 服务器 | op | 数量 |\n|:-----:|:----:|:----:|:----:|\n| 云 | ~anne电信服云服~(暂时不提供) | 东 | 22\n| 呆呆 | 呆呆的小窝 | 提莫大魔王 | 15\n| 橘 | 橘希实香的小窝 | 橘希实香 | 8\n| 竹 | 竹烨 | 竹烨oО柠檬茶 | 9\n| 音理 | 星空列车与白的旅行 | 音理 | 2\n\n如果需要加入自己的ip可以Pr、iss或者进qq群\n',
|
48
|
-
'author': 'Agnes_Digital',
|
49
|
-
'author_email': 'Z735803792@163.com',
|
50
|
-
'maintainer': 'None',
|
51
|
-
'maintainer_email': 'None',
|
52
|
-
'url': 'https://github.com/Umamusume-Agnes-Digital/nonebot_plugin_l4d2_server',
|
53
|
-
'packages': packages,
|
54
|
-
'package_data': package_data,
|
55
|
-
'install_requires': install_requires,
|
56
|
-
'python_requires': '>=3.7,<4.0',
|
57
|
-
}
|
58
|
-
|
59
|
-
|
60
|
-
setup(**setup_kwargs)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|