This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import json | |
import random | |
import string | |
import datetime as dt | |
from django.core.management.base import BaseCommand | |
from django.utils import timezone as djangotime | |
from django.conf import settings |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import valve.rcon | |
import re | |
import signal | |
import time | |
ip = "10.0.0.1" | |
port = 27015 | |
password = "rconpassword" | |
timeout = 20 # seconds |