diff --git a/main.py b/main.py index efa29bd..9f95ebf 100644 --- a/main.py +++ b/main.py @@ -3,6 +3,8 @@ from rcon.battleye import Client, ServerMessage import sys import os import json +import socket +from time import sleep @@ -174,6 +176,10 @@ def hard_restart(): response = client.run('#shutdown') print(response) +def soft_restart(): # Not implemented yet + print('not implemented yet') + pass + def list_players(): try: with Client(SERVER_ADDRESS, SERVER_PORT, passwd=RCON_PASSWORD) as client: