Skip to content

Commit 4f54b18

Browse files
authored
Merge pull request pterodactyl#1652 from pterodactyl/arc-some-fixes
Some Fixes
2 parents 6d01b79 + 09f2d53 commit 4f54b18

File tree

4 files changed

+50
-44
lines changed

4 files changed

+50
-44
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"barryvdh/laravel-ide-helper": "^2.5",
4646
"codedungeon/phpunit-result-printer": "^0.17.1",
4747
"filp/whoops": "^2.1",
48-
"friendsofphp/php-cs-fixer": "^2.11.1",
48+
"friendsofphp/php-cs-fixer": "^2.15.1",
4949
"fzaninotto/faker": "^1.6",
5050
"mockery/mockery": "^1.0",
5151
"nunomaduro/collision": "^2.0",

composer.lock

Lines changed: 28 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

database/seeds/eggs/source-engine/egg-insurgency.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
"name": "Game ID",
2828
"description": "The ID corresponding to the game to download and run using SRCDS.",
2929
"env_variable": "SRCDS_APPID",
30-
"default_value": "17705",
30+
"default_value": "237410",
3131
"user_viewable": 1,
3232
"user_editable": 0,
33-
"rules": "required|regex:\/^(17705)$\/"
33+
"rules": "required|regex:\/^(237410)$\/"
3434
},
3535
{
3636
"name": "Game Name",
@@ -51,4 +51,4 @@
5151
"rules": "required|regex:\/^(\\w{1,20})$\/"
5252
}
5353
]
54-
}
54+
}

database/seeds/eggs/voice-servers/egg-teamspeak3-server.json

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,21 @@
33
"meta": {
44
"version": "PTDL_v1"
55
},
6-
"exported_at": "2019-05-01T16:35:15+00:00",
6+
"exported_at": "2019-07-05T11:59:29-04:00",
77
"name": "Teamspeak3 Server",
88
"author": "support@pterodactyl.io",
99
"description": "VoIP software designed with security in mind, featuring crystal clear voice quality, endless customization options, and scalabilty up to thousands of simultaneous users.",
10-
"image": "quay.io\/pterodactyl\/core:glibc",
11-
"startup": ".\/ts3server_minimal_runscript.sh default_voice_port={{SERVER_PORT}} query_port={{SERVER_PORT}} license_accepted=1",
10+
"image": "quay.io/parkervcp/pterodactyl-images:base_debian",
11+
"startup": "./ts3server default_voice_port={{SERVER_PORT}} query_port={{SERVER_PORT}} filetransfer_ip=0.0.0.0 filetransfer_port={{FILE_TRANSFER}} license_accepted=1",
1212
"config": {
1313
"files": "{}",
14-
"startup": "{\"done\": \"listening on 0.0.0.0:\", \"userInteraction\": []}",
15-
"logs": "{\"custom\": true, \"location\": \"logs\/ts3.log\"}",
14+
"startup": "{\r\n \"done\": \"listening on 0.0.0.0:\",\r\n \"userInteraction\": []\r\n}",
15+
"logs": "{\r\n \"custom\": true,\r\n \"location\": \"logs/ts3.log\"\r\n}",
1616
"stop": "^C"
1717
},
1818
"scripts": {
1919
"installation": {
20-
"script": "#!\/bin\/ash\n# TS3 Installation Script\n#\n# Server Files: \/mnt\/server\napk update\napk add tar curl\n\ncd \/mnt\/server\n\ncurl http:\/\/dl.4players.de\/ts\/releases\/${TS_VERSION}\/teamspeak3-server_linux_amd64-${TS_VERSION}.tar.bz2 | tar xj --strip-components=1",
20+
"script": "#!/bin/ash\r\n# TS3 Installation Script\r\n#\r\n# Server Files: /mnt/server\r\napk add --no-cache tar curl jq\r\n\r\nif [ -z ${TS_VERSION} ] || [ ${TS_VERSION} == latest ]; then\r\n TS_VERSION=$(wget https://teamspeak.com/versions/server.json -qO - | jq -r '.linux.x86_64.version')\r\nfi\r\n\r\ncd /mnt/server\r\n\r\n\r\necho -e \"getting files from http://files.teamspeak-services.com/releases/server/${TS_VERSION}/teamspeak3-server_linux_amd64-${TS_VERSION}.tar.bz2\"\r\ncurl http://files.teamspeak-services.com/releases/server/${TS_VERSION}/teamspeak3-server_linux_amd64-${TS_VERSION}.tar.bz2 | tar xj --strip-components=1",
2121
"container": "alpine:3.9",
2222
"entrypoint": "ash"
2323
}
@@ -27,10 +27,19 @@
2727
"name": "Server Version",
2828
"description": "The version of Teamspeak 3 to use when running the server.",
2929
"env_variable": "TS_VERSION",
30-
"default_value": "3.7.1",
30+
"default_value": "latest",
3131
"user_viewable": 1,
3232
"user_editable": 1,
33-
"rules": "required|regex:\/^([0-9_\\.-]{5,10})$\/"
33+
"rules": "required|string|max:6"
34+
},
35+
{
36+
"name": "File Transfer Port",
37+
"description": "The Teamspeak file transfer port",
38+
"env_variable": "FILE_TRANSFER",
39+
"default_value": "30033",
40+
"user_viewable": 1,
41+
"user_editable": 0,
42+
"rules": "required|integer|between:1,65535"
3443
}
3544
]
36-
}
45+
}

0 commit comments

Comments
 (0)