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