nonebot-plugin-mccheck 0.3.2__tar.gz → 0.3.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.
- {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.4}/PKG-INFO +1 -1
- {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.4}/nonebot_plugin_mccheck/configs.py +1 -1
- nonebot_plugin_mccheck-0.3.4/nonebot_plugin_mccheck/templates/Mojangles.ttf +0 -0
- {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.4}/nonebot_plugin_mccheck/templates/default.html +3 -5
- {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.4}/nonebot_plugin_mccheck/templates/main.css +15 -6
- nonebot_plugin_mccheck-0.3.4/nonebot_plugin_mccheck/templates/unifont-17.0.04.otf +0 -0
- {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.4}/nonebot_plugin_mccheck/utils.py +1 -1
- {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.4}/pyproject.toml +1 -1
- nonebot_plugin_mccheck-0.3.2/nonebot_plugin_mccheck/templates/Minecraft_AE.ttf +0 -0
- {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.4}/LICENSE +0 -0
- {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.4}/README.md +0 -0
- {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.4}/nonebot_plugin_mccheck/__init__.py +0 -0
- {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.4}/nonebot_plugin_mccheck/language.json +0 -0
- {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.4}/nonebot_plugin_mccheck/templates/README.md +0 -0
- {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.4}/nonebot_plugin_mccheck/templates/background.png +0 -0
- {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.4}/nonebot_plugin_mccheck/templates/imagelesshoverbg.png +0 -0
- {nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.4}/nonebot_plugin_mccheck/templates/no_favicon.png +0 -0
|
@@ -19,9 +19,7 @@
|
|
|
19
19
|
<div class="content">
|
|
20
20
|
<label> {{ data["lang"]["version"] }}{{ data["version"] }} </label>
|
|
21
21
|
<label> {{ data["lang"]["motd"] }}{{ data["motd"]|safe }} </label>
|
|
22
|
-
<label>
|
|
23
|
-
{{ data["lang"]["protocol_version"] }}{{ data["protocol_version"]}}
|
|
24
|
-
</label>
|
|
22
|
+
<label> {{ data["lang"]["protocol_version"] }}{{ data["protocol_version"]}} </label>
|
|
25
23
|
<label> {{ data["lang"]["address"] }}{{ data["address"] }} </label>
|
|
26
24
|
<label> {{ data["lang"]["delay"] }}{{ data["delay"]}} </label>
|
|
27
25
|
{% if data["gamemode"] %}
|
|
@@ -35,7 +33,7 @@
|
|
|
35
33
|
{% endif %}
|
|
36
34
|
</div>
|
|
37
35
|
<div class="watermark">
|
|
38
|
-
|
|
36
|
+
zhenxun_plugin_mccheck v{{ data["VERSION"] }} by molanp.
|
|
39
37
|
</div>
|
|
40
38
|
</div>
|
|
41
39
|
<script>
|
|
@@ -163,4 +161,4 @@
|
|
|
163
161
|
});
|
|
164
162
|
</script>
|
|
165
163
|
</body>
|
|
166
|
-
</html>
|
|
164
|
+
</html>
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
@font-face {
|
|
2
|
-
src: url(
|
|
3
|
-
font-family: "
|
|
2
|
+
src: url(Mojangles.ttf);
|
|
3
|
+
font-family: "Mojangles";
|
|
4
|
+
unicode-range: U+0021-007E, U+00A0-FFFF;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
@font-face {
|
|
8
|
+
src: url(unifont-17.0.04.otf);
|
|
9
|
+
font-family: "unifont-17.0.04";
|
|
10
|
+
size-adjust: 80%;
|
|
11
|
+
ascent-override: 90%;
|
|
12
|
+
descent-override: 10%;
|
|
4
13
|
}
|
|
5
14
|
|
|
6
15
|
* {
|
|
7
|
-
font-family: "
|
|
16
|
+
font-family: "Mojangles", "unifont-17.0.04", monospace;
|
|
17
|
+
font-size: 20px;
|
|
8
18
|
}
|
|
9
19
|
|
|
10
20
|
body {
|
|
@@ -22,7 +32,7 @@ body {
|
|
|
22
32
|
|
|
23
33
|
.content label {
|
|
24
34
|
display: block;
|
|
25
|
-
margin-bottom:
|
|
35
|
+
margin-bottom: 5px;
|
|
26
36
|
}
|
|
27
37
|
|
|
28
38
|
::-webkit-scrollbar {
|
|
@@ -58,11 +68,10 @@ body {
|
|
|
58
68
|
.watermark {
|
|
59
69
|
position: absolute;
|
|
60
70
|
font-weight: bold;
|
|
61
|
-
font-size:
|
|
71
|
+
font-size: 8px;
|
|
62
72
|
bottom: 0.5px;
|
|
63
73
|
right: 0;
|
|
64
74
|
color: #888888;
|
|
65
|
-
font-size: 8px;
|
|
66
75
|
opacity: 0.1;
|
|
67
76
|
z-index: 1000;
|
|
68
77
|
pointer-events: none;
|
{nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.4}/nonebot_plugin_mccheck/utils.py
RENAMED
|
@@ -54,7 +54,7 @@ async def build_result(
|
|
|
54
54
|
"""
|
|
55
55
|
favicon = getattr(ms, "icon", None)
|
|
56
56
|
delay = round(ms.latency)
|
|
57
|
-
version = f"{ms.version.name} " + getattr(ms, "map_name", "")
|
|
57
|
+
version = f"{ms.version.name} " + (getattr(ms, "map_name", None) or "")
|
|
58
58
|
protocol_version = ms.version.protocol
|
|
59
59
|
gamemode = getattr(ms, "gamemode", None)
|
|
60
60
|
players = f"{ms.players.online}/{ms.players.max}"
|
|
Binary file
|
|
File without changes
|
|
File without changes
|
{nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.4}/nonebot_plugin_mccheck/__init__.py
RENAMED
|
File without changes
|
{nonebot_plugin_mccheck-0.3.2 → nonebot_plugin_mccheck-0.3.4}/nonebot_plugin_mccheck/language.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|