I have a little time display on my password server on my single player… (admittedly it updates intermittently not every minute)
function time()
cpx, cpy = term.getCursorPos()
term.setCursorPos(25,5)
local t = os.time()
print("Time: "..textutils.formatTime(t,false))
term.setCursorPos(cpx, cpy)
end
What I did to make this work with a listening server was to make the listen time 1 - with
senderId, mess, distance = rednet.receive(1)
if senderId == nil then
time()
else
If I get a message it stops updating the time untill it deals with the server request. But if it has no message to deal with it continuously updates the time, (after the else is my entire program with an "end" statement added on the end to close that loop.
the update on this is 1 min, 1 min, 2 min, 1min, 1min, 2min. Due to the tick difference (currently)
Edit..I changed the rednet.receive(1) to rednet.receive(0.8) and this makes the clock update every minute. This also makes my server response time much faster too when a client requests a login. (I can barely tell when someone logs in as the time continues to tick as normal)