|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
from mctools import PINGClient
|
|
|
|
|
ping = PINGClient('localhost')
|
|
|
|
|
ping = PINGClient('play.dmcraft.online')
|
|
|
|
|
#stats = ping.get_stats()
|
|
|
|
|
|
|
|
|
|
#Work with JSON
|
|
|
|
@ -42,6 +42,6 @@ while True:
|
|
|
|
|
db[i[0]] = db[i[0]] + 1
|
|
|
|
|
write()
|
|
|
|
|
|
|
|
|
|
except:
|
|
|
|
|
print('Maybe server offline')
|
|
|
|
|
except Exception as e:
|
|
|
|
|
print('e')
|
|
|
|
|
|
|
|
|
|