start & install
This commit is contained in:
		
							
								
								
									
										14
									
								
								config.yaml
									
									
									
									
									
								
							
							
						
						
									
										14
									
								
								config.yaml
									
									
									
									
									
								
							| @@ -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
									
									
									
									
									
								
							
							
						
						
									
										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: | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user