New backup 2025-10-09 14:15:01
This commit is contained in:
parent
eb7b068960
commit
7b14765360
1 changed files with 11 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
(defpoll servers_status :initial '{"online": true,"kind":"Java","status":{"players":{"online":0,"max":0,"sample":null},"version":{"name":"version","protocol":0},"motd":"Message of the day","latency":0,"icon":""}}'
|
(defpoll servers_status :initial '[{"online": true,"kind":"Java","status":{"players":{"online":0,"max":0,"sample":null},"version":{"name":"version","protocol":0},"motd":"Message of the day","latency":0,"icon":""},"address":"ip.addre.ss"}]'
|
||||||
:interval "21600s"
|
:interval "21600s"
|
||||||
'scripts/home/mcstatus')
|
'scripts/home/mcstatus')
|
||||||
|
|
||||||
|
@ -15,10 +15,18 @@
|
||||||
|
|
||||||
(defwidget mcstatus [json]
|
(defwidget mcstatus [json]
|
||||||
(box
|
(box
|
||||||
|
:orientation 'v'
|
||||||
(for server in json
|
(for server in json
|
||||||
|
(box
|
||||||
|
:orientation 'v'
|
||||||
(label
|
(label
|
||||||
:text "${server.address}"
|
:text "${server.address}"
|
||||||
)
|
)
|
||||||
|
(label
|
||||||
|
:text "${replace(server.status.motd,'§.','')}"
|
||||||
|
:truncate true
|
||||||
|
)
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue