We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0613453 commit 4f0b03aCopy full SHA for 4f0b03a
1 file changed
plugins/minecraft_status.py
@@ -32,14 +32,17 @@ def mcstatus():
32
red.append(server)
33
34
if green:
35
+ green.sort()
36
out = "\x033\x02Online\x02\x0f: " + ", ".join(green)
37
if yellow:
38
out += " "
39
40
+ yellow.sort()
41
out += "\x02Issues\x02: " + ", ".join(yellow)
42
if red:
43
44
45
+ red.sort()
46
out += "\x034\x02Offline\x02\x0f: " + ", ".join(red)
47
48
return "\x0f" + out.replace(".mojang.com", ".mj") \
0 commit comments