Countdown
This commit is contained in:
parent
403f9005a9
commit
413fabb1a9
2 changed files with 50 additions and 0 deletions
|
@ -450,3 +450,15 @@ class AternosServer:
|
|||
"""
|
||||
|
||||
return int(self._info['ram'])
|
||||
|
||||
@property
|
||||
def countdown(self) -> int:
|
||||
"""Server stop countdown
|
||||
in seconds
|
||||
|
||||
Returns:
|
||||
Stop countdown
|
||||
"""
|
||||
|
||||
value = self._info['countdown']
|
||||
return int(value or -1)
|
||||
|
|
Reference in a new issue