nonebot-plugin-l4d2-server 1.1.0__py3-none-any.whl → 1.1.2__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.
Files changed (58) hide show
  1. nonebot_plugin_l4d2_server/config.py +82 -45
  2. nonebot_plugin_l4d2_server/l4_help/__init__.py +1 -1
  3. nonebot_plugin_l4d2_server/l4_image/convert.py +0 -69
  4. nonebot_plugin_l4d2_server/l4_image/html_img.py +37 -19
  5. nonebot_plugin_l4d2_server/l4_image/image_tools.py +1 -104
  6. nonebot_plugin_l4d2_server/l4_image/img/back_img/background.jpg +0 -0
  7. nonebot_plugin_l4d2_server/l4_image/img/template/normal.html +103 -237
  8. nonebot_plugin_l4d2_server/l4_image/img/template/{Bocchi_The_Rock.html → normal_.html} +25 -77
  9. nonebot_plugin_l4d2_server/l4_image/img/template/style.css +264 -0
  10. nonebot_plugin_l4d2_server/l4_request/draw_msg.py +1 -18
  11. {nonebot_plugin_l4d2_server-1.1.0.dist-info → nonebot_plugin_l4d2_server-1.1.2.dist-info}/METADATA +3 -4
  12. nonebot_plugin_l4d2_server-1.1.2.dist-info/RECORD +57 -0
  13. nonebot_plugin_l4d2_server/l4_help/icon//344/273/213/347/273/215.png +0 -0
  14. nonebot_plugin_l4d2_server/l4_help/icon//344/273/273/345/212/241.png +0 -0
  15. nonebot_plugin_l4d2_server/l4_help/icon//344/277/241/346/201/257.png +0 -0
  16. nonebot_plugin_l4d2_server/l4_help/icon//345/205/254/345/221/212.png +0 -0
  17. nonebot_plugin_l4d2_server/l4_help/icon//345/210/200/345/211/221.png +0 -0
  18. nonebot_plugin_l4d2_server/l4_help/icon//345/210/207/346/215/242.png +0 -0
  19. nonebot_plugin_l4d2_server/l4_help/icon//345/210/240/351/231/244.png +0 -0
  20. nonebot_plugin_l4d2_server/l4_help/icon//345/210/267/346/226/260.png +0 -0
  21. nonebot_plugin_l4d2_server/l4_help/icon//345/215/241/347/273/204.png +0 -0
  22. nonebot_plugin_l4d2_server/l4_help/icon//345/223/252/351/207/214.png +0 -0
  23. nonebot_plugin_l4d2_server/l4_help/icon//345/234/260/345/233/276.png +0 -0
  24. nonebot_plugin_l4d2_server/l4_help/icon//345/257/274/345/205/245.png +0 -0
  25. nonebot_plugin_l4d2_server/l4_help/icon//345/257/274/345/207/272.png +0 -0
  26. nonebot_plugin_l4d2_server/l4_help/icon//345/275/261.png +0 -0
  27. nonebot_plugin_l4d2_server/l4_help/icon//346/213/274/345/233/276.png +0 -0
  28. nonebot_plugin_l4d2_server/l4_help/icon//346/216/242/347/264/242.png +0 -0
  29. nonebot_plugin_l4d2_server/l4_help/icon//346/216/250/351/200/201.png +0 -0
  30. nonebot_plugin_l4d2_server/l4_help/icon//346/224/266/351/233/206.png +0 -0
  31. nonebot_plugin_l4d2_server/l4_help/icon//346/224/273/347/225/245.png +0 -0
  32. nonebot_plugin_l4d2_server/l4_help/icon//346/233/264/346/226/260.png +0 -0
  33. nonebot_plugin_l4d2_server/l4_help/icon//346/235/220/346/226/231.png +0 -0
  34. nonebot_plugin_l4d2_server/l4_help/icon//346/237/245/350/257/242.png +0 -0
  35. nonebot_plugin_l4d2_server/l4_help/icon//346/240/241/351/252/214.png +0 -0
  36. nonebot_plugin_l4d2_server/l4_help/icon//346/257/217/346/234/210.png +0 -0
  37. nonebot_plugin_l4d2_server/l4_help/icon//346/267/261/346/270/212.png +0 -0
  38. nonebot_plugin_l4d2_server/l4_help/icon//346/267/273/345/212/240.png +0 -0
  39. nonebot_plugin_l4d2_server/l4_help/icon//346/270/205/351/231/244.png +0 -0
  40. nonebot_plugin_l4d2_server/l4_help/icon//347/212/266/346/200/201.png +0 -0
  41. nonebot_plugin_l4d2_server/l4_help/icon//347/255/276/345/210/260.png +0 -0
  42. nonebot_plugin_l4d2_server/l4_help/icon//347/273/221/345/256/232.png +0 -0
  43. nonebot_plugin_l4d2_server/l4_help/icon//350/241/250.png +0 -0
  44. nonebot_plugin_l4d2_server/l4_help/icon//350/241/250/346/203/205.png +0 -0
  45. nonebot_plugin_l4d2_server/l4_help/icon//350/247/222/350/211/262.png +0 -0
  46. nonebot_plugin_l4d2_server/l4_help/icon//350/256/260/345/275/225.png +0 -0
  47. nonebot_plugin_l4d2_server/l4_help/icon//351/205/215/347/275/256.png +0 -0
  48. nonebot_plugin_l4d2_server/l4_help/icon//351/207/215/345/220/257.png +0 -0
  49. nonebot_plugin_l4d2_server/l4_image/img/template/Bocchi_The_Rock.png +0 -0
  50. nonebot_plugin_l4d2_server/l4_image/img/template/Pixel.html +0 -341
  51. nonebot_plugin_l4d2_server/l4_image/img/template/Pixel.png +0 -0
  52. nonebot_plugin_l4d2_server/l4_image/img/template/Rainbow.html +0 -355
  53. nonebot_plugin_l4d2_server/l4_image/img/template/Rainbow.png +0 -0
  54. nonebot_plugin_l4d2_server/l4_image/img/template/fingerprint.svg +0 -15
  55. nonebot_plugin_l4d2_server-1.1.0.dist-info/RECORD +0 -97
  56. {nonebot_plugin_l4d2_server-1.1.0.dist-info → nonebot_plugin_l4d2_server-1.1.2.dist-info}/WHEEL +0 -0
  57. {nonebot_plugin_l4d2_server-1.1.0.dist-info → nonebot_plugin_l4d2_server-1.1.2.dist-info}/entry_points.txt +0 -0
  58. {nonebot_plugin_l4d2_server-1.1.0.dist-info → nonebot_plugin_l4d2_server-1.1.2.dist-info}/licenses/LICENSE +0 -0
@@ -1,247 +1,113 @@
1
- <html>
1
+ <!DOCTYPE html>
2
+ <html lang="zh-CN">
2
3
 
3
4
  <head>
4
- <style>
5
- body {
6
- margin: 0px;
7
- zoom: 150%;
8
- }
9
-
10
- /* Vac图标样式 */
11
- .vac-icon {
12
- width: 13px;
13
- height: auto;
14
- margin-left: 190px;
15
- }
16
-
17
- .image {
18
- display: flex;
19
- flex-direction: column;
20
- overflow: scroll;
21
- width: max-content;
22
- padding: 20px;
23
- }
24
-
25
- .head {
26
- display: flex;
27
- flex-direction: row;
28
- align-items: center;
29
- justify-content: space-between;
30
- background-color: #f5f6f7;
31
- padding-left: 20px;
32
- padding-right: 20px;
33
- padding-top: 10px;
34
- padding-bottom: 10px;
35
- border: 2px solid;
36
- border-radius: 50px;
37
- border-color: #e5e7eb;
38
- font-size: 16px;
39
- margin-bottom: 20px;
40
- }
41
-
42
- .plugins {
43
- display: grid;
44
- grid-template-columns: auto auto auto;
45
- row-gap: 20px;
46
- column-gap: 20px;
47
- margin-bottom: 20px;
48
- }
49
-
50
- .plugin {
51
- display: flex;
52
- padding: 5px;
53
- border: 1px solid;
54
- border-radius: 5px;
55
- border-color: #e5e7eb;
56
- box-shadow: 0px 2px 6px 1px rgba(0, 0, 0, 0.2);
57
- background-color: #f5f6f7;
58
- }
59
-
60
- .plugin_meta {
61
- display: flex;
62
- flex-direction: column;
63
- padding: 5px;
64
- width: 250px;
65
- justify-content: space-between;
66
- }
67
-
68
- .plugin_name {
69
- font-size: 20px;
70
- }
71
-
72
- .plugin_description {
73
- font-size: 15px;
74
- color: gray;
75
- margin-top: 5px;
76
- margin-bottom: 5px;
77
- }
78
-
79
- .plugin_meta_line1 {
80
- display: flex;
81
- flex-direction: row;
82
- align-items: center;
83
- justify-content: space-between;
84
- }
85
-
86
- .plugin_meta_line3 {
87
- display: flex;
88
- flex-direction: row;
89
- align-items: center;
90
- }
91
-
92
- .package_name_label {
93
- background-image: url(./fingerprint.svg);
94
- width: 13px;
95
- height: 13px;
96
- margin-right: 8px;
97
- }
98
-
99
- .package_name {
100
- font-size: 13px;
101
- color: gray;
102
- }
103
-
104
- .switch {
105
- position: relative;
106
- display: inline-block;
107
- width: 40px;
108
- height: 24px;
109
- }
110
-
111
- .slider {
112
- position: absolute;
113
- cursor: pointer;
114
- top: 0;
115
- left: 0;
116
- right: 0;
117
- bottom: 0;
118
- background-color: #ccc;
119
- }
120
-
121
- .slider.round {
122
- border-radius: 24px;
123
- }
124
-
125
- .status_text {
126
- position: absolute;
127
- top: 50%;
128
- left: 50%;
129
- transform: translate(-50%, -50%);
130
- white-space: nowrap;
131
- /* 防止换行 */
132
- padding: 2px 6px;
133
- /* 添加一些内边距以增加可读性 */
134
- border-radius: 16px;
135
- /* 圆角 */
136
- }
137
-
138
- .error {
139
- background-color: #999;
140
- /* 灰色背景 */
141
- color: white;
142
- /* 白色文字 */
143
- }
144
-
145
- .lack {
146
- background-color: #4CAF50;
147
- /* 绿色背景 */
148
- color: white;
149
- /* 白色文字 */
150
- }
151
-
152
- .full {
153
- background-color: #f44336;
154
- /* 红色背景 */
155
- color: white;
156
- /* 白色文字 */
157
- }
158
-
159
- .not_full {
160
- background-color: #2196F3;
161
- /* 蓝色背景 */
162
- color: white;
163
- /* 白色文字 */
164
- }
165
- </style>
5
+ <meta charset="UTF-8">
6
+ <title>已加载服务器</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <style>
9
+ body {
10
+ margin: 0;
11
+ font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
12
+ background: url('../back_img/background.jpg') repeat;
13
+ background-size: cover;
14
+ /* filter: blur(12px) brightness(0.6); */
15
+ }
16
+ </style>
166
17
  </head>
167
18
 
168
19
  <body>
169
- <div class="image">
170
- <div class="head">
171
- <span><b>已加载服务器</b></span>
172
- <span>发送 “<b>查询指令+序号</b>” 查看详情</span>
173
- </div>
174
- <div class="plugins">
175
- {% for plugin in plugins %}
176
- <div class="plugin">
177
- <div class="plugin_meta">
178
- <div class="plugin_meta_line1">
179
- <div class="plugin_name">{{ plugin.command }}{{ plugin.id_ }}:{{ plugin.server.server_name }}</div>
180
- <div class="plugin_status">
181
- <label class="switch">
182
- <input class="checkbox" type="checkbox" {% if plugin.enabled %} checked {% endif %} />
183
- <span
184
- class="slider round {% if plugin.server.player_count >= plugin.server.max_players %} locked {% endif %}">
185
- <span
186
- class="lock {% if plugin.server.player_count >= plugin.server.max_players %} locked {% endif %}"></span>
187
- <span
188
- class="status_text {% if plugin.server.max_players == 0 %}error{% elif plugin.server.player_count / plugin.server.max_players < 0.5 %}lack{% elif plugin.server.player_count >= plugin.server.max_players %}full{% else %}not_full{% endif %}">
189
- {% if plugin.server.max_players == 0 %}
190
- 错误
191
- {% elif plugin.server.player_count / plugin.server.max_players < 0.5 %} 缺人 {% elif
192
- plugin.server.player_count>= plugin.server.max_players
193
- %}
194
- 已满
195
- {% else %}
196
- 未满
197
- {% endif %}
198
- </span>
199
- </span>
200
- </label>
20
+ <div class="outer-frame">
21
+ <div class="container">
22
+ <h1>已加载服务器 {{ servers[1].command }} (共 {{ servers|length }} 台)</h1>
23
+
24
+ <div class="server-grid">
25
+ {% for server in servers %}
26
+ <div class="server-card">
27
+ <div class="server-name" title="{{ server.server.server_name }}">
28
+ {{ server.server.server_name|replace('\n', ' ')|replace(' ', ' ')|trim }}
29
+ </div>
30
+
31
+ <div class="map-name">
32
+ <span>🌎️</span>
33
+ <span>{{ server.server.map_name }}</span>
34
+ <label class="switch">
35
+ <input class="checkbox" type="checkbox" {% if server.enabled %} checked {% endif %} />
36
+ <span
37
+ class="slider round {% if server.server.player_count >= server.server.max_players %} locked {% endif %}">
38
+ <span
39
+ class="lock {% if server.server.player_count >= server.server.max_players %} locked {% endif %}"></span>
40
+ <span
41
+ class="status_text {% if server.server.max_players == 0 %}error{% elif server.server.player_count / server.server.max_players < 0.5 %}lack{% elif server.server.player_count >= server.server.max_players %}full{% else %}not_full{% endif %}">
42
+ {% if server.server.max_players == 0 %}
43
+ 错误
44
+ {% elif server.server.player_count / server.server.max_players < 0.5 %} 缺人 {% elif
45
+ server.server.player_count>= server.server.max_players
46
+ %}
47
+ 已满
48
+ {% else %}
49
+ 未满
50
+ {% endif %}
51
+ </span>
52
+ </span>
53
+ </label>
54
+ </div>
55
+
56
+ <div class="player-list">
57
+ {% set player_count = server.player|length %}
58
+ {% for i in range(max_count) %}
59
+ {% set player = server.player[i] if i < player_count else None %} {% if player and player.name
60
+ %} <div class="player-item">
61
+ <span class="player-score">【{{ player.score }}】</span>
62
+ <span class="player-name">{{ player.name }}</span>
63
+
64
+ </div>
65
+ {% endif %}
66
+ {% endfor %}
67
+
68
+ <div class="players">
69
+ <span class="status-indicator">
70
+ {% if server.server.player_count >= 0 %}
71
+ {% if server.server.max_players == 0 %}
72
+ <span class="offline">🔴</span>
73
+ {% elif server.server.player_count / server.server.max_players < 0.5 %} <span
74
+ class="online">🟢</span>
75
+ {% elif server.server.player_count >= server.server.max_players %}
76
+ <span class="warning">🟡</span>
77
+ {% else %}
78
+ <span class="online">🔵</span>
79
+ {% endif %}
80
+ <span class="player-count">{{ server.server.player_count }}/{{ server.server.max_players
81
+ }}</span>
82
+ {% else %}
83
+ <span class="offline">🔴 错误</span>
84
+ {% endif %}
85
+ </span>
86
+
87
+ <span class="server-meta">
88
+ <span class="server-icon">
89
+ <img src="{{ server.server.platform }}.svg" alt="平台">
90
+ </span>
91
+ {% if server.server.vac_enabled %}
92
+ <span class="server-icon">
93
+ <img src="vac.png" alt="VAC保护">
94
+ </span>
95
+ {% endif %}
96
+ <span class="ping-value">
97
+ {{ (server.server.ping * 1000)|round(1) }} ms
98
+ </span>
99
+ </span>
100
+ </div>
101
+ </div>
201
102
  </div>
202
- </div>
203
- <div class="plugin_meta_line2">
204
- <font color="blue">地图:{{ plugin.server.map_name }}</font><br>
205
- {% set player_count = plugin.player|length %}
206
- {% for i in range(max_count) %}
207
- {% set player = plugin.player[i] if i < player_count else None %} {% if player and player.name %} <font
208
- color="green">• {{ player.score }} | {{ player.name }}</font><br>
209
- {% else %}
210
- <!-- 如果玩家不存在或没有名字,则显示空行或占位符 -->
211
- <br>
212
- {% endif %}
213
- {% endfor %}
214
- </div>
215
- <div class="plugin_meta_line3">
216
- {% if plugin.server.platform == 'l' %}
217
- <image xlink:href="l.svg" width="13" height="13" />
218
- </svg>
219
- {% elif plugin.server.platform == 'w' %}
220
- <image xlink:href="w.svg" width="13" height="13" />
221
- {% else %}
222
- <image xlink:href="m.svg" width="13" height="13" />
223
- {% endif %}
224
- <div class="package_name">&nbsp{{ plugin.server.player_count }}/{{ plugin.server.max_players }} </div>
225
- {% if plugin.server.vac_enabled %}
226
- <img class="vac-icon" src="vac.png">
227
- {% else %}
228
- {% endif %}
229
- </div>
103
+ {% endfor %}
104
+ </div>
105
+
106
+ <div class="footer">
107
+ @Anges Digital & Nonebot2
230
108
  </div>
231
- </div>
232
- {% endfor %}
233
109
  </div>
234
- <div class="head">
235
- <span class="loaded-text">
236
- <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"
237
- style="vertical-align: middle;">
238
- <image xlink:href="github.svg" width="20" height="20" />
239
- </svg>
240
- <b style="vertical-align: middle;">插件:Agnes4m</b>
241
- </span>
242
- <span class="loaded-text"><b>©爱丽数码</b></span>
243
110
  </div>
244
- </div>
111
+ </body>
245
112
 
246
- </html>
247
- </body>
113
+ </html>
@@ -3,28 +3,10 @@
3
3
  <head>
4
4
  <style>
5
5
  body {
6
- background-image: url("Bocchi_The_Rock.png");
7
- background-repeat: repeat;
8
- background-size: cover;
9
6
  margin: 0px;
10
7
  zoom: 150%;
11
8
  }
12
9
 
13
- /*页眉页脚文字颜色*/
14
- .loaded-text {
15
- color: #ffffff;
16
- /* 设置 .loaded-text 类的文字颜色 */
17
- font-family: "Tutumianhuatang", sans-serif;
18
- /* 设置第一个字体 */
19
- }
20
-
21
- /*这个选择器 > svg > image 会只选择 ..loaded-text 下直接子元素的 SVG 图像*/
22
- .loaded-text>svg>image {
23
- filter: drop-shadow(#fff 100px 0);
24
- /* 将阴影颜色改为白色 */
25
- transform: translateX(-100px);
26
- }
27
-
28
10
  /* Vac图标样式 */
29
11
  .vac-icon {
30
12
  width: 13px;
@@ -40,23 +22,12 @@
40
22
  padding: 20px;
41
23
  }
42
24
 
43
- /*服务器序号及服务器名称颜色*/
44
- .plugin_name,
45
- .plugin_description {
46
- color: #ffffff;
47
- /* 将特定类的文字颜色改为你想要的颜色 */
48
- font-weight: bold;
49
- /* 将文字加粗 */
50
- font-family: "Tutumianhuatang", sans-serif;
51
- /* 设置第一个字体 */
52
- }
53
-
54
25
  .head {
55
26
  display: flex;
56
27
  flex-direction: row;
57
28
  align-items: center;
58
29
  justify-content: space-between;
59
- background-color: #f5f6f75e;
30
+ background-color: #f5f6f7;
60
31
  padding-left: 20px;
61
32
  padding-right: 20px;
62
33
  padding-top: 10px;
@@ -66,8 +37,6 @@
66
37
  border-color: #e5e7eb;
67
38
  font-size: 16px;
68
39
  margin-bottom: 20px;
69
- font-family: "Tutumianhuatang", sans-serif;
70
- /* 设置第一个字体 */
71
40
  }
72
41
 
73
42
  .plugins {
@@ -78,15 +47,14 @@
78
47
  margin-bottom: 20px;
79
48
  }
80
49
 
81
- /*每个服务器卡片样式*/
82
50
  .plugin {
83
51
  display: flex;
84
52
  padding: 5px;
85
53
  border: 1px solid;
86
54
  border-radius: 5px;
87
55
  border-color: #e5e7eb;
88
- box-shadow: 0px 2px 6px 2px rgba(0, 0, 0, 0.2);
89
- background-color: #ffffff3d;
56
+ box-shadow: 0px 2px 6px 1px rgba(0, 0, 0, 0.2);
57
+ background-color: #f5f6f7;
90
58
  }
91
59
 
92
60
  .plugin_meta {
@@ -99,17 +67,13 @@
99
67
 
100
68
  .plugin_name {
101
69
  font-size: 20px;
102
- font-family: "Tutumianhuatang", sans-serif;
103
- /* 设置第一个字体 */
104
70
  }
105
71
 
106
72
  .plugin_description {
107
73
  font-size: 15px;
108
- color: #efefef;
74
+ color: gray;
109
75
  margin-top: 5px;
110
76
  margin-bottom: 5px;
111
- font-family: "Tutumianhuatang", sans-serif;
112
- /* 设置第一个字体 */
113
77
  }
114
78
 
115
79
  .plugin_meta_line1 {
@@ -119,38 +83,22 @@
119
83
  justify-content: space-between;
120
84
  }
121
85
 
122
- .plugin_meta_line2 {
123
- font-family: "Tutumianhuatang", sans-serif;
124
- /* 设置第一个字体 */
125
- }
126
-
127
86
  .plugin_meta_line3 {
128
87
  display: flex;
129
88
  flex-direction: row;
130
89
  align-items: center;
131
- color: #efefef;
132
- font-family: "Tutumianhuatang", sans-serif;
133
- /* 设置第一个字体 */
134
- }
135
-
136
- /*这个选择器 > svg > image 会只选择 .plugin_meta_line3 下直接子元素的 SVG 图像*/
137
- .plugin_meta_line3>svg>image {
138
- filter: drop-shadow(#fff 100px 0);
139
- /* 将阴影颜色改为白色 */
140
- transform: translateX(-100px);
141
90
  }
142
91
 
143
92
  .package_name_label {
144
93
  background-image: url(./fingerprint.svg);
145
94
  width: 13px;
146
95
  height: 13px;
147
- color: #efefef;
148
96
  margin-right: 8px;
149
97
  }
150
98
 
151
99
  .package_name {
152
100
  font-size: 13px;
153
- color: #efefef;
101
+ color: gray;
154
102
  }
155
103
 
156
104
  .switch {
@@ -160,6 +108,16 @@
160
108
  height: 24px;
161
109
  }
162
110
 
111
+ .slider {
112
+ position: absolute;
113
+ cursor: pointer;
114
+ top: 0;
115
+ left: 0;
116
+ right: 0;
117
+ bottom: 0;
118
+ background-color: #ccc;
119
+ }
120
+
163
121
  .slider.round {
164
122
  border-radius: 24px;
165
123
  }
@@ -175,8 +133,6 @@
175
133
  /* 添加一些内边距以增加可读性 */
176
134
  border-radius: 16px;
177
135
  /* 圆角 */
178
- font-family: "Tutumianhuatan", sans-serif;
179
- /* 设置第一个字体 */
180
136
  }
181
137
 
182
138
  .error {
@@ -184,7 +140,6 @@
184
140
  /* 灰色背景 */
185
141
  color: white;
186
142
  /* 白色文字 */
187
-
188
143
  }
189
144
 
190
145
  .lack {
@@ -213,8 +168,8 @@
213
168
  <body>
214
169
  <div class="image">
215
170
  <div class="head">
216
- <span class="loaded-text"><b>已加载服务器</b></span>
217
- <span class="loaded-text">发送 “<b>查询指令+序号</b>” 查看详情</span>
171
+ <span><b>已加载服务器</b></span>
172
+ <span>发送 “<b>查询指令+序号</b>” 查看详情</span>
218
173
  </div>
219
174
  <div class="plugins">
220
175
  {% for plugin in plugins %}
@@ -246,11 +201,11 @@
246
201
  </div>
247
202
  </div>
248
203
  <div class="plugin_meta_line2">
249
- <font color="#113DEE">地图:{{ plugin.server.map_name }}</font><br>
204
+ <font color="blue">地图:{{ plugin.server.map_name }}</font><br>
250
205
  {% set player_count = plugin.player|length %}
251
206
  {% for i in range(max_count) %}
252
207
  {% set player = plugin.player[i] if i < player_count else None %} {% if player and player.name %} <font
253
- color="#ffffff">• {{ player.score }} | {{ player.name }}</font><br>
208
+ color="green">• {{ player.score }} | {{ player.name }}</font><br>
254
209
  {% else %}
255
210
  <!-- 如果玩家不存在或没有名字,则显示空行或占位符 -->
256
211
  <br>
@@ -259,16 +214,16 @@
259
214
  </div>
260
215
  <div class="plugin_meta_line3">
261
216
  {% if plugin.server.platform == 'l' %}
262
- <image xlink:href="l.svg" width="13" height="13" fill="#FFFFFF" />
217
+ <image xlink:href="l.svg" width="13" height="13" />
263
218
  </svg>
264
219
  {% elif plugin.server.platform == 'w' %}
265
- <image xlink:href="w.svg" width="13" height="13" fill="#00adef" />
220
+ <image xlink:href="w.svg" width="13" height="13" />
266
221
  {% else %}
267
222
  <image xlink:href="m.svg" width="13" height="13" />
268
223
  {% endif %}
269
224
  <div class="package_name">&nbsp{{ plugin.server.player_count }}/{{ plugin.server.max_players }} </div>
270
225
  {% if plugin.server.vac_enabled %}
271
- <img class="vac-icon" src="vac.png" alt="VAC Enabled">
226
+ <img class="vac-icon" src="vac.png">
272
227
  {% else %}
273
228
  {% endif %}
274
229
  </div>
@@ -284,16 +239,9 @@
284
239
  </svg>
285
240
  <b style="vertical-align: middle;">插件:Agnes4m</b>
286
241
  </span>
287
- <span class="loaded-text"><b>———— ©爱丽数码 ————</b></span>
288
- <span class="loaded-text">
289
- <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"
290
- style="vertical-align: middle;">
291
- <image xlink:href="bilibili.svg" width="20" height="20" fill="red" />
292
- </svg>
293
- <b style="vertical-align: middle;">插画:吃咖喱的poi</b>
294
- </span>
242
+ <span class="loaded-text"><b>©爱丽数码</b></span>
295
243
  </div>
296
244
  </div>
297
- </body>
298
245
 
299
- </html>
246
+ </html>
247
+ </body>