Add KSP DMP Server (#2476)

Add: KSP DMP Server

---------

Co-authored-by: Quinten <67589015+QuintenQVD0@users.noreply.github.com>
This commit is contained in:
oliver408i 2023-09-22 10:57:33 -07:00 committed by GitHub
parent d046480c13
commit 5d9da83f28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 108 additions and 0 deletions

View File

@ -152,6 +152,8 @@ If you are reading this it looks like you are looking to add an egg to your serv
* GTA
* [GTAC](game_eggs/gta/gtac)
[Kerbal Space Program](game_eggs/ksp)
[League Sandbox](game_eggs/leaguesandbox)
[Los Angeles Crimes](game_eggs/losangelescrimes)

View File

@ -53,6 +53,8 @@
* GTA
* [GTAC](gta/gtac)
[Kerbal Space Program](ksp)
[Los Angeles Crimes](losangelescrimes)
[League Sandbox](leaguesandbox)

12
game_eggs/ksp/README.md Normal file
View File

@ -0,0 +1,12 @@
# Kerbal Space Program
[Dark Multiplayer](https://d-mp.org/)
Dark Multiplayer is an up-to-date mod adding the long awaited multiplayer feature to Kerbal Space Program while including support for other mods!
## Server Ports
Ports required to run the server in a table format.
| Port | default |
|---------|---------|
| Game | 6702 |

View File

@ -0,0 +1,92 @@
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2023-09-22T19:54:35+02:00",
"name": "KSP DMP",
"author": "rufanyin29@gmail.com",
"description": "Dark Multiplayer mod server for Kerbal Space Program",
"features": null,
"docker_images": {
"Mono": "ghcr.io\/parkervcp\/yolks:mono_latest"
},
"file_denylist": [],
"startup": "mono DMPServer.exe",
"config": {
"files": "{\r\n \"Config\/Settings.txt\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"port\": \"{{server.build.default.port}}\",\r\n \"modpackMode\": \"{{server.build.env.MODPACKMODE}}\",\r\n \"warpMode\": \"{{server.build.env.WARPMODE}}\",\r\n \"gameMode\": \"{{server.build.env.GAMEMODE}}\",\r\n \"gameDifficulty\": \"{{server.build.env.DIFFICULTY}}\",\r\n \"whitelisted\": \"{{server.build.env.WHITELIST}}\",\r\n \"serverName\": \"{{server.build.env.SERVERNAME}}\"\r\n }\r\n }\r\n}",
"startup": "{\r\n \"done\": \"Ready!\"\r\n}",
"logs": "{}",
"stop": "\/exit"
},
"scripts": {
"installation": {
"script": "#!\/bin\/bash\r\n\r\n\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n\r\nV=$(curl -s https:\/\/d-mp.org\/downloads | grep \"DMP Server\" | awk -F 'href=\"' 'NR==2 {print $2}' | awk -F '\"' '{print $1}') # \/builds\/release\/v0.3.8.3\/DMPServer.zip\r\n\r\necho \"Download link: https:\/\/d-mp.org${V}\"\r\ncurl -sSL -o DMPServer.zip https:\/\/d-mp.org${V}\r\n\r\nunzip -o DMPServer.zip\r\nmv DMPServer\/* .\/\r\n\r\nrm -rf DMPServer\r\nrm DMPServer.zip\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"",
"container": "ghcr.io\/parkervcp\/installers:debian",
"entrypoint": "bash"
}
},
"variables": [
{
"name": "Mod Pack Mode",
"description": "Specify the modpack type.",
"env_variable": "MODPACKMODE",
"default_value": "NONE",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|in:NONE,CKAN,GAMEDATA",
"field_type": "text"
},
{
"name": "Warp Mode",
"description": "Specify the warp type.",
"env_variable": "WARPMODE",
"default_value": "SUBSPACE",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|in:MCW_FORCE,MCW_VOTE,MCW_LOWEST,SUBSPACE_SIMPLE,SUBSPACE,NONE",
"field_type": "text"
},
{
"name": "Game Mode",
"description": "Specify the game type.",
"env_variable": "GAMEMODE",
"default_value": "SANDBOX",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|in:SANDBOX,CAREER,SCIENCE",
"field_type": "text"
},
{
"name": "Game Difficulty",
"description": "Specify the gameplay difficulty of the server.",
"env_variable": "DIFFICULTY",
"default_value": "NORMAL",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|in:EASY,NORMAL,MODERATE,HARD,CUSTOM",
"field_type": "text"
},
{
"name": "Whitelisted",
"description": "Enable white-listing.",
"env_variable": "WHITELIST",
"default_value": "False",
"user_viewable": false,
"user_editable": false,
"rules": "required|string|in:True,False",
"field_type": "text"
},
{
"name": "Server Name",
"description": "Name of the server.",
"env_variable": "SERVERNAME",
"default_value": "DMP Server",
"user_viewable": true,
"user_editable": true,
"rules": "required|string|max:48",
"field_type": "text"
}
]
}