mirror of
				https://github.com/pelican-eggs/eggs.git
				synced 2025-10-31 08:58:06 +00:00 
			
		
		
		
	Merge pull request #2820 from parkervcp/Rimworld_Together
add Rimworld Together
This commit is contained in:
		
						commit
						a0c7fdc193
					
				| @ -232,6 +232,7 @@ If you are reading this it looks like you are looking to add an egg to your serv | |||||||
| [Rimworld](game_eggs/rimworld) | [Rimworld](game_eggs/rimworld) | ||||||
| 
 | 
 | ||||||
| * [Open World](game_eggs/rimworld/open_world) | * [Open World](game_eggs/rimworld/open_world) | ||||||
|  | * [Rimworld Together](game_eggs/rimworld/together) | ||||||
| 
 | 
 | ||||||
| [SteamCMD Servers](game_eggs/steamcmd_servers) These eggs use SteamCMD to install | [SteamCMD Servers](game_eggs/steamcmd_servers) These eggs use SteamCMD to install | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -126,6 +126,7 @@ | |||||||
| [Rimworld](rimworld) | [Rimworld](rimworld) | ||||||
| 
 | 
 | ||||||
| * [Open World](rimworld/open_world) | * [Open World](rimworld/open_world) | ||||||
|  | * [Rimworld Together](rimworld/together) | ||||||
| 
 | 
 | ||||||
| [Starmade](starmade) | [Starmade](starmade) | ||||||
| 
 | 
 | ||||||
|  | |||||||
							
								
								
									
										16
									
								
								game_eggs/rimworld/together/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								game_eggs/rimworld/together/README.md
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,16 @@ | |||||||
|  | # Rimworld Together | ||||||
|  | 
 | ||||||
|  | ## From their [site](https://rimworld-together.fandom.com/wiki/Rimworld_Together_Wiki) | ||||||
|  | 
 | ||||||
|  | ## From their [Github](https://github.com/Byte-Nova/Rimworld-Together) | ||||||
|  | 
 | ||||||
|  | A community driven multiplayer mod, for Rimworld. | ||||||
|  | 
 | ||||||
|  | [Rimworld Together](https://steamcommunity.com/sharedfiles/filedetails/?id=3005289691) | ||||||
|  | 
 | ||||||
|  | ## Server Ports | ||||||
|  | 
 | ||||||
|  | | Port    | default | | ||||||
|  | |---------|---------| | ||||||
|  | | Game    | 25555   | | ||||||
|  | 
 | ||||||
							
								
								
									
										62
									
								
								game_eggs/rimworld/together/egg-rimworld-together.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										62
									
								
								game_eggs/rimworld/together/egg-rimworld-together.json
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,62 @@ | |||||||
|  | { | ||||||
|  |     "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||||||
|  |     "meta": { | ||||||
|  |         "version": "PTDL_v2", | ||||||
|  |         "update_url": null | ||||||
|  |     }, | ||||||
|  |     "exported_at": "2024-03-23T19:19:16+01:00", | ||||||
|  |     "name": "Rimworld Together", | ||||||
|  |     "author": "josdekurk@gmail.com", | ||||||
|  |     "description": "A community driven multiplayer mod, for Rimworld.", | ||||||
|  |     "features": null, | ||||||
|  |     "docker_images": { | ||||||
|  |         "ghcr.io\/parkervcp\/yolks:dotnet_7": "ghcr.io\/parkervcp\/yolks:dotnet_7" | ||||||
|  |     }, | ||||||
|  |     "file_denylist": [], | ||||||
|  |     "startup": ".\/GameServer", | ||||||
|  |     "config": { | ||||||
|  |         "files": "{\r\n    \"Core\/ServerConfig.json\": {\r\n        \"parser\": \"json\",\r\n        \"find\": {\r\n            \"IP\": \"0.0.0.0\",\r\n            \"Port\": \"{{server.build.default.port}}\",\r\n            \"MaxPlayers\": \"{{server.build.env.MAX_PLAYERS}}\",\r\n            \"verboseLogs\": \"{{server.build.env.VERBOSE}}\"\r\n        }\r\n    }\r\n}", | ||||||
|  |         "startup": "{\r\n    \"done\": \"Server launched\"\r\n}", | ||||||
|  |         "logs": "{}", | ||||||
|  |         "stop": "quit" | ||||||
|  |     }, | ||||||
|  |     "scripts": { | ||||||
|  |         "installation": { | ||||||
|  |             "script": "#!\/bin\/bash\r\n\r\n## get release info and download links\r\nLATEST_JSON=$(curl --silent \"https:\/\/api.github.com\/repos\/Byte-Nova\/Rimworld-Together\/releases\/latest\")\r\nRELEASES=$(curl --silent \"https:\/\/api.github.com\/repos\/Byte-Nova\/Rimworld-Together\/releases\")\r\nMATCH=$([[ \"$(uname -m)\" == \"x86_64\" ]] && echo \"Linux-x64 \" || echo \"Linux-ARM-x64\")\r\n\r\nif [ -z \"${VERSION}\" ] || [ \"${VERSION}\" == \"latest\" ]; then\r\n    DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url | grep -i ${MATCH})\r\nelse\r\n    VERSION_CHECK=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .tag_name')\r\n    if [ \"${VERSION}\" == \"${VERSION_CHECK}\" ]; then\r\n        DOWNLOAD_URL=$(echo ${RELEASES} | jq -r --arg VERSION \"${VERSION}\" '.[] | select(.tag_name==$VERSION) | .assets[].browser_download_url' | grep -i ${MATCH})\r\n    else\r\n        echo -e \"defaulting to latest release\"\r\n        DOWNLOAD_URL=$(echo ${LATEST_JSON} | jq .assets | jq -r .[].browser_download_url)\r\n    fi\r\nfi\r\n\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n\r\ncurl -sSL -o server.zip ${DOWNLOAD_URL}\r\nunzip -o server.zip\r\nrm server.zip\r\nchmod +x GameServer\r\n\r\n\r\nif [ -f \"\/mnt\/server\/Core\/ServerConfig.json\" ]; then\r\n    echo \"Config file exits\"\r\nelse \r\n    mkdir -p \/mnt\/server\/Core\r\n    echo \"{\\\"IP\\\":\\\"0.0.0.0\\\",\\\"Port\\\":$SERVER_PORT,\\\"MaxPlayers\\\":$MAX_PLAYERS,\\\"verboseLogs\\\":$VERBOSE}\" | jq . > \/mnt\/server\/Core\/ServerConfig.json\r\nfi\r\n\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"", | ||||||
|  |             "container": "ghcr.io\/parkervcp\/installers:debian", | ||||||
|  |             "entrypoint": "bash" | ||||||
|  |         } | ||||||
|  |     }, | ||||||
|  |     "variables": [ | ||||||
|  |         { | ||||||
|  |             "name": "Version", | ||||||
|  |             "description": "", | ||||||
|  |             "env_variable": "VERSION", | ||||||
|  |             "default_value": "latest", | ||||||
|  |             "user_viewable": true, | ||||||
|  |             "user_editable": true, | ||||||
|  |             "rules": "required|string|max:20", | ||||||
|  |             "field_type": "text" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |             "name": "Max Players", | ||||||
|  |             "description": "The maximum amount of players that can join. Default: 100", | ||||||
|  |             "env_variable": "MAX_PLAYERS", | ||||||
|  |             "default_value": "100", | ||||||
|  |             "user_viewable": true, | ||||||
|  |             "user_editable": true, | ||||||
|  |             "rules": "required|numeric|between:1,150", | ||||||
|  |             "field_type": "text" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |             "name": "Verbose", | ||||||
|  |             "description": "If the console output should be verbose or not.", | ||||||
|  |             "env_variable": "VERBOSE", | ||||||
|  |             "default_value": "false", | ||||||
|  |             "user_viewable": true, | ||||||
|  |             "user_editable": true, | ||||||
|  |             "rules": "required|string|in:false,true", | ||||||
|  |             "field_type": "text" | ||||||
|  |         } | ||||||
|  |     ] | ||||||
|  | } | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user