diff --git a/game_eggs/steamcmd_servers/truck-simulator/american-truck-simulator/README.md b/game_eggs/steamcmd_servers/truck-simulator/american-truck-simulator/README.md index 54c5795b..89cf4786 100644 --- a/game_eggs/steamcmd_servers/truck-simulator/american-truck-simulator/README.md +++ b/game_eggs/steamcmd_servers/truck-simulator/american-truck-simulator/README.md @@ -1,50 +1,17 @@ # ATSPtero - A Egg For Setting Up ATS Dedicated Server -Ports below are the default ports that are associated with the ATS dedicated server. If you change them in server setup be sure to change them in the .local/shared/American Truck Simulator/server_config.sii file. (See Server_Config Directions below) +Ports below are the default ports that are associated with the ATS dedicated server. | Port | default | |----------|---------------| | Dedicated| 27015 | | Query | 27016 | ---**Make sure during server setup that the autostart server box is unchecked**-- -# Setup -You must generate the required server config files necessary to run the server in game on ATS. To do so you **MUST** have console enabled. +# Adding moderators -# Enabling Console -To enable your console you must change 2 values in the clients config.cfg file. With the game off simply change the following: -- g_developer "0" -----> g_developer "1" -- g_console "0" -----> g_console "1" - -Once those have been changed save and close the file and start up ATS. - -# Generating Config Files -Once you have enabled your console and started ATS, go ahead and log in to game and set up the convoy how you would normally set it up. This includes, any mods that you may have. Also, dont worry about setting up the name, password, description, etc, as the server_config.sii generated will ignore these settings. - -Once you have your convoy set up in game, press the ~ key and a console will open on the bottom center of your screen. If a console does not open, close ATS and go back up to **Enabling Console** section and go through those steps again. - -With the console open type ```export_server_packages``` and press enter. The game will then tell you that the export was successful. - -Navigate to the folder that contains your clients config.cfg file that you changed in the **Enabling Console** section and look for the following: - -- server_packages.sii -- server_packages.dat - - -# Copy to Server - -With your newly set up files its time to copy them over to the Pterodactyl Panel. Simply upload them through either your preferred SCP program or the file browser in the server panel to the .local/shared/American Truck Simulator/ folder. - -On the panel select start server and the server will then start up and create a default server_config.sii file. Proceed to the .local/shared/American Truck Simulator/ folder. - -Edit the server_config.sii using your favorite text editor and set it up as you need, making any changes to name, password etc. - -**Important** coppy line 3 of your uploaded `server_packages.sii` and replace line 3 of the pregenerate config located in (.local/shared/American Truck Simulator/server_config.sii) with that line. - - -To add moderators to your server instance you have to also add them to this file. An example seen below: +To add moderators to your server instance you have to edit(.local/shared/American Truck Simulator/server_config.sii) example seen below: ``` moderator_list: 3 @@ -58,7 +25,9 @@ moderator_list[2]: "Steam64 ID Here", Once those files have been uploaded and configured you are free to start up your server. When the sever is started look for the line: Session search id: 00000000000000000/101 The number before the / is your search term. This is number to search for in the convoy screen to find your server. You can **NOT** search by the server name at this time. Example: if your number before the / is 987654321 then you would search for 987654321 on your convoy screen in game. # Steam Server Token -If you are adding a server token received from registering your server at https://steamcommunity.com/dev/managegameservers be sure to use the correct App ID or your server will crash upon startup. + --**A steam server Token is required**-- + +Adding a server token received from registering your server at https://steamcommunity.com/dev/managegameservers be sure to use the correct App ID or your server will crash upon startup. American Truck Sim = 270880 diff --git a/game_eggs/steamcmd_servers/truck-simulator/american-truck-simulator/ats-files/server_packages.dat b/game_eggs/steamcmd_servers/truck-simulator/american-truck-simulator/ats-files/server_packages.dat new file mode 100644 index 00000000..1ab3b607 Binary files /dev/null and b/game_eggs/steamcmd_servers/truck-simulator/american-truck-simulator/ats-files/server_packages.dat differ diff --git a/game_eggs/steamcmd_servers/truck-simulator/american-truck-simulator/ats-files/server_packages.sii b/game_eggs/steamcmd_servers/truck-simulator/american-truck-simulator/ats-files/server_packages.sii new file mode 100644 index 00000000..644da8ca --- /dev/null +++ b/game_eggs/steamcmd_servers/truck-simulator/american-truck-simulator/ats-files/server_packages.sii @@ -0,0 +1,16 @@ +SiiNunit +{ +server_packages_info : _nameless.21b.d39c.2430 { + version: 1 + dlc_essential_list: 0 + dlc_non_essential_list: 2 + dlc_non_essential_list[0]: 1924694473000009 + dlc_non_essential_list[1]: 49463220153873 + mod_list: 0 + map_name: "/map/usa.mbd" + map_dimensions: (-31744000, -16384000, -7168000, 10240000) + roads_data_file_name: "/home/server_packages.dat" + time_stamp: 1670771831 +} + +} diff --git a/game_eggs/steamcmd_servers/truck-simulator/american-truck-simulator/egg-american-truck-simulator-dedicated-server.json b/game_eggs/steamcmd_servers/truck-simulator/american-truck-simulator/egg-american-truck-simulator-dedicated-server.json index 44673045..cd7701c9 100644 --- a/game_eggs/steamcmd_servers/truck-simulator/american-truck-simulator/egg-american-truck-simulator-dedicated-server.json +++ b/game_eggs/steamcmd_servers/truck-simulator/american-truck-simulator/egg-american-truck-simulator-dedicated-server.json @@ -4,7 +4,7 @@ "version": "PTDL_v2", "update_url": null }, - "exported_at": "2022-12-12T12:43:31+01:00", + "exported_at": "2022-12-15T13:33:47+01:00", "name": "American Truck Simulator Dedicated Server", "author": "chase@cstmgames.com", "description": "This will set up SteamCMD and all the required files for the newly released American Truck Simulator Dedicated server. Simply placed the exported server config from your ATS instance to the .local\/share\/American Truck Simulator\/ folder and select start. Make sure that auto start is off on server creation to allow you to upload your config files.", @@ -24,7 +24,7 @@ }, "scripts": { "installation": { - "script": "#!\/bin\/bash\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n echo -e \"steam user is not set.\\n\"\r\n echo -e \"Using anonymous user.\\n\"\r\n STEAM_USER=anonymous\r\n STEAM_PASS=\"\"\r\n STEAM_AUTH=\"\"\r\nelse\r\n echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} +app_update ${SRCDS_APPID} validate +quit\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n\r\n## add below your custom commands if needed\r\nmkdir -p \/mnt\/server\/.local\/share\/\"American Truck Simulator\"\/\r\necho -e '\\033[1mUpload your config and pack file first before starting the server!\\033[0m'\r\n\r\n\r\nFILE=\/mnt\/server\/.local\/share\/\"American Truck Simulator\"\/server_config.sii\r\nif [ ! -f \"$FILE\" ]; then\r\n cd \/mnt\/server\/.local\/share\/\"American Truck Simulator\"\/\r\n echo \"a config file does not yet exist making one!\"\r\n curl -sSL -o server_config.sii https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/steamcmd_servers\/truck-simulator\/server_config.sii\r\n echo -e '\\033[1mDont forget to change line 3 in the example config generated!\\033[0m'\r\nfi\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"", + "script": "#!\/bin\/bash\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n echo -e \"steam user is not set.\\n\"\r\n echo -e \"Using anonymous user.\\n\"\r\n STEAM_USER=anonymous\r\n STEAM_PASS=\"\"\r\n STEAM_AUTH=\"\"\r\nelse\r\n echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} +app_update ${SRCDS_APPID} validate +quit\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\n\r\n## add below your custom commands if needed\r\nmkdir -p \/mnt\/server\/.local\/share\/\"American Truck Simulator\"\/\r\n\r\nCONFIG_FILE=\/mnt\/server\/.local\/share\/\"American Truck Simulator\"\/server_config.sii\r\nif [ ! -f \"$CONFIG_FILE\" ]; then\r\n cd \/mnt\/server\/.local\/share\/\"American Truck Simulator\"\/\r\n echo \"a config file does not yet exist making one!\"\r\n curl -sSL -o server_config.sii https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/steamcmd_servers\/truck-simulator\/server_config.sii\r\nfi\r\n\r\nPACKAGE_FILE=\/mnt\/server\/.local\/share\/\"American Truck Simulator\"\/server_config.sii\r\nif [ ! -f \"$PACKAGE_FILE\" ]; then\r\n cd \/mnt\/server\/.local\/share\/\"American Truck Simulator\"\/\r\n echo \"a server_packages.sii file does not yet exist making one!\"\r\n curl -sSL -o server_packages.sii https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/steamcmd_servers\/truck-simulator\/american-truck-simulator\/ats-files\/server_packages.sii\r\nfi\r\n\r\nDATA_FILE=\/mnt\/server\/.local\/share\/\"American Truck Simulator\"\/server_config.sii\r\nif [ ! -f \"$DATA_FILE\" ]; then\r\n cd \/mnt\/server\/.local\/share\/\"American Truck Simulator\"\/\r\n echo \"a server_packages.dat file does not yet exist making one!\"\r\n curl -sSL -o server_packages.dat https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/steamcmd_servers\/truck-simulator\/american-truck-simulator\/ats-files\/server_packages.dat\r\nfi\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"", "container": "ghcr.io\/parkervcp\/installers:debian", "entrypoint": "bash" } @@ -82,12 +82,12 @@ }, { "name": "Steam Auth token", - "description": "If you want your session id to be saved: Acquire a logon token on https:\/\/steamcommunity.com\/dev\/managegameservers (game ownership is required).", + "description": "Acquire a logon token on https:\/\/steamcommunity.com\/dev\/managegameservers (game ownership is required).", "env_variable": "STEAM_TOKEN", "default_value": "", "user_viewable": true, "user_editable": true, - "rules": "nullable|string|max:64", + "rules": "required|string|max:32", "field_type": "text" }, { diff --git a/game_eggs/steamcmd_servers/truck-simulator/euro-truck-simulator2/README.md b/game_eggs/steamcmd_servers/truck-simulator/euro-truck-simulator2/README.md index a5105c5d..f7c718bb 100644 --- a/game_eggs/steamcmd_servers/truck-simulator/euro-truck-simulator2/README.md +++ b/game_eggs/steamcmd_servers/truck-simulator/euro-truck-simulator2/README.md @@ -1,50 +1,17 @@ # ETS2 Ptero - A Egg For Setting Up ETS2 Dedicated Server -Ports below are the default ports that are associated with the ETS2 dedicated server. If you change them in server setup be sure to change them in the .local/share/Euro Truck Simulator 2/server_config.sii file. (See Server_Config Directions below) +Ports below are the default ports that are associated with the ETS2 dedicated server. | Port | default | |----------|---------------| | Dedicated| 27015 | | Query | 27016 | ---**Make sure during server setup that the autostart server box is unchecked**-- -# Setup -You must generate the required server config files necessary to run the server in game on ETS2. To do so you **MUST** have console enabled. -at -# Enabling Console -To enable your console you must change 2 values in the clients config.cfg file. With the game off simply change the following: -- g_developer "0" -----> g_developer "1" -- g_console "0" -----> g_console "1" +# Adding moderators -Once those have been changed save and close the file and start up ETS2. - -# Generating Config Files -Once you have enabled your console and started ETS2, go ahead and log in to game and set up the convoy how you would normally set it up. This includes, any mods that you may have. Also, dont worry about setting up the name, password, description, etc, as the server_config.sii generated will ignore these settings. - -Once you have your convoy set up in game, press the ~ key and a console will open on the bottom center of your screen. If a console does not open, close ETS2 and go back up to **Enabling Console** section and go through those steps again. - -With the console open type ```export_server_packages``` and press enter. The game will then tell you that the export was successful. - -Navigate to the folder that contains your clients config.cfg file that you changed in the **Enabling Console** section and look for the following: - -- server_packages.sii -- server_packages.dat - - -# Copy to Server - -With your newly set up files its time to copy them over to the Pterodactyl Panel. Simply upload them through either your preferred SCP program or the file browser in the server panel to the .local/share/Euro Truck Simulator 2/ folder. - -On the panel select start server and the server will then start up and create a default server_config.sii file. Proceed to the .local/share/Euro Truck Simulator 2/ folder. - -Edit the server_config.sii using your favorite text editor and set it up as you need, making any changes to name, password etc. - -**Important** coppy line 3 of your uploaded `server_packages.sii` and replace line 3 of the pregenerate config located in (.local/share/Euro Truck Simulator 2/server_config.sii) with that line. - - -To add moderators to your server instance you have to also add them to this file. An example seen below: +To add moderators to your server instance you have to edit (.local/share/Euro Truck Simulator 2/server_config.sii) An example seen below: ``` moderator_list: 3 @@ -58,7 +25,10 @@ moderator_list[2]: "Steam64 ID Here", Once those files have been uploaded and configured you are free to start up your server. When the sever is started look for the line: Session search id: 00000000000000000/101 The number before the / is your search term. This is number to search for in the convoy screen to find your server. You can **NOT** search by the server name at this time. Example: if your number before the / is 987654321 then you would search for 987654321 on your convoy screen in game. # Steam Server Token -If you are adding a server token received from registering your server at https://steamcommunity.com/dev/managegameservers be sure to use the correct App ID or your server will crash upon startup. + + --**A steam server Token is required**-- + +Adding a server token received from registering your server at https://steamcommunity.com/dev/managegameservers be sure to use the correct App ID or your server will crash upon startup. Euro Truck Sim 2 = 227300 diff --git a/game_eggs/steamcmd_servers/truck-simulator/euro-truck-simulator2/egg-euro-truck-simulator2-dedicated-server.json b/game_eggs/steamcmd_servers/truck-simulator/euro-truck-simulator2/egg-euro-truck-simulator2-dedicated-server.json index f5695a8c..29cd4883 100644 --- a/game_eggs/steamcmd_servers/truck-simulator/euro-truck-simulator2/egg-euro-truck-simulator2-dedicated-server.json +++ b/game_eggs/steamcmd_servers/truck-simulator/euro-truck-simulator2/egg-euro-truck-simulator2-dedicated-server.json @@ -4,7 +4,7 @@ "version": "PTDL_v2", "update_url": null }, - "exported_at": "2022-12-12T12:43:40+01:00", + "exported_at": "2022-12-15T13:32:54+01:00", "name": "Euro Truck Simulator 2 Dedicated server", "author": "josdekurk@gmail.com", "description": "Travel across Europe as king of the road, a trucker who delivers important cargo across impressive distances! With dozens of cities to explore, your endurance, skill and speed will all be pushed to their limits.", @@ -17,14 +17,14 @@ "file_denylist": [], "startup": ".\/bin\/linux_x64\/eurotrucks2_server", "config": { - "files": "{\r\n \"\/.local\/share\/Euro Truck Simulator 2\/server_config.sii\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \" connection_dedicated_port:\": \" connection_dedicated_port: {{server.build.default.port}}\",\r\n \" query_dedicated_port:\": \" query_dedicated_port: {{env.QUERY_PORT}}\",\r\n \" server_logon_token:\": \" server_logon_token: \\\"{{env.STEAM_TOKEN}}\\\"\",\r\n \" lobby_name:\": \" lobby_name: \\\"{{env.LOBBY_NAME}}\\\"\"\r\n }\r\n }\r\n}", + "files": "{\r\n \"\/.local\/share\/Euro Truck Simulator 2\/server_config.sii\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \" connection_dedicated_port:\": \" connection_dedicated_port: {{server.build.default.port}}\",\r\n \" query_dedicated_port:\": \" query_dedicated_port: {{env.QUERY_PORT}}\",\r\n \" server_logon_token:\": \" server_logon_token: \\\"{{env.STEAM_TOKEN}}\\\"\",\r\n \" lobby_name:\": \" lobby_name: \\\"{{env.LOBBY_NAME}}\\\"\"\r\n }\r\n }\r\n}", "startup": "{\r\n \"done\": \"[MP] State: running\"\r\n}", "logs": "{}", - "stop": "^C" + "stop": "^^C" }, "scripts": { "installation": { - "script": "#!\/bin\/bash\r\n# steamcmd Base Installation Script\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n echo -e \"steam user is not set.\\n\"\r\n echo -e \"Using anonymous user.\\n\"\r\n STEAM_USER=anonymous\r\n STEAM_PASS=\"\"\r\n STEAM_AUTH=\"\"\r\nelse\r\n echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} +app_update ${SRCDS_APPID} validate +quit\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\nmkdir -p \/mnt\/server\/.local\/share\/\"Euro Truck Simulator 2\"\/\r\n\r\necho -e '\\033[1mUpload your config and pack file first before starting the server!\\033[0m'\r\n\r\nFILE=\/mnt\/server\/.local\/share\/\"Euro Truck Simulator 2\"\/server_config.sii\r\nif [ ! -f \"$FILE\" ]; then\r\n cd \/mnt\/server\/.local\/share\/\"Euro Truck Simulator 2\"\/\r\n echo \"a config file does not yet exist making one!\"\r\n curl -sSL -o server_config.sii https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/steamcmd_servers\/truck-simulator\/server_config.sii\r\n echo -e '\\033[1mDont forget to change line 3 in the example config generated!\\033[0m'\r\nfi\r\n\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"", + "script": "#!\/bin\/bash\r\n# steamcmd Base Installation Script\r\n\r\n## just in case someone removed the defaults.\r\nif [[ \"${STEAM_USER}\" == \"\" ]] || [[ \"${STEAM_PASS}\" == \"\" ]]; then\r\n echo -e \"steam user is not set.\\n\"\r\n echo -e \"Using anonymous user.\\n\"\r\n STEAM_USER=anonymous\r\n STEAM_PASS=\"\"\r\n STEAM_AUTH=\"\"\r\nelse\r\n echo -e \"user set to ${STEAM_USER}\"\r\nfi\r\n\r\n## download and install steamcmd\r\ncd \/tmp\r\nmkdir -p \/mnt\/server\/steamcmd\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steamcmd\r\nmkdir -p \/mnt\/server\/steamapps # Fix steamcmd disk write error when this folder is missing\r\ncd \/mnt\/server\/steamcmd\r\n\r\n# SteamCMD fails otherwise for some reason, even running as root.\r\n# This is changed at the end of the install process anyways.\r\nchown -R root:root \/mnt\r\nexport HOME=\/mnt\/server\r\n\r\n## install game using steamcmd\r\n.\/steamcmd.sh +force_install_dir \/mnt\/server +login ${STEAM_USER} ${STEAM_PASS} ${STEAM_AUTH} +app_update ${SRCDS_APPID} validate +quit\r\n\r\n## set up 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v linux32\/steamclient.so ..\/.steam\/sdk32\/steamclient.so\r\n\r\n## set up 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v linux64\/steamclient.so ..\/.steam\/sdk64\/steamclient.so\r\n\r\nmkdir -p \/mnt\/server\/.local\/share\/\"Euro Truck Simulator 2\"\/\r\n\r\nCONFIG_FILE=\/mnt\/server\/.local\/share\/\"Euro Truck Simulator 2\"\/server_config.sii\r\nif [ ! -f \"$FILE\" ]; then\r\n cd \/mnt\/server\/.local\/share\/\"Euro Truck Simulator 2\"\/\r\n echo \"a config file does not yet exist making one!\"\r\n curl -sSL -o server_config.sii https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/steamcmd_servers\/truck-simulator\/server_config.sii\r\nfi\r\n\r\nPACKAGE_FILE=\/mnt\/server\/.local\/share\/\"Euro Truck Simulator 2\"\/server_packages.sii\r\nif [ ! -f \"$PACKAGE_FILE\" ]; then\r\n cd \/mnt\/server\/.local\/share\/\"Euro Truck Simulator 2\"\/\r\n echo \"a server_packages.sii file does not yet exist making one!\"\r\n curl -sSL -o server_packages.sii https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/steamcmd_servers\/truck-simulator\/euro-truck-simulator2\/ets2-files\/server_packages.sii\r\nfi\r\n\r\nDATA_FILE=\/mnt\/server\/.local\/share\/\"Euro Truck Simulator 2\"\/server_packages.dat\r\nif [ ! -f \"$DATA_FILE\" ]; then\r\n cd \/mnt\/server\/.local\/share\/\"Euro Truck Simulator 2\"\/\r\n echo \"a server_packages.dat file does not yet exist making one!\"\r\n curl -sSL -o server_packages.dat https:\/\/raw.githubusercontent.com\/parkervcp\/eggs\/master\/game_eggs\/steamcmd_servers\/truck-simulator\/euro-truck-simulator2\/ets2-files\/server_packages.dat\r\nfi\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"", "container": "ghcr.io\/parkervcp\/installers:debian", "entrypoint": "bash" } @@ -82,12 +82,12 @@ }, { "name": "Steam Auth token", - "description": "If you want your session id to be saved: Acquire a logon token on https:\/\/steamcommunity.com\/dev\/managegameservers (game ownership is required).", + "description": "Acquire a logon token on https:\/\/steamcommunity.com\/dev\/managegameservers (game ownership is required).", "env_variable": "STEAM_TOKEN", "default_value": "", "user_viewable": true, "user_editable": true, - "rules": "nullable|string|max:64", + "rules": "required|string|max:32", "field_type": "text" }, { diff --git a/game_eggs/steamcmd_servers/truck-simulator/euro-truck-simulator2/ets2-files/server_packages.dat b/game_eggs/steamcmd_servers/truck-simulator/euro-truck-simulator2/ets2-files/server_packages.dat new file mode 100644 index 00000000..58b47860 Binary files /dev/null and b/game_eggs/steamcmd_servers/truck-simulator/euro-truck-simulator2/ets2-files/server_packages.dat differ diff --git a/game_eggs/steamcmd_servers/truck-simulator/euro-truck-simulator2/ets2-files/server_packages.sii b/game_eggs/steamcmd_servers/truck-simulator/euro-truck-simulator2/ets2-files/server_packages.sii new file mode 100644 index 00000000..f63cf410 --- /dev/null +++ b/game_eggs/steamcmd_servers/truck-simulator/euro-truck-simulator2/ets2-files/server_packages.sii @@ -0,0 +1,14 @@ +SiiNunit +{ +server_packages_info : _nameless.1ce.5a64.0b70 { + version: 1 + dlc_essential_list: 0 + dlc_non_essential_list: 0 + mod_list: 0 + map_name: "/map/europe.mbd" + map_dimensions: (-16384000, -16384000, 17408000, 14336000) + roads_data_file_name: "/home/server_packages.dat" + time_stamp: 1670716814 +} + +} diff --git a/game_eggs/steamcmd_servers/truck-simulator/server_config.sii b/game_eggs/steamcmd_servers/truck-simulator/server_config.sii index 59699542..b4b7ba31 100644 --- a/game_eggs/steamcmd_servers/truck-simulator/server_config.sii +++ b/game_eggs/steamcmd_servers/truck-simulator/server_config.sii @@ -1,7 +1,7 @@ SiiNunit { -server_config : { - lobby_name: "Euro Truck Simulator 2 server" +server_config : _nameless.44c.eab0 { + lobby_name: "" description: "" welcome_message: "" password: ""