From b1107ef0c9a831602b371f3804f1fdf66fa60666 Mon Sep 17 00:00:00 2001 From: Torsten Widmann Date: Sat, 5 Sep 2020 22:46:05 +0200 Subject: [PATCH] Mak it work. Former Author submitet a not ready Egg --- ...s-c-p--secret-laboratory--multi-admin.json | 45 +++++++++++++++++++ .../scpsl/multiadmin/egg-scpsl.json | 45 ------------------- 2 files changed, 45 insertions(+), 45 deletions(-) create mode 100644 steamcmd_servers/scpsl/multiadmin/egg-s-c-p--secret-laboratory--multi-admin.json delete mode 100644 steamcmd_servers/scpsl/multiadmin/egg-scpsl.json diff --git a/steamcmd_servers/scpsl/multiadmin/egg-s-c-p--secret-laboratory--multi-admin.json b/steamcmd_servers/scpsl/multiadmin/egg-s-c-p--secret-laboratory--multi-admin.json new file mode 100644 index 00000000..b4dc6046 --- /dev/null +++ b/steamcmd_servers/scpsl/multiadmin/egg-s-c-p--secret-laboratory--multi-admin.json @@ -0,0 +1,45 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1" + }, + "exported_at": "2020-09-05T22:38:43+02:00", + "name": "SCP: Secret Laboratory - MultiAdmin", + "author": "info@goover.de", + "description": "The latest vanilla version of SCP:SL running through MultiAdmin for compatibility. LocalAdmin does not work. No SMod2.", + "image": "quay.io\/parkervcp\/pterodactyl-images:debian_mono-5-complete", + "startup": "mono MultiAdmin.exe --port {{SERVER_PORT}}", + "config": { + "files": "{\r\n \"scp_multiadmin.cfg\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"use_new_input_system\": \"false\",\r\n \"max_players:\": \" {{server.build.env.MAX_PLAYERS}}\"\r\n }\r\n },\r\n \".config\/SCP Secret Laboratory\/config\/{{SERVER_PORT}}\/config_gameplay.txt\": {\r\n \"parser\": \"properties\",\r\n \"find\": {\r\n \"server_ip:\": \"0.0.0.0\",\r\n \"forward_ports\": \" false\",\r\n \"contact_email:\": \"{{server.build.env.CONTACT_EMAIL}}\",\r\n \"max_players:\": \"{{server.build.env.MAX_PLAYERS}}\"\r\n }\r\n }\r\n}", + "startup": "{\r\n \"done\": \"Waiting for players\",\r\n \"userInteraction\": []\r\n}", + "logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}", + "stop": "EXIT" + }, + "scripts": { + "installation": { + "script": "# Downloads SteamCMD\r\napt update\r\napt -y --no-install-recommends install curl unzip lib32gcc1 ca-certificates wget jq\r\ncd \/tmp\r\ncurl -sSL -o steamcmd.tar.gz http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz\r\n\r\n# Extracts SteamCMD\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\n\r\n# Downloads the server\r\nexport HOME=\/mnt\/server\r\n.\/steamcmd.sh +login anonymous +force_install_dir \/mnt\/server +app_update 996560 +quit\r\n\r\n# Hoster policy\r\necho 'gamedir_for_configs: true' >> \/mnt\/server\/hoster_policy.txt\r\nchmod +x \/mnt\/server\/hoster_policy.txt\r\n\r\n# Downloads MultiAdmin\r\ncd $HOME\r\nwget -qN https:\/\/github.com\/ServerMod\/MultiAdmin\/releases\/latest\/download\/MultiAdmin.exe\r\nchmod +x \/mnt\/server\/MultiAdmin.exe\r\n\r\n# Compatibility fix for MultiAdmin\r\necho \"use_new_input_system: false\" >> \/mnt\/server\/scp_multiadmin.cfg\r\necho \"max_players: 20\" >> \/mnt\/server\/scp_multiadmin.cfg", + "container": "ubuntu:latest", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "Contact Email", + "description": "A contact email is required for this server to show up on the public server list. Leave \"default\" to opt out.", + "env_variable": "CONTACT_EMAIL", + "default_value": "default", + "user_viewable": false, + "user_editable": false, + "rules": "required|string|max:254" + }, + { + "name": "Max Players", + "description": "This will change the maximum player count.", + "env_variable": "MAX_PLAYERS", + "default_value": "20", + "user_viewable": false, + "user_editable": false, + "rules": "required|integer" + } + ] +} \ No newline at end of file diff --git a/steamcmd_servers/scpsl/multiadmin/egg-scpsl.json b/steamcmd_servers/scpsl/multiadmin/egg-scpsl.json deleted file mode 100644 index d60f3a3f..00000000 --- a/steamcmd_servers/scpsl/multiadmin/egg-scpsl.json +++ /dev/null @@ -1,45 +0,0 @@ -{ - "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", - "meta": { - "version": "PTDL_v1" - }, - "exported_at": "2020-03-09T01:05:52-04:00", - "name": "SCP: Secret Laboratory", - "author": "lumi@hedr.al", - "description": "The latest vanilla version of SCP:SL running through MultiAdmin for compatibility. LocalAdmin does not work. No SMod2.", - "image": "quay.io\/parkervcp\/pterodactyl-images:debian_mono-5-complete", - "startup": "mono MultiAdmin.exe --port {{SERVER_PORT}}", - "config": { - "files": "{\r\n \"scp_multiadmin.cfg\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"use_new_input_system: true\": \"use_new_input_system: false\",\r\n \"max_players:\": \"max_players: {{server.build.env.MAX_PLAYERS}}\"\r\n }\r\n },\r\n \".config\/SCP Secret Laboratory\/config\/{{SERVER_PORT}}\/config_gameplay.txt\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"server_ip:\": \"server_ip: 0.0.0.0\",\r\n \"forward_ports: true\": \"forward_ports: false\",\r\n \"contact_email:\": \"contact_email: {{server.build.env.CONTACT_EMAIL}}\",\r\n \"max_players:\": \"max_players: {{server.build.env.MAX_PLAYERS}}\"\r\n }\r\n }\r\n}", - "startup": "{\r\n \"done\": \"Waiting for players\",\r\n \"userInteraction\": []\r\n}", - "logs": "{\r\n \"custom\": false,\r\n \"location\": \"logs\/latest.log\"\r\n}", - "stop": "EXIT" - }, - "scripts": { - "installation": { - "script": "# Downloads SteamCMD\r\napt update\r\napt -y --no-install-recommends install curl unzip lib32gcc1 ca-certificates wget\r\ncd \/tmp\r\ncurl -sSL -o steamcmd.tar.gz http:\/\/media.steampowered.com\/installer\/steamcmd_linux.tar.gz\r\n\r\n# Extracts SteamCMD\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\n\r\n# Downloads the server\r\nexport HOME=\/mnt\/server\r\n.\/steamcmd.sh +login anonymous +force_install_dir \/mnt\/server +app_update 996560 +quit\r\n\r\n# Hoster policy\r\necho 'gamedir_for_configs: true' >> \/mnt\/server\/hoster_policy.txt\r\nchmod +x \/mnt\/server\/hoster_policy.txt\r\n\r\n# Downloads MultiAdmin\r\nURL=$(curl https:\/\/api.github.com\/repos\/Grover-c13\/MultiAdmin\/releases\/latest | grep browser_download_url | cut -d '\"' -f 4)\r\nwget -P \/mnt\/server\/ $URL\r\nchmod +x \/mnt\/server\/MultiAdmin.exe\r\n\r\n# Compatibility fix for MultiAdmin\r\necho \"use_new_input_system: false\" >> \/mnt\/server\/scp_multiadmin.cfg\r\necho \"max_players: 20\" >> \/mnt\/server\/scp_multiadmin.cfg", - "container": "ubuntu:latest", - "entrypoint": "bash" - } - }, - "variables": [ - { - "name": "Contact Email", - "description": "A contact email is required for this server to show up on the public server list. Leave \"default\" to opt out.", - "env_variable": "CONTACT_EMAIL", - "default_value": "default", - "user_viewable": 0, - "user_editable": 0, - "rules": "required|string|max:254" - }, - { - "name": "Max Players", - "description": "This will change the maximum player count.", - "env_variable": "MAX_PLAYERS", - "default_value": "20", - "user_viewable": 0, - "user_editable": 0, - "rules": "required|integer" - } - ] -}