diff --git a/README.md b/README.md index 0552ce79..c1df35db 100644 --- a/README.md +++ b/README.md @@ -186,6 +186,7 @@ If you are reading this it looks like you are looking to add an egg to your serv * [Project Zomboid](/steamcmd_servers/project_zomboid) * [Quake Live](/steamcmd_servers/quake_live) * [Rising World](/steamcmd_servers/rising_world) +* [Risk Of Rain 2](/steamcmd_servers/risk_of_rain_2) * [Rust](/steamcmd_servers/rust) * [Autowipe](/steamcmd_servers/rust/rust_autowipe) * [Staging](/steamcmd_servers/rust/rust_staging) diff --git a/steamcmd_servers/README.md b/steamcmd_servers/README.md index 54de0f43..4a8922dc 100644 --- a/steamcmd_servers/README.md +++ b/steamcmd_servers/README.md @@ -77,6 +77,9 @@ This is a collection of servers that use SteamCMD to install. ## Rising World [Rising World](rising_world) +## Risk of Rain 2 +[Risk Of Rain 2](risk_of_rain_2) + ## Rust * [Rust](rust) * [Autowipe](rust/rust_autowipe) diff --git a/steamcmd_servers/risk_of_rain_2/README.md b/steamcmd_servers/risk_of_rain_2/README.md new file mode 100644 index 00000000..db9a2179 --- /dev/null +++ b/steamcmd_servers/risk_of_rain_2/README.md @@ -0,0 +1,20 @@ +# Risk of Rain 2 + +Escape a chaotic alien planet by fighting through hordes of frenzied monsters – with your friends, or on your own. + +## Minimum Specifications +- At least 1GB RAM +- Minimum 4GB hard disk space + +## Server Ports + +The RoR2 server requires a single port for access. + +| Port | default | +|-------|---------| +| Game | 27015 | +| Query | 27016 | + +## Installation Notes + +The server will get stuck on the very fist start. Kill and restart it. diff --git a/steamcmd_servers/risk_of_rain_2/egg-risk-of-rain2.json b/steamcmd_servers/risk_of_rain_2/egg-risk-of-rain2.json new file mode 100644 index 00000000..ffba5807 --- /dev/null +++ b/steamcmd_servers/risk_of_rain_2/egg-risk-of-rain2.json @@ -0,0 +1,68 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v1", + "update_url": null + }, + "exported_at": "2021-05-31T16:38:48+03:00", + "name": "Risk of Rain 2", + "author": "alex.chang-lam@protonmail.com", + "description": "Risk of Rain 2 dedicated server.", + "features": null, + "images": [ + "quay.io\/parkervcp\/pterodactyl-images:debian_wine-5" + ], + "file_denylist": [], + "startup": "xvfb-run wine .\/\"Risk of Rain 2.exe\"", + "config": { + "files": "{\r\n \".\/Risk of Rain 2_Data\/Config\/server.cfg\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"sv_password\": \"sv_password \\\"{{server.build.env.password}}\\\";\",\r\n \"steam_server_heartbeat_enabled\": \"steam_server_heartbeat_enabled {{server.build.env.advertise}};\",\r\n \"sv_hostname\": \"sv_hostname \\\"{{server.build.env.hostname}}\\\";\",\r\n \"sv_port\": \"sv_port {{server.build.default.port}};\",\r\n \"sv_maxplayers\": \"sv_maxplayers {{server.build.env.players}};\",\r\n \"exec server;\": \"\",\r\n \"host\": \"\",\r\n \"remove_all_local_users;\": \"\"\r\n }\r\n }\r\n}", + "startup": "{\r\n \"done\": \"Press Enter to chat.\"\r\n}", + "logs": "{}", + "stop": "^V" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/bash\r\n# Risk of Rain 2 Installation Script\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\napt update\r\napt -y install curl unzip lib32gcc1 ca-certificates xvfb\r\ncd \/tmp\r\ncurl -sSL -o steamcmd.tar.gz https:\/\/steamcdn-a.akamaihd.net\/client\/installer\/steamcmd_linux.tar.gz\r\nmkdir -p \/mnt\/server\/steam\r\ntar -xzvf steamcmd.tar.gz -C \/mnt\/server\/steam\r\n\r\nexport WINETRICKS_RUN=mono\r\nexport HOME=\/mnt\/server\r\nexport AUTO_UPDATE=1\r\nexport SRCDS_APPID=1180760\r\n\r\ncd \/mnt\/server\/steam\r\nchown -R root:root \/mnt\r\n\r\n.\/steamcmd.sh +@sSteamCmdForcePlatformType windows +login anonymous +force_install_dir \/mnt\/server +app_update 1180760 validate +quit\r\n\r\n## setup 32 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk32\r\ncp -v \/mnt\/server\/steam\/linux32\/steamclient.so \/mnt\/server\/.steam\/sdk32\/steamclient.so\r\n\r\n## setup 64 bit libraries\r\nmkdir -p \/mnt\/server\/.steam\/sdk64\r\ncp -v \/mnt\/server\/steam\/linux64\/steamclient.so \/mnt\/server\/.steam\/sdk64\/steamclient.so\r\n\r\n#create custom server.cfg\r\ncp \"\/mnt\/server\/Risk of Rain 2_Data\/Config\/server_startup.cfg\" \"\/mnt\/server\/Risk of Rain 2_Data\/Config\/server.cfg\"", + "container": "debian:buster-slim", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "Server Password", + "description": "Password to join server. Leave empty to disable.", + "env_variable": "password", + "default_value": "", + "user_viewable": true, + "user_editable": true, + "rules": "nullable|string|max:40" + }, + { + "name": "Server Hostname", + "description": "The name that will be shown in the server browser.", + "env_variable": "hostname", + "default_value": "\"Risk of Rain 2 Dedicated Server\"", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:40" + }, + { + "name": "Max Players", + "description": "Sets the maximum number of players.", + "env_variable": "players", + "default_value": "4", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:20" + }, + { + "name": "Advertise Server", + "description": "Display the server in the public server browser.\r\n1 = enabled\r\n0 = disabled", + "env_variable": "advertise", + "default_value": "1", + "user_viewable": true, + "user_editable": true, + "rules": "required|boolean" + } + ] +} \ No newline at end of file