diff --git a/scpsl/README.md b/scpsl/README.md new file mode 100644 index 0000000..5b82b7a --- /dev/null +++ b/scpsl/README.md @@ -0,0 +1,5 @@ +# SCP:SL Server Template +This template downloads the scp:sl server and runs it on the default port 7777 (you can change it). +Currently I don't yet know how to edit config files via variables so currently you can only change the port. +> [!NOTE] +> During the first startup, you must answer the questions in the server console in order for the server to start correctly. diff --git a/scpsl/scpsl.json b/scpsl/scpsl.json new file mode 100644 index 0000000..33af94b --- /dev/null +++ b/scpsl/scpsl.json @@ -0,0 +1,39 @@ +{ + "name": "scpsl", + "display": "SCP:SL", + "type": "scpsl", + "install": [ + { + "appId": "996560", + "type": "steamgamedl" + }, + { + "commands": [ + "chmod +x LocalAdmin", + "chmod +x SCPSL.x86_64" + ], + "type": "command" + } + ], + "run": { + "stop": "stop", + "command": "./LocalAdmin ${port}", + "workingDirectory": "", + "pre": [], + "post": [], + "environmentVars": {} + }, + "data": { + "port": { + "type": "integer", + "display": "Server Port", + "required": true, + "value": 7777 + } + }, + "environment": { + "type": "tty" + }, + "supportedEnvironments": [], + "requirements": {} +}