Closed gidonyou closed 9 years ago
An auto refresh feature is already in the latest version (1.5.1) but it's set to refresh every 1min.
If you don't want to wait for the next update where I'll make it configurable, you can edit index.php
:
On line 68 change the last number to the number of second you want times 1000:
setInterval(function(){
if (getCookie("autoRefresh") == "true") {
refresh();
}
}, 60000); // <--- THIS IS LINE 68
Can you add the function that reload the server stat every few second? which update player count, server status, etc..