Created
October 7, 2022 11:15
-
-
Save IIPoliII/c34874836aec845619a3df76b48ad002 to your computer and use it in GitHub Desktop.
Egg for Pterodactyl and TrackMania 2020
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY WISP - https:\/\/wisp.gg\/", | |
"meta": { | |
"version": "PTDL_v1" | |
}, | |
"exported_at": "2022-10-07T12:13:33+01:00", | |
"name": "Trackmania 2020", | |
"tag": "", | |
"author": "admin@polisystems.ch", | |
"description": "Trackmania 2020 Dedicated Server", | |
"image": "quay.io\/parkervcp\/pterodactyl-images:base_debian", | |
"startup": ".\/TrackmaniaServer \/title=Trackmania \/game_Settings=Matchsettings\/tracklist.txt \/dedicated_cfg=dedicated_cfg.txt \/nodaemon", | |
"config": { | |
"files": "{\r\n \"UserData\/Config\/dedicated_cfg.txt\": {\r\n \"parser\": \"xml\",\r\n \"find\": {\r\n \"dedicated.system_config.*.server_port\": \"{{server.build.default.port}}\",\r\n \"dedicated.server_options.*.name\": \"{{server.build.env.SERVER_NAME}}\",\r\n \"dedicated.server_options.*.max_players\": \"{{server.build.env.MAX_PLAYER}}\",\r\n \"dedicated.server_options.*.max_spectators\": \"{{server.build.env.MAX_PLAYER}}\",\r\n \"dedicated.masterserver_account.*.login\": \"{{server.build.env.MASTER_USER}}\",\r\n \"dedicated.masterserver_account.*.password\": \"{{server.build.env.MASTER_PASS}}\"\r\n }\r\n }\r\n}", | |
"startup": "{\r\n \"done\": \"...Load succeeds\"\r\n}", | |
"logs": "{}", | |
"stop": "^C", | |
"custom": "{}" | |
}, | |
"scripts": { | |
"installation": { | |
"script": "apt update\r\napt -y install curl unzip\r\n\r\ncd \/mnt\/server\r\n\r\necho \"==> Downloading Trackmania 2020 <==\"\r\ncurl -sSL -o TrackmaniaServer.zip http:\/\/files.v04.maniaplanet.com\/server\/TrackmaniaServer_Latest.zip\r\n\r\necho \"==> Unpacking Trackmania 2020 <==\"\r\nunzip TrackmaniaServer.zip -d .\r\n\r\necho \"==> Renaming some files <==\"\r\nmv .\/UserData\/Config\/dedicated_cfg.default.txt .\/UserData\/Config\/dedicated_cfg.txt\r\nmv .\/UserData\/Maps\/MatchSettings\/example.txt .\/UserData\/Maps\/MatchSettings\/tracklist.txt\r\n\r\necho \"==> Final stepps <==\"\r\nchmod +x TrackmaniaServer\r\nrm TrackmaniaServer.zip\r\nrm TrackmaniaServer.exe\r\n\r\necho \"==> Install complete <==\"\r\n\r\nexit 0", | |
"container": "debian:buster-slim", | |
"entrypoint": "bash" | |
}, | |
"update": { | |
"script": null, | |
"container": "alpine:3.4", | |
"entrypoint": "ash" | |
} | |
}, | |
"variables": [ | |
{ | |
"name": "Server Name", | |
"description": "Name of your server", | |
"env_variable": "SERVER_NAME", | |
"default_value": "My TrackMania at Poli Systems", | |
"tickable": false, | |
"user_viewable": true, | |
"user_editable": true, | |
"rules": "required|string|max:32" | |
}, | |
{ | |
"name": "Masterserver Username", | |
"description": "Username for the masterserver", | |
"env_variable": "MASTER_USER", | |
"default_value": "", | |
"tickable": false, | |
"user_viewable": true, | |
"user_editable": true, | |
"rules": "nullable|string|max:32" | |
}, | |
{ | |
"name": "Masterserver Password", | |
"description": "Passwort to authenticate with the master Server", | |
"env_variable": "MASTER_PASS", | |
"default_value": "", | |
"tickable": false, | |
"user_viewable": true, | |
"user_editable": true, | |
"rules": "nullable|string|max:32" | |
}, | |
{ | |
"name": "Max Player", | |
"description": "Max. amount of player which are allowed to connect", | |
"env_variable": "MAX_PLAYER", | |
"default_value": "32", | |
"tickable": false, | |
"user_viewable": true, | |
"user_editable": true, | |
"rules": "required|integer|between:1,512" | |
} | |
], | |
"mods": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment