Skip to content

Commit

Permalink
feat: necesse dedicated server
Browse files Browse the repository at this point in the history
  • Loading branch information
Mustorze committed Jan 25, 2025
1 parent f8e7452 commit e147c03
Show file tree
Hide file tree
Showing 2 changed files with 87 additions and 0 deletions.
3 changes: 3 additions & 0 deletions necesse/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## Necesse template

This template uses steam (command line) as an anonymous user to download and update the dedicated server.
84 changes: 84 additions & 0 deletions necesse/necesse.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"name": "necesse",
"display": "Necesse",
"type": "srcds",
"install": [
{
"appId": "1169370",
"type": "steamgamedl"
},
{
"commands": [
"chmod +x ./StartServer-nogui.sh"
],
"type": "command"
},
{
"commands": [
"chmod +x ./jre/bin/java"
],
"type": "command"
}
],
"run": {
"stop": "exit",
"command": "./StartServer-nogui.sh -localdir -port ${port} -slots ${slots} -pausewhenempty ${pause} -password ${password} -world ${world_name}",
"workingDirectory": "./",
"pre": [],
"post": [],
"environmentVars": {}
},
"data": {
"password": {
"type": "string",
"display": "Password",
"required": true,
"value": " "
},
"pause": {
"type": "option",
"display": "Pause When Empty",
"value": "0",
"options": [
{
"value": "1",
"display": "Yes"
},
{
"value": "0",
"display": "No"
}
]
},
"port": {
"type": "integer",
"display": "Port",
"required": true,
"value": "14159"
},
"slots": {
"type": "integer",
"display": "Slots",
"required": true,
"value": "10"
},
"world_name": {
"type": "string",
"display": "World Name",
"required": true,
"value": "necesse"
}
},
"environment": {
"type": "tty"
},
"supportedEnvironments": [
{
"type": "tty"
}
],
"requirements": {
"os": "linux",
"arch": "amd64"
}
}

0 comments on commit e147c03

Please sign in to comment.