mods
This commit is contained in:
8
hlna.py
8
hlna.py
@ -258,6 +258,12 @@ def yaml_create(cluster_server, map_s, name_server, port_server, query_port, rco
|
|||||||
yaml.dump(settings_hlna, yamlfile)
|
yaml.dump(settings_hlna, yamlfile)
|
||||||
print(colorama.Fore.GREEN + "Конфиг создан" + colorama.Style.RESET_ALL)
|
print(colorama.Fore.GREEN + "Конфиг создан" + colorama.Style.RESET_ALL)
|
||||||
|
|
||||||
|
def test_mod_install():
|
||||||
|
pathTest = f"{dir_server}ShooterGame/Saved/Config/LinuxServer/"
|
||||||
|
os.chdir(pathTest)
|
||||||
|
# "Добавить файл в Game.ini, если модов несколько добавляем еще строку ModIDS=<ModId> [ModInstaller] ModIDS=<ModID>" c этим не разобрался
|
||||||
|
os.system("echo ActiveMods=2943454417 >> GameUserSettings.ini")
|
||||||
|
test_mod_install()
|
||||||
|
|
||||||
@hlna.command()
|
@hlna.command()
|
||||||
@click.option("-m", required=True, help="Название Сервера")
|
@click.option("-m", required=True, help="Название Сервера")
|
||||||
@ -403,7 +409,7 @@ def start(m,b, name_server=list_config):
|
|||||||
else:
|
else:
|
||||||
print("Ни одной карты не установлено")
|
print("Ни одной карты не установлено")
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@hlna.command(help='Для удаления серверов')
|
@hlna.command(help='Для удаления серверов')
|
||||||
@click.option('-m', required=True, help="Название карты для удаления")
|
@click.option('-m', required=True, help="Название карты для удаления")
|
||||||
def delete(m, list_config=list_config):
|
def delete(m, list_config=list_config):
|
||||||
|
Reference in New Issue
Block a user