update name & add docs

This commit is contained in:
2026-09-06 09:30:40 -05:00
parent 49c87d9dbf
commit b6630d844c
4 changed files with 123 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
import time
from rcon import send_command
def run(sock):
send_command(sock, "say server is restarting!")
send_command(sock, "save-all")
time.sleep(10)
send_command(sock, "stop")