This commit is contained in:
2025-04-29 18:05:54 +02:00
parent 13c6f14886
commit 4b8d7f1679
9 changed files with 262 additions and 31 deletions

View File

@@ -32,4 +32,12 @@ function hideNavBar() {
for (const button of uiButton.children) {
button.removeAttribute("hidden")
}
}
}
window.onload = () => {
system.call("server::ping")
}
system.result("server::ping", (data) => {
playersStatus.innerText = `${data.players.online}/${data.players.max}`
})