start & install

This commit is contained in:
Евгений Храмов 2023-02-04 18:56:52 +03:00
parent 6fac03dac7
commit c3f9f68e64
3 changed files with 24 additions and 12 deletions

@ -0,0 +1,14 @@
map_server: TheIsland
dir_server: "~/ARK_Servers/"
session_name: Dodo server
Port: 7777
QueryPort: 27015
ServerPassword:
MaxPlayers: 70
ModsId:
-
-
-
-
listen: True
Cluster: False

@ -1,2 +0,0 @@
#!/usr/bin/env python3

20
dodo.py

@ -1,16 +1,16 @@
#!/usr/bin/env python3
import os
import yaml
map_server = "TheIsland"
dir_server = "/home/xpamych/ARK_Servers/"
session_name = "Dodo server"
Port = 7777
QueryPort = 27015
ServerPassword = ""
MaxPlayers = 70
ModsId = []
listen = True
Cluster = False
#map_server = "TheIsland"
#dir_server = "~/ARK_Servers/"
#session_name = "Dodo server"
#Port = 7777
#QueryPort = 27015
#ServerPassword = ""
#MaxPlayers = 70
#ModsId = []
#listen = True
#Cluster = False
def read_yaml():
with open("config.yaml", "r") as f: