Skip to content

Commit 5c229d6

Browse files
authored
feat(tf2): add GSLT variable (pterodactyl#3927)
Add GSLT variable similar to CS:GO.
1 parent edfd97e commit 5c229d6

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

database/Seeders/eggs/source-engine/egg-team-fortress2.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,19 @@
44
"version": "PTDL_v1",
55
"update_url": null
66
},
7-
"exported_at": "2022-01-18T07:06:24-05:00",
7+
"exported_at": "2022-01-30T14:09:22-05:00",
88
"name": "Team Fortress 2",
99
"author": "support@pterodactyl.io",
1010
"description": "Team Fortress 2 is a team-based first-person shooter multiplayer video game developed and published by Valve Corporation. It is the sequel to the 1996 mod Team Fortress for Quake and its 1999 remake.",
1111
"features": [
12+
"gsl_token",
1213
"steam_disk_space"
1314
],
1415
"images": [
1516
"ghcr.io\/pterodactyl\/games:source"
1617
],
1718
"file_denylist": [],
18-
"startup": ".\/srcds_run -game tf -console -port {{SERVER_PORT}} +map {{SRCDS_MAP}} +ip 0.0.0.0 -strictportbind -norestart",
19+
"startup": ".\/srcds_run -game tf -console -port {{SERVER_PORT}} +map {{SRCDS_MAP}} +ip 0.0.0.0 -strictportbind -norestart +sv_setsteamaccount {{STEAM_ACC}}",
1920
"config": {
2021
"files": "{}",
2122
"startup": "{\r\n \"done\": \"gameserver Steam ID\"\r\n}",
@@ -47,6 +48,15 @@
4748
"user_viewable": true,
4849
"user_editable": true,
4950
"rules": "required|regex:\/^(\\w{1,20})$\/"
51+
},
52+
{
53+
"name": "Steam",
54+
"description": "The Steam Game Server Login Token to display servers publicly. Generate one at https:\/\/steamcommunity.com\/dev\/managegameservers",
55+
"env_variable": "STEAM_ACC",
56+
"default_value": "",
57+
"user_viewable": true,
58+
"user_editable": true,
59+
"rules": "required|string|alpha_num|size:32"
5060
}
5161
]
5262
}

0 commit comments

Comments
 (0)