Merge pull request #559 from parkervcp/add/project_zomboid
Add egg for Project Zomboid
This commit is contained in:
		| @@ -112,6 +112,7 @@ If you are reading this it looks like you are looking to add an egg to your serv | |||||||
| * [Mordhau](/steamcmd_servers/mordhau) | * [Mordhau](/steamcmd_servers/mordhau) | ||||||
| * [Onset](/steamcmd_servers/onset) | * [Onset](/steamcmd_servers/onset) | ||||||
| * [PixARK](/steamcmd_servers/pixark/) | * [PixARK](/steamcmd_servers/pixark/) | ||||||
|  | * [Project Zomboid](/steamcmd_servers/project_zomboid/) | ||||||
| * [Rust Staging Branch](/steamcmd_servers/rust_staging/) | * [Rust Staging Branch](/steamcmd_servers/rust_staging/) | ||||||
| * [SCP: Secret Laboratory](/steamcmd_servers/scpsl/) | * [SCP: Secret Laboratory](/steamcmd_servers/scpsl/) | ||||||
|   * [dedicated](/steamcmd_servers/scpsl/dedicated/) |   * [dedicated](/steamcmd_servers/scpsl/dedicated/) | ||||||
|   | |||||||
| @@ -37,6 +37,9 @@ This is a collection of servers that use steamcmd to install. | |||||||
| ## Onset | ## Onset | ||||||
| [onset](onset/) | [onset](onset/) | ||||||
|  |  | ||||||
|  | ## Project Zomboid | ||||||
|  | [project_zomboid](project_zomboid/) | ||||||
|  |  | ||||||
| ## Rust Staging | ## Rust Staging | ||||||
| [rust staging](rust_staging/) | [rust staging](rust_staging/) | ||||||
|  |  | ||||||
|   | |||||||
							
								
								
									
										23
									
								
								steamcmd_servers/project_zomboid/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								steamcmd_servers/project_zomboid/README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,23 @@ | |||||||
|  | # Project Zomboid | ||||||
|  |  | ||||||
|  | Project Zomboid is the ultimate in zombie survival. Alone or in MP: you loot, build, craft, fight, farm and fish in a struggle to survive. A hardcore RPG skillset, a vast map, a massively customisable sandbox and a cute tutorial raccoon await the unwary. So how will you die? | ||||||
|  |  | ||||||
|  | ## Server Ports | ||||||
|  |  | ||||||
|  | Project Zomboid requires one port for Steam and an additional **one port per player**.  Additional ports are allocated as they connect. | ||||||
|  |  | ||||||
|  | For example, when configured with a base allocation of 27016: | ||||||
|  | ``` | ||||||
|  | Zomboid Steam Server started, ports 27016 and 27016 must be open on the router | ||||||
|  | Connected new client kubi ID # 0 and assigned DL port 27017 | ||||||
|  | Connected new client kubi2 ID # 1 and assigned DL port 27018 | ||||||
|  | ``` | ||||||
|  |  | ||||||
|  | If you're experiencing issues with players connecting it's likely because you have not allocated enough ports.  These ports **must be in order** following the Steam port. | ||||||
|  |  | ||||||
|  | | Port        | default | | ||||||
|  | |-------------|---------| | ||||||
|  | | Game        | 8766    | | ||||||
|  | | Player1     | 8767    | | ||||||
|  | | Player2     | 8768    | | ||||||
|  | | ...         | 8769    | | ||||||
							
								
								
									
										72
									
								
								steamcmd_servers/project_zomboid/egg-project-zomboid.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										72
									
								
								steamcmd_servers/project_zomboid/egg-project-zomboid.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,72 @@ | |||||||
|  | { | ||||||
|  |     "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||||||
|  |     "meta": { | ||||||
|  |         "version": "PTDL_v1" | ||||||
|  |     }, | ||||||
|  |     "exported_at": "2020-06-06T11:23:23-07:00", | ||||||
|  |     "name": "Project Zomboid", | ||||||
|  |     "author": "iamkubi@gmail.com", | ||||||
|  |     "description": "Project Zomboid is an open world survival horror video game in alpha stage development by British and Canadian independent developer, The Indie Stone. The game is set in a post apocalyptic, zombie infested world where the player is challenged to survive for as long as possible before inevitably dying.", | ||||||
|  |     "image": "quay.io\/pterodactyl\/core:source", | ||||||
|  |     "startup": "\/home\/container\/start-server.sh -port {{SERVER_PORT}} -steamport1 {{STEAM_PORT}} -servername \\\"{{SERVER_NAME}}\\\" -adminusername {{ADMIN_USER}} -adminpassword \"{{ADMIN_PASSWORD}}\"", | ||||||
|  |     "config": { | ||||||
|  |         "files": "{}", | ||||||
|  |         "startup": "{\r\n    \"done\": \"SERVER STARTED\",\r\n    \"userInteraction\": []\r\n}", | ||||||
|  |         "logs": "{}", | ||||||
|  |         "stop": "^C" | ||||||
|  |     }, | ||||||
|  |     "scripts": { | ||||||
|  |         "installation": { | ||||||
|  |             "script": "apt update\r\napt -y --no-install-recommends install curl unzip lib32gcc1 ca-certificates\r\ncd \/tmp\r\ncurl -sSL -o steamcmd.tar.gz http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz\r\nmkdir -p \/mnt\/server\/steam\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steam\r\ncd \/mnt\/server\/steam\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n.\/steamcmd.sh +login anonymous +force_install_dir \/mnt\/server +app_update 380870 +quit\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v \/mnt\/server\/steam\/linux32\/steamclient.so \/mnt\/server\/.steam\/sdk32\/steamclient.so", | ||||||
|  |             "container": "debian:buster-slim", | ||||||
|  |             "entrypoint": "bash" | ||||||
|  |         } | ||||||
|  |     }, | ||||||
|  |     "variables": [ | ||||||
|  |         { | ||||||
|  |             "name": "Server Name", | ||||||
|  |             "description": "Name of the server", | ||||||
|  |             "env_variable": "SERVER_NAME", | ||||||
|  |             "default_value": "Project Zomboid Server", | ||||||
|  |             "user_viewable": 1, | ||||||
|  |             "user_editable": 1, | ||||||
|  |             "rules": "required|string|max:64" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |             "name": "Admin Username", | ||||||
|  |             "description": "Username for the admin account", | ||||||
|  |             "env_variable": "ADMIN_USER", | ||||||
|  |             "default_value": "admin", | ||||||
|  |             "user_viewable": 1, | ||||||
|  |             "user_editable": 1, | ||||||
|  |             "rules": "required|string|max:20" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |             "name": "Admin Password", | ||||||
|  |             "description": "Password for the admin account", | ||||||
|  |             "env_variable": "ADMIN_PASSWORD", | ||||||
|  |             "default_value": "password", | ||||||
|  |             "user_viewable": 1, | ||||||
|  |             "user_editable": 1, | ||||||
|  |             "rules": "required|string|max:32" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |             "name": "SteamPort", | ||||||
|  |             "description": "Sets the SteamPort1 option", | ||||||
|  |             "env_variable": "STEAM_PORT", | ||||||
|  |             "default_value": "8766", | ||||||
|  |             "user_viewable": 1, | ||||||
|  |             "user_editable": 0, | ||||||
|  |             "rules": "required|string|max:20" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |             "name": "Max Players", | ||||||
|  |             "description": "Maximum players to allow", | ||||||
|  |             "env_variable": "MAX_PLAYERS", | ||||||
|  |             "default_value": "10", | ||||||
|  |             "user_viewable": 1, | ||||||
|  |             "user_editable": 0, | ||||||
|  |             "rules": "required|string|max:20" | ||||||
|  |         } | ||||||
|  |     ] | ||||||
|  | } | ||||||
		Reference in New Issue
	
	Block a user