nonebot-plugin-l4d2-server 0.5.1__py3-none-any.whl → 0.5.3__py3-none-any.whl
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.
- LICENSE +674 -674
- README.md +373 -359
- nonebot_plugin_l4d2_server/__init__.py +13 -13
- nonebot_plugin_l4d2_server/command.py +232 -232
- nonebot_plugin_l4d2_server/config.py +209 -210
- nonebot_plugin_l4d2_server/data/L4D2/image/template/anne.html +60 -60
- nonebot_plugin_l4d2_server/data/L4D2/image/template/fingerprint.svg +15 -15
- nonebot_plugin_l4d2_server/data/L4D2/image/template/help.html +233 -233
- nonebot_plugin_l4d2_server/data/L4D2/image/template/help_dack.html +231 -231
- nonebot_plugin_l4d2_server/data/L4D2/image/template/ip.html +48 -48
- nonebot_plugin_l4d2_server/data/L4D2/image/template/l.svg +9 -9
- nonebot_plugin_l4d2_server/l4d2_anne/__init__.py +251 -251
- nonebot_plugin_l4d2_server/l4d2_anne/analysis.py +51 -51
- nonebot_plugin_l4d2_server/l4d2_anne/anne_telecom.py +75 -75
- nonebot_plugin_l4d2_server/l4d2_anne/server.py +65 -65
- nonebot_plugin_l4d2_server/l4d2_anne/startand.py +17 -17
- nonebot_plugin_l4d2_server/l4d2_data/__init__.py +91 -91
- nonebot_plugin_l4d2_server/l4d2_data/config.py +17 -17
- nonebot_plugin_l4d2_server/l4d2_data/database.py +0 -0
- nonebot_plugin_l4d2_server/l4d2_data/players.py +87 -87
- nonebot_plugin_l4d2_server/l4d2_data/serverip.py +32 -32
- nonebot_plugin_l4d2_server/l4d2_file/__init__.py +122 -122
- nonebot_plugin_l4d2_server/l4d2_file/ayromote.py +56 -56
- nonebot_plugin_l4d2_server/l4d2_file/remote.py +63 -63
- nonebot_plugin_l4d2_server/l4d2_image/__init__.py +103 -103
- nonebot_plugin_l4d2_server/l4d2_image/download.py +101 -101
- nonebot_plugin_l4d2_server/l4d2_image/htmlimg.py +32 -32
- nonebot_plugin_l4d2_server/l4d2_image/image.py +292 -0
- nonebot_plugin_l4d2_server/l4d2_image/send_image_tool.py +32 -32
- nonebot_plugin_l4d2_server/l4d2_image/steam.py +83 -83
- nonebot_plugin_l4d2_server/l4d2_image/vtfs.py +40 -40
- nonebot_plugin_l4d2_server/l4d2_queries/__init__.py +114 -114
- nonebot_plugin_l4d2_server/l4d2_queries/api.py +43 -43
- nonebot_plugin_l4d2_server/l4d2_queries/ohter.py +35 -35
- nonebot_plugin_l4d2_server/l4d2_queries/qqgroup.py +288 -288
- nonebot_plugin_l4d2_server/l4d2_server/__init__.py +61 -61
- nonebot_plugin_l4d2_server/l4d2_server/index.py +0 -0
- nonebot_plugin_l4d2_server/l4d2_server/rcon.py +28 -28
- nonebot_plugin_l4d2_server/l4d2_server/workshop.py +50 -50
- nonebot_plugin_l4d2_server/l4d2_update/__init__.py +143 -0
- nonebot_plugin_l4d2_server/l4d2_update/draw_update_log.py +41 -0
- nonebot_plugin_l4d2_server/l4d2_update/restart.py +67 -0
- nonebot_plugin_l4d2_server/l4d2_update/texture2d/art.png +0 -0
- nonebot_plugin_l4d2_server/l4d2_update/texture2d/bento.png +0 -0
- nonebot_plugin_l4d2_server/l4d2_update/texture2d/bug.png +0 -0
- nonebot_plugin_l4d2_server/l4d2_update/texture2d/feat.png +0 -0
- nonebot_plugin_l4d2_server/l4d2_update/texture2d/log_title.png +0 -0
- nonebot_plugin_l4d2_server/l4d2_update/texture2d/other.png +0 -0
- nonebot_plugin_l4d2_server/l4d2_update/texture2d/zap.png +0 -0
- nonebot_plugin_l4d2_server/l4d2_update/update.py +65 -0
- nonebot_plugin_l4d2_server/l4d2_web/web.py +234 -252
- nonebot_plugin_l4d2_server/l4d2_web/webUI.py +241 -245
- nonebot_plugin_l4d2_server/message.py +58 -58
- nonebot_plugin_l4d2_server/rule.py +15 -0
- nonebot_plugin_l4d2_server/seach.py +33 -33
- nonebot_plugin_l4d2_server/txt_to_img.py +64 -64
- nonebot_plugin_l4d2_server/utils.py +297 -272
- {nonebot_plugin_l4d2_server-0.5.1.dist-info → nonebot_plugin_l4d2_server-0.5.3.dist-info}/LICENSE +674 -674
- {nonebot_plugin_l4d2_server-0.5.1.dist-info → nonebot_plugin_l4d2_server-0.5.3.dist-info}/METADATA +19 -4
- nonebot_plugin_l4d2_server-0.5.3.dist-info/RECORD +68 -0
- {nonebot_plugin_l4d2_server-0.5.1.dist-info → nonebot_plugin_l4d2_server-0.5.3.dist-info}/WHEEL +1 -1
- nonebot_plugin_l4d2_server/chrome.py +0 -45
- nonebot_plugin_l4d2_server-0.5.1.dist-info/RECORD +0 -54
@@ -1,211 +1,210 @@
|
|
1
|
-
from pathlib import Path
|
2
|
-
from typing import List,Dict,Union
|
3
|
-
import ast
|
4
|
-
import platform
|
5
|
-
import os
|
6
|
-
from ruamel import yaml
|
7
|
-
from pydantic import Extra,BaseModel,Field
|
8
|
-
try:
|
9
|
-
import ujson as json
|
10
|
-
except:
|
11
|
-
import json
|
12
|
-
|
13
|
-
from nonebot.permission import SUPERUSER
|
14
|
-
from nonebot import get_driver
|
15
|
-
from nonebot.log import logger
|
16
|
-
from nonebot.adapters.onebot.v11.permission import (
|
17
|
-
GROUP_ADMIN,
|
18
|
-
GROUP_OWNER,
|
19
|
-
PRIVATE_FRIEND,
|
20
|
-
)
|
21
|
-
|
22
|
-
from .l4d2_queries.ohter import ALL_HOST
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
CONFIG_PATH =
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
#
|
63
|
-
#
|
64
|
-
#
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
'
|
70
|
-
'
|
71
|
-
'
|
72
|
-
'
|
73
|
-
'
|
74
|
-
'
|
75
|
-
|
76
|
-
|
77
|
-
'
|
78
|
-
'
|
79
|
-
'
|
80
|
-
'
|
81
|
-
'
|
82
|
-
'
|
83
|
-
'
|
84
|
-
'
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
self.file_path
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
self.
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
""
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
table_data[
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
'
|
186
|
-
'
|
187
|
-
'
|
188
|
-
'
|
189
|
-
'
|
190
|
-
'
|
191
|
-
'
|
192
|
-
'
|
193
|
-
'
|
194
|
-
'
|
195
|
-
'
|
196
|
-
'
|
197
|
-
'
|
198
|
-
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
1
|
+
from pathlib import Path
|
2
|
+
from typing import List,Dict,Union
|
3
|
+
import ast
|
4
|
+
import platform
|
5
|
+
import os
|
6
|
+
from ruamel import yaml
|
7
|
+
from pydantic import Extra,BaseModel,Field
|
8
|
+
try:
|
9
|
+
import ujson as json
|
10
|
+
except:
|
11
|
+
import json
|
12
|
+
|
13
|
+
from nonebot.permission import SUPERUSER
|
14
|
+
from nonebot import get_driver
|
15
|
+
from nonebot.log import logger
|
16
|
+
from nonebot.adapters.onebot.v11.permission import (
|
17
|
+
GROUP_ADMIN,
|
18
|
+
GROUP_OWNER,
|
19
|
+
PRIVATE_FRIEND,
|
20
|
+
)
|
21
|
+
|
22
|
+
from .l4d2_queries.ohter import ALL_HOST
|
23
|
+
file_format = (".vpk",".zip",".7z",'rar')
|
24
|
+
# 权限
|
25
|
+
|
26
|
+
driver = get_driver()
|
27
|
+
COMMAND_START = list[driver.config.command_start]
|
28
|
+
try:
|
29
|
+
NICKNAME: str = list(driver.config.nickname)[0]
|
30
|
+
except Exception:
|
31
|
+
NICKNAME = 'bot'
|
32
|
+
CHECK_FILE:int = 0
|
33
|
+
|
34
|
+
|
35
|
+
reMaster = SUPERUSER | GROUP_OWNER
|
36
|
+
Master = SUPERUSER | GROUP_ADMIN | GROUP_OWNER
|
37
|
+
ADMINISTRATOR = SUPERUSER | GROUP_ADMIN | GROUP_OWNER | PRIVATE_FRIEND
|
38
|
+
# file 填写求生服务器所在路径
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
CONFIG_PATH = Path() / 'data' / 'L4D2' / 'l4d2.yml'
|
44
|
+
CONFIG_PATH.parent.mkdir(parents=True, exist_ok=True)
|
45
|
+
|
46
|
+
class L4d2GroupConfig(BaseModel):
|
47
|
+
enable: bool = Field(True, alias='是否启用求生功能')
|
48
|
+
map_master: List[str] = Field([], alias='分群地图管理员')
|
49
|
+
|
50
|
+
def update(self, **kwargs):
|
51
|
+
for key, value in kwargs.items():
|
52
|
+
if key in self.__fields__:
|
53
|
+
self.__setattr__(key, value)
|
54
|
+
|
55
|
+
class L4d2Config(BaseModel):
|
56
|
+
total_enable: bool = Field(True, alias='是否全局启用求生功能')
|
57
|
+
map_path: List[str] = Field([], alias='求生地图路径')
|
58
|
+
web_username: str = Field('l4d2', alias='后台管理用户名')
|
59
|
+
web_password: str = Field('admin', alias='后台管理密码')
|
60
|
+
l4_style: str = Field("standard", alias='图片风格')
|
61
|
+
# l4_file: List[str] = Field( ["/home/ubuntu/l4d2/coop"], alias='本地求生服务器地址')
|
62
|
+
# l4_host: List[str] = Field(['127.0.0.1'], alias='求生服务器地址')
|
63
|
+
# l4_port: List[str] = Field(['20715'], alias='求生服务器端口')
|
64
|
+
# l4_rcon: List[str] = Field(['114514'], alias='求生服务器rcon密码')
|
65
|
+
|
66
|
+
l4_ipall: List[Dict[str,Union[str,int,bool]]] = Field(
|
67
|
+
[{
|
68
|
+
'id_rank':'1',
|
69
|
+
'place': False,
|
70
|
+
'location':'C:\\l4d2',
|
71
|
+
'host':'127.0.0.1',
|
72
|
+
'port':'20715',
|
73
|
+
'rcon':'114514',
|
74
|
+
'server_id':'本地地图',
|
75
|
+
},{
|
76
|
+
'id_rank':'2',
|
77
|
+
'place': True,
|
78
|
+
'location':'/home/unbuntu/coop',
|
79
|
+
'host':'11.4.51.4',
|
80
|
+
'port':'20715',
|
81
|
+
'rcon':'9191810',
|
82
|
+
'account':'root',
|
83
|
+
'password':'114514',
|
84
|
+
'server_id':'远程地图',
|
85
|
+
}],
|
86
|
+
alias='l4服务器ip集合')
|
87
|
+
web_secret_key: str = Field('49c294d32f69b732ef6447c18379451ce1738922a75cd1d4812ef150318a2ed0',
|
88
|
+
alias='后台管理token密钥')
|
89
|
+
l4_master: List[str] = Field(['114514919'], alias='求生地图全局管理员qq')
|
90
|
+
# l4_ip:bool = Field(False, alias='查询地图是否显示ip')
|
91
|
+
l4_font: str = Field('simsun.ttc', alias='字体')
|
92
|
+
l4_only:bool = Field(False, alias='下载地图是是否阻碍其他指令')
|
93
|
+
l4_tag: List[str] = Field(['呆呆','橘'], alias='查服的名')
|
94
|
+
l4_key: str = Field('q1145149191810', alias='key')
|
95
|
+
group_config: Dict[int, L4d2GroupConfig] = Field({}, alias='分群配置')
|
96
|
+
|
97
|
+
def update(self, **kwargs):
|
98
|
+
for key, value in kwargs.items():
|
99
|
+
if key in self.__fields__:
|
100
|
+
self.__setattr__(key, value)
|
101
|
+
|
102
|
+
class L4d2ConfigManager:
|
103
|
+
|
104
|
+
def __init__(self):
|
105
|
+
self.file_path = CONFIG_PATH
|
106
|
+
if self.file_path.exists():
|
107
|
+
self.config = L4d2Config.parse_obj(
|
108
|
+
yaml.load(self.file_path.read_text(encoding='utf-8'), Loader=yaml.Loader))
|
109
|
+
else:
|
110
|
+
self.config = L4d2Config()
|
111
|
+
self.save()
|
112
|
+
|
113
|
+
def get_group_config(self, group_id: int) -> L4d2GroupConfig:
|
114
|
+
if group_id not in self.config.group_config:
|
115
|
+
self.config.group_config[group_id] = L4d2GroupConfig()
|
116
|
+
self.save()
|
117
|
+
return self.config.group_config[group_id]
|
118
|
+
|
119
|
+
@property
|
120
|
+
def config_list(self) -> List[str]:
|
121
|
+
return list(self.config.dict(by_alias=True).keys())
|
122
|
+
|
123
|
+
def save(self):
|
124
|
+
with self.file_path.open('w', encoding='utf-8') as f:
|
125
|
+
yaml.dump(
|
126
|
+
self.config.dict(by_alias=True),
|
127
|
+
f,
|
128
|
+
indent=2,
|
129
|
+
Dumper=yaml.RoundTripDumper,
|
130
|
+
allow_unicode=True)
|
131
|
+
|
132
|
+
# 参数设置为全局变量
|
133
|
+
global config_manager,l4_config
|
134
|
+
config_manager = L4d2ConfigManager()
|
135
|
+
l4_config = config_manager.config
|
136
|
+
|
137
|
+
class UserModel(BaseModel):
|
138
|
+
username: str
|
139
|
+
password: str
|
140
|
+
|
141
|
+
|
142
|
+
'''
|
143
|
+
地图路径
|
144
|
+
'''
|
145
|
+
vpk_path = "left4dead2/addons"
|
146
|
+
|
147
|
+
|
148
|
+
PLAYERSDATA = Path() / "data/L4D2/image/players"
|
149
|
+
"""用户数据路径"""
|
150
|
+
TEXT_PATH = Path(__file__).parent / 'data/L4D2/image'
|
151
|
+
"""图片存储路径"""
|
152
|
+
TEXT_XPATH = Path() / 'data/L4D2/image'
|
153
|
+
"""内置图片路径"""
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
PLAYERSDATA = Path() / "data/L4D2/sql"
|
158
|
+
"""数据库路径"""
|
159
|
+
DATASQLITE = Path().parent / "data/L4D2/sql/L4D2.db"
|
160
|
+
"""数据库!"""
|
161
|
+
|
162
|
+
table_data = ["L4d2_players","L4D2_server"]
|
163
|
+
"""数据库表"""
|
164
|
+
L4d2_players_tag = ['qq', 'nickname', 'steamid']
|
165
|
+
"""数据库表1"""
|
166
|
+
L4d2_server_tag = ['id','qqgroup', 'host', 'port', 'rcon']
|
167
|
+
"""数据库表2"""
|
168
|
+
L4d2_INTEGER = ['id','qq','qqgroup','port']
|
169
|
+
"""INITEGER的表头"""
|
170
|
+
L4d2_TEXT = ['nickname','steamid','host','rcon','path']
|
171
|
+
"""TEXT的表头"""
|
172
|
+
L4d2_BOOLEAN = ['use']
|
173
|
+
"""BOOLEAN的表头"""
|
174
|
+
|
175
|
+
tables_columns = {
|
176
|
+
table_data[0]:L4d2_players_tag,
|
177
|
+
table_data[1]:L4d2_server_tag
|
178
|
+
}
|
179
|
+
|
180
|
+
# 求生anne服务器
|
181
|
+
anne_url = "https://server.trygek.com/"
|
182
|
+
|
183
|
+
gamemode_list = [
|
184
|
+
'纯净',
|
185
|
+
'魔改战役',
|
186
|
+
'多特',
|
187
|
+
'魔改多特',
|
188
|
+
'写专',
|
189
|
+
'对抗',
|
190
|
+
'魔改对抗',
|
191
|
+
'药役',
|
192
|
+
'药抗',
|
193
|
+
'包抗',
|
194
|
+
'绝境',
|
195
|
+
'死专',
|
196
|
+
'ast',
|
197
|
+
'清道夫',
|
198
|
+
]
|
199
|
+
|
200
|
+
# 系统
|
201
|
+
if platform.system() == 'Windows':
|
202
|
+
systems:str = 'win'
|
203
|
+
elif platform.system() == 'Linux':
|
204
|
+
systems:str = 'linux'
|
205
|
+
else:
|
206
|
+
systems:str = 'others'
|
207
|
+
ANNE_IP = {}
|
208
|
+
|
209
|
+
|
211
210
|
|
@@ -1,60 +1,60 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<head>
|
3
|
-
<link rel="stylesheet" type="text/css" href="vue.css">
|
4
|
-
</head>
|
5
|
-
</br>
|
6
|
-
<body style="background-image: url('back.png'); background-size: cover;">
|
7
|
-
<font color="yellow">
|
8
|
-
{% for item in data %}
|
9
|
-
<h1 ><center>求生药役anne电信服数据</center></h1>
|
10
|
-
<div class="scissors" style="border-top:1px dashed orange;">
|
11
|
-
</div><h3><center>
|
12
|
-
{% for msg_one in item.one_msg %}
|
13
|
-
{{ msg_one }}<br>
|
14
|
-
{% endfor %}</center></h3>
|
15
|
-
</font>
|
16
|
-
<div class="scissors" style="border-top:1px dashed orange;">
|
17
|
-
</div>
|
18
|
-
<div class="myinfo">
|
19
|
-
<table class="transparent-bg">
|
20
|
-
<tbody>
|
21
|
-
<tr>
|
22
|
-
<td rowspan="6">
|
23
|
-
<img src={{item.header}} width="200" height="200" style="border-radius: 50%;">
|
24
|
-
</td>
|
25
|
-
<td>昵  称 | {{item.name}}</td>
|
26
|
-
<td>Steam id | {{item.Steam_ID}}</td>
|
27
|
-
</tr>
|
28
|
-
<tr>
|
29
|
-
<td>游玩时间 | {{item.play_time}}</td>
|
30
|
-
<td>最后上线 | {{item.last_online}}</td>
|
31
|
-
</tr>
|
32
|
-
<tr>
|
33
|
-
<td>排  行 | {{item.rank}}</td>
|
34
|
-
|
35
|
-
<td>分  数 | {{item.points}}</td>
|
36
|
-
</tr>
|
37
|
-
<tr>
|
38
|
-
<td>分数 / 分 | {{item.point_min}}</td>
|
39
|
-
<td>小僵尸数 | {{item.killed}}</td>
|
40
|
-
</tr>
|
41
|
-
<tr>
|
42
|
-
<td>爆  头 | {{item.shut}}</td>
|
43
|
-
<td>爆 头 率 | {{item.out}}</td>
|
44
|
-
</tr>
|
45
|
-
<tr>
|
46
|
-
<td>游玩次数 | {{item.playtimes}}</td>
|
47
|
-
<td>救 援 关 | {{item.last_one}}</td>
|
48
|
-
</tr>
|
49
|
-
</tbody>
|
50
|
-
</table>
|
51
|
-
</div>
|
52
|
-
<font color="yellow">
|
53
|
-
{% endfor %}
|
54
|
-
<h5><center>©爱丽数码</center></br>
|
55
|
-
<center>
|
56
|
-
github.com/Agnes4m/nonebot_plugin_l4d2_server
|
57
|
-
</center>
|
58
|
-
</h5>
|
59
|
-
</font>
|
60
|
-
</body>
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<head>
|
3
|
+
<link rel="stylesheet" type="text/css" href="vue.css">
|
4
|
+
</head>
|
5
|
+
</br>
|
6
|
+
<body style="background-image: url('back.png'); background-size: cover;">
|
7
|
+
<font color="yellow">
|
8
|
+
{% for item in data %}
|
9
|
+
<h1 ><center>求生药役anne电信服数据</center></h1>
|
10
|
+
<div class="scissors" style="border-top:1px dashed orange;">
|
11
|
+
</div><h3><center>
|
12
|
+
{% for msg_one in item.one_msg %}
|
13
|
+
{{ msg_one }}<br>
|
14
|
+
{% endfor %}</center></h3>
|
15
|
+
</font>
|
16
|
+
<div class="scissors" style="border-top:1px dashed orange;">
|
17
|
+
</div>
|
18
|
+
<div class="myinfo">
|
19
|
+
<table class="transparent-bg">
|
20
|
+
<tbody>
|
21
|
+
<tr>
|
22
|
+
<td rowspan="6">
|
23
|
+
<img src={{item.header}} width="200" height="200" style="border-radius: 50%;">
|
24
|
+
</td>
|
25
|
+
<td>昵  称 | {{item.name}}</td>
|
26
|
+
<td>Steam id | {{item.Steam_ID}}</td>
|
27
|
+
</tr>
|
28
|
+
<tr>
|
29
|
+
<td>游玩时间 | {{item.play_time}}</td>
|
30
|
+
<td>最后上线 | {{item.last_online}}</td>
|
31
|
+
</tr>
|
32
|
+
<tr>
|
33
|
+
<td>排  行 | {{item.rank}}</td>
|
34
|
+
|
35
|
+
<td>分  数 | {{item.points}}</td>
|
36
|
+
</tr>
|
37
|
+
<tr>
|
38
|
+
<td>分数 / 分 | {{item.point_min}}</td>
|
39
|
+
<td>小僵尸数 | {{item.killed}}</td>
|
40
|
+
</tr>
|
41
|
+
<tr>
|
42
|
+
<td>爆  头 | {{item.shut}}</td>
|
43
|
+
<td>爆 头 率 | {{item.out}}</td>
|
44
|
+
</tr>
|
45
|
+
<tr>
|
46
|
+
<td>游玩次数 | {{item.playtimes}}</td>
|
47
|
+
<td>救 援 关 | {{item.last_one}}</td>
|
48
|
+
</tr>
|
49
|
+
</tbody>
|
50
|
+
</table>
|
51
|
+
</div>
|
52
|
+
<font color="yellow">
|
53
|
+
{% endfor %}
|
54
|
+
<h5><center>©爱丽数码</center></br>
|
55
|
+
<center>
|
56
|
+
github.com/Agnes4m/nonebot_plugin_l4d2_server
|
57
|
+
</center>
|
58
|
+
</h5>
|
59
|
+
</font>
|
60
|
+
</body>
|
@@ -1,15 +1,15 @@
|
|
1
|
-
<svg
|
2
|
-
aria-hidden="true"
|
3
|
-
focusable="false"
|
4
|
-
data-prefix="fas"
|
5
|
-
data-icon="fingerprint"
|
6
|
-
class="svg-inline--fa fa-fingerprint mr-2"
|
7
|
-
role="img"
|
8
|
-
xmlns="http://www.w3.org/2000/svg"
|
9
|
-
viewBox="0 0 512 512"
|
10
|
-
>
|
11
|
-
<path
|
12
|
-
fill="currentColor"
|
13
|
-
d="M256.12 245.96c-13.25 0-24 10.74-24 24 1.14 72.25-8.14 141.9-27.7 211.55-2.73 9.72 2.15 30.49 23.12 30.49 10.48 0 20.11-6.92 23.09-17.52 13.53-47.91 31.04-125.41 29.48-224.52.01-13.25-10.73-24-23.99-24zm-.86-81.73C194 164.16 151.25 211.3 152.1 265.32c.75 47.94-3.75 95.91-13.37 142.55-2.69 12.98 5.67 25.69 18.64 28.36 13.05 2.67 25.67-5.66 28.36-18.64 10.34-50.09 15.17-101.58 14.37-153.02-.41-25.95 19.92-52.49 54.45-52.34 31.31.47 57.15 25.34 57.62 55.47.77 48.05-2.81 96.33-10.61 143.55-2.17 13.06 6.69 25.42 19.76 27.58 19.97 3.33 26.81-15.1 27.58-19.77 8.28-50.03 12.06-101.21 11.27-152.11-.88-55.8-47.94-101.88-104.91-102.72zm-110.69-19.78c-10.3-8.34-25.37-6.8-33.76 3.48-25.62 31.5-39.39 71.28-38.75 112 .59 37.58-2.47 75.27-9.11 112.05-2.34 13.05 6.31 25.53 19.36 27.89 20.11 3.5 27.07-14.81 27.89-19.36 7.19-39.84 10.5-80.66 9.86-121.33-.47-29.88 9.2-57.88 28-80.97 8.35-10.28 6.79-25.39-3.49-33.76zm109.47-62.33c-15.41-.41-30.87 1.44-45.78 4.97-12.89 3.06-20.87 15.98-17.83 28.89 3.06 12.89 16 20.83 28.89 17.83 11.05-2.61 22.47-3.77 34-3.69 75.43 1.13 137.73 61.5 138.88 134.58.59 37.88-1.28 76.11-5.58 113.63-1.5 13.17 7.95 25.08 21.11 26.58 16.72 1.95 25.51-11.88 26.58-21.11a929.06 929.06 0 0 0 5.89-119.85c-1.56-98.75-85.07-180.33-186.16-181.83zm252.07 121.45c-2.86-12.92-15.51-21.2-28.61-18.27-12.94 2.86-21.12 15.66-18.26 28.61 4.71 21.41 4.91 37.41 4.7 61.6-.11 13.27 10.55 24.09 23.8 24.2h.2c13.17 0 23.89-10.61 24-23.8.18-22.18.4-44.11-5.83-72.34zm-40.12-90.72C417.29 43.46 337.6 1.29 252.81.02 183.02-.82 118.47 24.91 70.46 72.94 24.09 119.37-.9 181.04.14 246.65l-.12 21.47c-.39 13.25 10.03 24.31 23.28 24.69.23.02.48.02.72.02 12.92 0 23.59-10.3 23.97-23.3l.16-23.64c-.83-52.5 19.16-101.86 56.28-139 38.76-38.8 91.34-59.67 147.68-58.86 69.45 1.03 134.73 35.56 174.62 92.39 7.61 10.86 22.56 13.45 33.42 5.86 10.84-7.62 13.46-22.59 5.84-33.43z"
|
14
|
-
></path>
|
15
|
-
</svg>
|
1
|
+
<svg
|
2
|
+
aria-hidden="true"
|
3
|
+
focusable="false"
|
4
|
+
data-prefix="fas"
|
5
|
+
data-icon="fingerprint"
|
6
|
+
class="svg-inline--fa fa-fingerprint mr-2"
|
7
|
+
role="img"
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
9
|
+
viewBox="0 0 512 512"
|
10
|
+
>
|
11
|
+
<path
|
12
|
+
fill="currentColor"
|
13
|
+
d="M256.12 245.96c-13.25 0-24 10.74-24 24 1.14 72.25-8.14 141.9-27.7 211.55-2.73 9.72 2.15 30.49 23.12 30.49 10.48 0 20.11-6.92 23.09-17.52 13.53-47.91 31.04-125.41 29.48-224.52.01-13.25-10.73-24-23.99-24zm-.86-81.73C194 164.16 151.25 211.3 152.1 265.32c.75 47.94-3.75 95.91-13.37 142.55-2.69 12.98 5.67 25.69 18.64 28.36 13.05 2.67 25.67-5.66 28.36-18.64 10.34-50.09 15.17-101.58 14.37-153.02-.41-25.95 19.92-52.49 54.45-52.34 31.31.47 57.15 25.34 57.62 55.47.77 48.05-2.81 96.33-10.61 143.55-2.17 13.06 6.69 25.42 19.76 27.58 19.97 3.33 26.81-15.1 27.58-19.77 8.28-50.03 12.06-101.21 11.27-152.11-.88-55.8-47.94-101.88-104.91-102.72zm-110.69-19.78c-10.3-8.34-25.37-6.8-33.76 3.48-25.62 31.5-39.39 71.28-38.75 112 .59 37.58-2.47 75.27-9.11 112.05-2.34 13.05 6.31 25.53 19.36 27.89 20.11 3.5 27.07-14.81 27.89-19.36 7.19-39.84 10.5-80.66 9.86-121.33-.47-29.88 9.2-57.88 28-80.97 8.35-10.28 6.79-25.39-3.49-33.76zm109.47-62.33c-15.41-.41-30.87 1.44-45.78 4.97-12.89 3.06-20.87 15.98-17.83 28.89 3.06 12.89 16 20.83 28.89 17.83 11.05-2.61 22.47-3.77 34-3.69 75.43 1.13 137.73 61.5 138.88 134.58.59 37.88-1.28 76.11-5.58 113.63-1.5 13.17 7.95 25.08 21.11 26.58 16.72 1.95 25.51-11.88 26.58-21.11a929.06 929.06 0 0 0 5.89-119.85c-1.56-98.75-85.07-180.33-186.16-181.83zm252.07 121.45c-2.86-12.92-15.51-21.2-28.61-18.27-12.94 2.86-21.12 15.66-18.26 28.61 4.71 21.41 4.91 37.41 4.7 61.6-.11 13.27 10.55 24.09 23.8 24.2h.2c13.17 0 23.89-10.61 24-23.8.18-22.18.4-44.11-5.83-72.34zm-40.12-90.72C417.29 43.46 337.6 1.29 252.81.02 183.02-.82 118.47 24.91 70.46 72.94 24.09 119.37-.9 181.04.14 246.65l-.12 21.47c-.39 13.25 10.03 24.31 23.28 24.69.23.02.48.02.72.02 12.92 0 23.59-10.3 23.97-23.3l.16-23.64c-.83-52.5 19.16-101.86 56.28-139 38.76-38.8 91.34-59.67 147.68-58.86 69.45 1.03 134.73 35.56 174.62 92.39 7.61 10.86 22.56 13.45 33.42 5.86 10.84-7.62 13.46-22.59 5.84-33.43z"
|
14
|
+
></path>
|
15
|
+
</svg>
|