add: Night Of The Dead (#37)
* add: Night Of The Dead (not done yet) * fix the basics * cleanup * make the console output work * Fix SaveGame dir
This commit is contained in:
		
							parent
							
								
									10398228e0
								
							
						
					
					
						commit
						fd124d0bb2
					
				
							
								
								
									
										12
									
								
								night_of_the_dead/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								night_of_the_dead/README.md
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,12 @@ | ||||
| # Night of the dead | ||||
| 
 | ||||
| ### Description | ||||
| 'Night of the Dead' is an open-world game that combines elements of exploration, tower defense, survival, and crafting. Traverse a world dominated by zombies while collecting various resources and powerful equipment. Build a fortress to survive the hordes of zombies that swarm every night!  | ||||
| 
 | ||||
| 
 | ||||
| ### Server Ports | ||||
| 
 | ||||
| | Port      | default | | ||||
| |-----------|---------| | ||||
| | Game      | 27015   | | ||||
| | Query     | 27016   | | ||||
							
								
								
									
										94
									
								
								night_of_the_dead/ServerSettings.ini
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										94
									
								
								night_of_the_dead/ServerSettings.ini
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,94 @@ | ||||
| [ServerSettings] | ||||
| ServerName= | ||||
| Password= | ||||
| MaxPlayers=16 | ||||
| [SystemSettings] | ||||
| IngameAdminPassword= | ||||
| DefaultMessageOfTheDay= | ||||
| ; INSTALL_DIR/Saved/SaveGames/SAVE_NAME | ||||
| SaveName= | ||||
| ; In-game hour, integer, Default: 1 = 5 min(realtime). | ||||
| SaveIntervalHour=2 | ||||
| [GameSettings] | ||||
| ; Peaceful/Easy/Normal/Hard/Survival/Challenge/Legend/Custom | ||||
| Difficulty=Normal | ||||
| [GameSettings/General] | ||||
| ; 0=disable, 1=enbale | ||||
| NoWave=0 // No Wave | ||||
| NoSpawnBuildingBlocker=0 // Activate Building Forbidden Area | ||||
| NoZombieRespawn=0 // No Zombie Respawn | ||||
| NaturalObjectRespawn=0 // Natural Objects Respawn | ||||
| SyntheticObjectRespawn=0 // Synthetic Object Respawn | ||||
| NoGeneratorTrouble=0 // No Generator Breakdown | ||||
| NoDeathResearchDrop=0 // No Research Lost Upon Dying | ||||
| DropItemsOnExit=0 // Drop Items on Exit | ||||
| Hardcore=0 // Hardcore | ||||
| NoTeamKill=0 // No Teamkill | ||||
| NoEnding=0 // No Ending | ||||
| ; 0=PvP, 1=PvE | ||||
| MODSelect=1 // Mode | ||||
| ; It works only when the difficulty is Custom. | ||||
| [GameSettings/Basic] | ||||
| ; 0 <= value <= 100 | ||||
| NormalZombieHealth=17 // Light Zombie HP | ||||
| SpecialZombieHealth=17 // Heavy Zombie HP | ||||
| GiantZombieHealth=17 // Giant Zombie HP | ||||
| ZombieDamage=18 // Zombie Damage | ||||
| ZombieMovementSpeed=35 // Zombie Movement Speed | ||||
| WorldZombieSpawn=17 // World Zombie Spawn Amount | ||||
| WaveZombieHealth=25 // Wave Zombie HP | ||||
| WaveNormalZombieAmount=44 // Light Zombie Amount | ||||
| WaveSpecialZombieAmount=17 // Heavy Zombie Amount | ||||
| WaveGiantZombieAmount=21 // Giant Zombie Amount | ||||
| AnimalHealth=17 // Animal HP | ||||
| AnimalDamage=18 // Animal Attack Damage | ||||
| ; 30 / 60 / 120 / 180 / 240 | ||||
| WorldNormalZombieRespawnTime=120 // Light Zombie Respawn Time | ||||
| ; 120 / 300 / 600 / 900 / 1200 | ||||
| WorldSpecialZombieRespawnTime=600 // Heavy Zombie Respawn Time | ||||
| ; 120 / 300 / 600 / 900 / 1200 | ||||
| WorldGiantZombieRespawnTime=600 // Giant Zombie Respawn Time | ||||
| ; It works only when the difficulty is Custom. | ||||
| [GameSettings/Advanced] | ||||
| ; 0 = disable, 1 = enable | ||||
| NoExperienceLoss=0 // No EXP Lost Upon Dying | ||||
| NoDeathItemDrop=0 // No Items Drop Upon Dying | ||||
| NoDeathEquipmentItemDrop=0 // No Equipment Drop Upon Dying | ||||
| ; 0 <= value <= 100 | ||||
| ResearchDataConsumption=50 // Research Data Consumption | ||||
| FishSpeed=66 // Fish Speed | ||||
| BuildingHit=90 // Building HP | ||||
| TrapDamage=66 // Trap Attack Damage | ||||
| ResourcesReturnedAfterBuildingDestroyed=30 // Materials Return Rate After Building Destruction | ||||
| FishingGaugeDecrease=40 // Fish Power | ||||
| SuperiorOrHigherEquipmentGainMultiplier=40 // High-Grade Equipment Drop Rate | ||||
| ; 1 / 2 / 3 / 4 / 5 | ||||
| AmountOfExperienceGained=1 // Gain EXP Amount | ||||
| ; 1 / 2 / 3 | ||||
| ResourceAcquisition=1 // Item Obtained Amount | ||||
| ; 0 / 1 / 2 / 5 / 10 / 12 / 15 | ||||
| InitialFoodAmount=10 // Initial Food Amount | ||||
| ; 240 / 360 / 480 / 720 / 840 / 960 / 1200 | ||||
| NaturalObjectRespawnTime=0 // Natural Objects Respawn Time | ||||
| SyntheticObjectRespawnTime=0 // Synthetic Objects Respawn Time | ||||
| ; 1 / 1.25 / 1.5 / 1.75 / 2 | ||||
| FarmResourceOutput=1.25 // Farm Resource Production Amount | ||||
| ; 0.5 / 1 / 1.5 / 2 / 2.5 | ||||
| MachineResourceOutput=1.25 // Machine Resource Production Amount | ||||
| ; 0.5 / 1 / 1.5 / 2 / 2.5 | ||||
| AnimalTrapTime=1 // Animal Trap Time | ||||
| ; 0.5 / 1 / 1.5 | ||||
| FarmResourceProductionTime=1 // Farm Resource Production Time | ||||
| MachineResourceProductionTime=1 // Machine Resource Production Time | ||||
| ; 0.5 / 1 / 1.5 / 2 / 2.5 | ||||
| ElectricGeneration=1 // Power Generated | ||||
| ; 0.5 / 1 / 1.5 | ||||
| ElectricConsumption=1 // Power Consumption | ||||
| ; 0.5 / 1 / 1.5 / 2 / 2.5 | ||||
| ElectricOvercurrentLimit=1 // Power Limit | ||||
| ; 0.5 / 1 / 1.5 | ||||
| ElectricStandbyPower=1 // Standby Power | ||||
| ; It works only when the difficulty is Custom. | ||||
| [GameSettings/Detail] | ||||
| ; 60 / 120 / 180 / 240 / 300 | ||||
| OneDayTime=120 // Times per Day | ||||
							
								
								
									
										211
									
								
								night_of_the_dead/egg-night-of-the-dead.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										211
									
								
								night_of_the_dead/egg-night-of-the-dead.json
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,211 @@ | ||||
| { | ||||
|     "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL", | ||||
|     "meta": { | ||||
|         "version": "PTDL_v2", | ||||
|         "update_url": null | ||||
|     }, | ||||
|     "exported_at": "2024-06-15T18:59:35+02:00", | ||||
|     "name": "Night Of The Dead", | ||||
|     "author": "marshals@gmail.com", | ||||
|     "uuid": "08b518e7-fa75-4db9-9fdc-07fc9bc35c28", | ||||
|     "description": "Build defenses against nightly waves of zombies. Survive and escape the island.", | ||||
|     "features": [ | ||||
|         "steam_disk_space" | ||||
|     ], | ||||
|     "docker_images": { | ||||
|         "wine_latest": "ghcr.io\/parkervcp\/yolks:wine_latest" | ||||
|     }, | ||||
|     "file_denylist": [], | ||||
|     "startup": "wine \/home\/container\/LF\/Binaries\/Win64\/LFServer-Win64-Shipping.exe ?listen -Port={{SERVER_PORT}} -QueryPort={{QUERY_PORT}} -console -log --CRASHREPORTS {{OTHER_ARGS}} & NOTD_PID=$!; sleep 5; tail -c0 -F  \/home\/container\/LF\/Saved\/Logs\/LF.log --pid=$NOTD_PID", | ||||
|     "config": { | ||||
|         "files": "{\n    \"LF\/Saved\/Config\/ServerSettings.ini\": {\n        \"parser\": \"ini\",\n        \"find\": {\n            \"ServerSettings.ServerName\": \"{{server.environment.SERVER_NAME}}\",\n            \"ServerSettings.Password\": \"{{server.environment.SERVER_PASSWORD}}\",\n            \"SystemSettings.SaveName\": \"{{server.environment.SERVER_SAVEGAME}}\",\n            \"SystemSettings.IngameAdminPassword\": \"{{server.environment.SERVER_ADMIN_PASSWORD}}\",\n            \"SystemSettings.DefaultMessageOfTheDay\": \"{{server.environment.SERVER_MOTD}}\",\n            \"GameSettings.Difficulty\": \"{{server.environment.DIFFICULTY}}\",\n            \"GameSettings\/General.MODSelect\": \"{{server.environment.PVP}}\"\n        }\n    }\n}", | ||||
|         "startup": "{\n    \"done\": [\n        \"Successfully updated session\",\n        \"Start Session Complete\"\n    ]\n}", | ||||
|         "logs": "{}", | ||||
|         "stop": "^C" | ||||
|     }, | ||||
|     "scripts": { | ||||
|         "installation": { | ||||
|             "script": "#!\/bin\/bash\r\n# steamcmd Base Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n# Image to install with is 'ghcr.io\/parkervcp\/installers:debian'\r\n\r\n# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.\r\n#apt -y update\r\n#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n    echo -e \"steam user is not set.\\n\"\r\n    echo -e \"Using anonymous user.\\n\"\r\n    STEAM_USER=anonymous\r\n    STEAM_PASS=\"\"\r\n    STEAM_AUTH=\"\"\r\nelse\r\n    echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s \"-beta ${SRCDS_BETAID}\" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s \"-betapassword ${SRCDS_BETAPASS}\" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n## add below your custom commands if needed\r\n## make needed dir\r\nmkdir -p \/mnt\/server\/LF\/Saved\/SaveGames\r\nmkdir -p \/mnt\/server\/LF\/Saved\/Config\r\n\r\ncurl -sSL -o \/mnt\/server\/LF\/Saved\/Config\/ServerSettings.ini https:\/\/raw.githubusercontent.com\/pelican-eggs\/games-steamcmd\/main\/night_of_the_dead\/ServerSettings.ini\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"", | ||||
|             "container": "ghcr.io\/parkervcp\/installers:debian", | ||||
|             "entrypoint": "bash" | ||||
|         } | ||||
|     }, | ||||
|     "variables": [ | ||||
|         { | ||||
|             "sort": 1, | ||||
|             "name": "WINEDEBUG", | ||||
|             "description": "", | ||||
|             "env_variable": "WINEDEBUG", | ||||
|             "default_value": "-all", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|max:20", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "sort": 2, | ||||
|             "name": "SRCDS_APPID", | ||||
|             "description": "", | ||||
|             "env_variable": "SRCDS_APPID", | ||||
|             "default_value": "1420710", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|in:1420710", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "sort": 3, | ||||
|             "name": "WINDOWS_INSTALL", | ||||
|             "description": "", | ||||
|             "env_variable": "WINDOWS_INSTALL", | ||||
|             "default_value": "1", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|boolean|in:1", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "sort": 4, | ||||
|             "name": "Auto Update", | ||||
|             "description": "Auto update the server on start", | ||||
|             "env_variable": "AUTO_UPDATE", | ||||
|             "default_value": "1", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|boolean", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "sort": 5, | ||||
|             "name": "Query Port", | ||||
|             "description": "", | ||||
|             "env_variable": "QUERY_PORT", | ||||
|             "default_value": "27016", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|max:5", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "sort": 6, | ||||
|             "name": "Server Name", | ||||
|             "description": "", | ||||
|             "env_variable": "SERVER_NAME", | ||||
|             "default_value": "Pelican", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string|max:32", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "sort": 7, | ||||
|             "name": "Server Password", | ||||
|             "description": "", | ||||
|             "env_variable": "SERVER_PASSWORD", | ||||
|             "default_value": "", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "nullable|string|max:32", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "sort": 8, | ||||
|             "name": "Server Admin Password", | ||||
|             "description": "", | ||||
|             "env_variable": "SERVER_ADMIN_PASSWORD", | ||||
|             "default_value": "", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string|max:32", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "sort": 9, | ||||
|             "name": "Difficulty", | ||||
|             "description": "", | ||||
|             "env_variable": "DIFFICULTY", | ||||
|             "default_value": "Normal", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string|in:Normal,Peaceful,Easy,Hard,Survival,Challenge,Legend", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "sort": 10, | ||||
|             "name": "PVP", | ||||
|             "description": "1=PVE 0=PVP", | ||||
|             "env_variable": "PVP", | ||||
|             "default_value": "1", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|boolean", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "sort": 11, | ||||
|             "name": "Savegame Name", | ||||
|             "description": "", | ||||
|             "env_variable": "SERVER_SAVEGAME", | ||||
|             "default_value": "savedgame1", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string|max:32", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "sort": 12, | ||||
|             "name": "Winetricks Run", | ||||
|             "description": "", | ||||
|             "env_variable": "WINETRICKS_RUN", | ||||
|             "default_value": "vcrun2022 corefonts", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "sort": 13, | ||||
|             "name": "WINEPATH", | ||||
|             "description": "", | ||||
|             "env_variable": "WINEPATH", | ||||
|             "default_value": "\/home\/container", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|max:20", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "sort": 14, | ||||
|             "name": "Server MOTD", | ||||
|             "description": "", | ||||
|             "env_variable": "SERVER_MOTD", | ||||
|             "default_value": "Welcome to the server.", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "nullable|string", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "sort": 15, | ||||
|             "name": "Extra Args", | ||||
|             "description": "other arguments added to command line.", | ||||
|             "env_variable": "OTHER_ARGS", | ||||
|             "default_value": "", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "nullable|string", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "sort": 16, | ||||
|             "name": "XVFB", | ||||
|             "description": "Start XVFB in the background.", | ||||
|             "env_variable": "XVFB", | ||||
|             "default_value": "1", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "boolean|in:1", | ||||
|             "field_type": "text" | ||||
|         } | ||||
|     ] | ||||
| } | ||||
							
								
								
									
										194
									
								
								night_of_the_dead/egg-pterodactyl-night-of-the-dead.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										194
									
								
								night_of_the_dead/egg-pterodactyl-night-of-the-dead.json
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,194 @@ | ||||
| { | ||||
|     "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL", | ||||
|     "meta": { | ||||
|         "version": "PTDL_v2", | ||||
|         "update_url": null | ||||
|     }, | ||||
|     "exported_at": "2024-06-15T18:59:35+02:00", | ||||
|     "name": "Night Of The Dead", | ||||
|     "author": "marshals@gmail.com", | ||||
|     "description": "Build defenses against nightly waves of zombies. Survive and escape the island.", | ||||
|     "features": [ | ||||
|         "steam_disk_space" | ||||
|     ], | ||||
|     "docker_images": { | ||||
|         "wine_latest": "ghcr.io\/parkervcp\/yolks:wine_latest" | ||||
|     }, | ||||
|     "file_denylist": [], | ||||
|     "startup": "wine \/home\/container\/LF\/Binaries\/Win64\/LFServer-Win64-Shipping.exe ?listen -Port={{SERVER_PORT}} -QueryPort={{QUERY_PORT}} -console -log --CRASHREPORTS {{OTHER_ARGS}} & NOTD_PID=$!; sleep 5; tail -c0 -F  \/home\/container\/LF\/Saved\/Logs\/LF.log --pid=$NOTD_PID", | ||||
|     "config": { | ||||
|         "files": "{\n    \"LF\/Saved\/Config\/ServerSettings.ini\": {\n        \"parser\": \"ini\",\n        \"find\": {\n            \"ServerSettings.ServerName\": \"{{env.SERVER_NAME}}\",\n            \"ServerSettings.Password\": \"{{env.SERVER_PASSWORD}}\",\n            \"SystemSettings.SaveName\": \"{{env.SERVER_SAVEGAME}}\",\n            \"SystemSettings.IngameAdminPassword\": \"{{env.SERVER_ADMIN_PASSWORD}}\",\n            \"SystemSettings.DefaultMessageOfTheDay\": \"{env.SERVER_MOTD}}\",\n            \"GameSettings.Difficulty\": \"{{env.DIFFICULTY}}\",\n            \"GameSettings\/General.MODSelect\": \"{{env.PVP}}\"\n        }\n    }\n}", | ||||
|         "startup": "{\n    \"done\": [\n        \"Successfully updated session\",\n        \"Start Session Complete\"\n    ]\n}", | ||||
|         "logs": "{}", | ||||
|         "stop": "^C" | ||||
|     }, | ||||
|     "scripts": { | ||||
|         "installation": { | ||||
|             "script": "#!\/bin\/bash\r\n# steamcmd Base Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n# Image to install with is 'ghcr.io\/parkervcp\/installers:debian'\r\n\r\n# Install packages. Default packages below are not required if using our existing install image thus speeding up the install process.\r\n#apt -y update\r\n#apt -y --no-install-recommends install curl lib32gcc-s1 ca-certificates\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n    echo -e \"steam user is not set.\\n\"\r\n    echo -e \"Using anonymous user.\\n\"\r\n    STEAM_USER=anonymous\r\n    STEAM_PASS=\"\"\r\n    STEAM_AUTH=\"\"\r\nelse\r\n    echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} $( [[ \"${WINDOWS_INSTALL}\" == \"1\" ]] && printf %s '+@sSteamCmdForcePlatformType windows' ) +app_update ${SRCDS_APPID} $( [[ -z ${SRCDS_BETAID} ]] || printf %s \"-beta ${SRCDS_BETAID}\" ) $( [[ -z ${SRCDS_BETAPASS} ]] || printf %s \"-betapassword ${SRCDS_BETAPASS}\" ) ${INSTALL_FLAGS} validate +quit ## other flags may be needed depending on install. looking at you cs 1.6\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n## add below your custom commands if needed\r\n## make needed dir\r\nmkdir -p \/mnt\/server\/LF\/Saved\/SaveGames\r\nmkdir -p \/mnt\/server\/LF\/Saved\/Config\r\n\r\ncurl -sSL -o \/mnt\/server\/LF\/Saved\/Config\/ServerSettings.ini https:\/\/raw.githubusercontent.com\/pelican-eggs\/games-steamcmd\/main\/night_of_the_dead\/ServerSettings.ini\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"", | ||||
|             "container": "ghcr.io\/parkervcp\/installers:debian", | ||||
|             "entrypoint": "bash" | ||||
|         } | ||||
|     }, | ||||
|     "variables": [ | ||||
|         { | ||||
|             "name": "WINEDEBUG", | ||||
|             "description": "", | ||||
|             "env_variable": "WINEDEBUG", | ||||
|             "default_value": "-all", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|max:20", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "SRCDS_APPID", | ||||
|             "description": "", | ||||
|             "env_variable": "SRCDS_APPID", | ||||
|             "default_value": "1420710", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|in:1420710", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "WINDOWS_INSTALL", | ||||
|             "description": "", | ||||
|             "env_variable": "WINDOWS_INSTALL", | ||||
|             "default_value": "1", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|boolean|in:1", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Auto Update", | ||||
|             "description": "Auto update the server on start", | ||||
|             "env_variable": "AUTO_UPDATE", | ||||
|             "default_value": "1", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|boolean", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Query Port", | ||||
|             "description": "", | ||||
|             "env_variable": "QUERY_PORT", | ||||
|             "default_value": "27016", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|max:5", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Server Name", | ||||
|             "description": "", | ||||
|             "env_variable": "SERVER_NAME", | ||||
|             "default_value": "Pelican", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string|max:32", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Server Password", | ||||
|             "description": "", | ||||
|             "env_variable": "SERVER_PASSWORD", | ||||
|             "default_value": "", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "nullable|string|max:32", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Server Admin Password", | ||||
|             "description": "", | ||||
|             "env_variable": "SERVER_ADMIN_PASSWORD", | ||||
|             "default_value": "", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string|max:32", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Difficulty", | ||||
|             "description": "", | ||||
|             "env_variable": "DIFFICULTY", | ||||
|             "default_value": "Normal", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string|in:Normal,Peaceful,Easy,Hard,Survival,Challenge,Legend", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "PVP", | ||||
|             "description": "1=PVE 0=PVP", | ||||
|             "env_variable": "PVP", | ||||
|             "default_value": "1", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|boolean", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Savegame Name", | ||||
|             "description": "", | ||||
|             "env_variable": "SERVER_SAVEGAME", | ||||
|             "default_value": "savedgame1", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "required|string|max:32", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Winetricks Run", | ||||
|             "description": "", | ||||
|             "env_variable": "WINETRICKS_RUN", | ||||
|             "default_value": "vcrun2022 corefonts", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "WINEPATH", | ||||
|             "description": "", | ||||
|             "env_variable": "WINEPATH", | ||||
|             "default_value": "\/home\/container", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "required|string|max:20", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Server MOTD", | ||||
|             "description": "", | ||||
|             "env_variable": "SERVER_MOTD", | ||||
|             "default_value": "Welcome to the server.", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "nullable|string", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "Extra Args", | ||||
|             "description": "other arguments added to command line.", | ||||
|             "env_variable": "OTHER_ARGS", | ||||
|             "default_value": "", | ||||
|             "user_viewable": true, | ||||
|             "user_editable": true, | ||||
|             "rules": "nullable|string", | ||||
|             "field_type": "text" | ||||
|         }, | ||||
|         { | ||||
|             "name": "XVFB", | ||||
|             "description": "Start XVFB in the background.", | ||||
|             "env_variable": "XVFB", | ||||
|             "default_value": "1", | ||||
|             "user_viewable": false, | ||||
|             "user_editable": false, | ||||
|             "rules": "boolean|in:1", | ||||
|             "field_type": "text" | ||||
|         } | ||||
|     ] | ||||
| } | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user