From 875192991cc157da1597bfd94419838e819d5a5b Mon Sep 17 00:00:00 2001 From: HoleInTheSeat <58385663+HoleInTheSeat@users.noreply.github.com> Date: Sun, 30 Jul 2023 10:11:19 -0500 Subject: [PATCH] Cube 2 sauerbraten (#2395) Add: Cube 2 sauerbraten --------- Co-authored-by: Quinten <67589015+QuintenQVD0@users.noreply.github.com> --- README.md | 5 ++ game_eggs/README.md | 2 + game_eggs/cubeengine/cube2/README.md | 23 ++++++ .../cube2/egg-cube2--sauerbraten.json | 72 +++++++++++++++++++ 4 files changed, 102 insertions(+) create mode 100644 game_eggs/cubeengine/cube2/README.md create mode 100644 game_eggs/cubeengine/cube2/egg-cube2--sauerbraten.json diff --git a/README.md b/README.md index 0605f64a..0edd7045 100644 --- a/README.md +++ b/README.md @@ -112,6 +112,11 @@ If you are reading this it looks like you are looking to add an egg to your serv [CS2D](game_eggs/cs2d) +[Cube Engine](cubeengine) + +* [AssaultCube](cubeengine/assaultcube) +* [Cube 2: Sauerbraten](cubeengine/cube2) + * [MCGalaxy](game_eggs/classicube/mcgalaxy) [Cube Engine](game_eggs/cubeengine) diff --git a/game_eggs/README.md b/game_eggs/README.md index 88a9b2ee..43c296f0 100644 --- a/game_eggs/README.md +++ b/game_eggs/README.md @@ -18,6 +18,8 @@ [Cube Engine](cubeengine) * [AssaultCube](cubeengine/assaultcube) +* [Cube 2: Sauerbraten](cubeengine/cube2) + [DDRaceNetwork](ddracenetwork/) diff --git a/game_eggs/cubeengine/cube2/README.md b/game_eggs/cubeengine/cube2/README.md new file mode 100644 index 00000000..0ef76d33 --- /dev/null +++ b/game_eggs/cubeengine/cube2/README.md @@ -0,0 +1,23 @@ +# Cube 2: Sauerbraten +[sauerbraten.org](http://sauerbraten.org/) + +Cube 2: Sauerbraten is a free multiplayer & singleplayer first person shooter, the successor of the Cube FPS. +Much like the original Cube, the aim of this game is fun, old school deathmatch gameplay and also to allow map/geometry editing to be done cooperatively in-game. + +## Server Ports + +Ports required to run the server. + +| Port | default | +|---------|---------| +| Game | 25510 | +| Game +1 | 255101 | + +The second port is only used for the server master list to be able to update the server info. (Description, player count, etc.) + +**Must be Game +1!** + +### Notes + + +25510 is the default port, but any port can be used. \ No newline at end of file diff --git a/game_eggs/cubeengine/cube2/egg-cube2--sauerbraten.json b/game_eggs/cubeengine/cube2/egg-cube2--sauerbraten.json new file mode 100644 index 00000000..063cd22a --- /dev/null +++ b/game_eggs/cubeengine/cube2/egg-cube2--sauerbraten.json @@ -0,0 +1,72 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v2", + "update_url": null + }, + "exported_at": "2023-07-30T11:20:16+02:00", + "name": "Cube 2: Sauerbraten", + "author": "holeintheseat@gmail.com", + "description": "Cube 2: Sauerbraten is a free multiplayer & singleplayer first person shooter, the successor of the Cube FPS.\r\nMuch like the original Cube, the aim of this game is fun, old school deathmatch gameplay and also to allow map\/geometry editing to be done cooperatively in-game.", + "features": null, + "docker_images": { + "Debian": "ghcr.io\/parkervcp\/yolks:debian" + }, + "file_denylist": [], + "startup": ".\/bin_unix\/linux_64_server -j{{SERVER_PORT}} -n{{CUBE_SERVERDESCRIPTION}} -c{{CUBE_MAXPLAYERS}} -m{{CUBE_MASTERSERVER}} -p{{CUBE_ADMINPASSWORD}}", + "config": { + "files": "{}", + "startup": "{\r\n \"done\": \"dedicated server started, waiting for clients...\"\r\n}", + "logs": "{}", + "stop": "^^C" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/bash\r\n# AssaultCube Server Egg (By HoleInTheSeat) <|-|> (https:\/\/assault.cubers.net\/)\r\n#\r\n# Server Files: \/mnt\/server\r\n\r\napt update \r\n#######-|Dependencies|-#######\r\napt -y install tar curl bzip2\r\n#######-|Downloading files|-#######\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\necho -e \"\\n\"\r\necho -e \"\\n\"\r\necho -e \"###############################################\"\r\necho -e \"## Downloading and unarchiving Sauerbraten ##\"\r\necho -e \"## THIS WILL TAKE A WHILE. PLEASE BE PATIENT ##\"\r\necho -e \"###############################################\"\r\necho -e \"\\n\"\r\necho -e \"\\n\"\r\ncurl -sSL -o sauerbraten_2020_12_29_linux.tar.bz2 https:\/\/cfhcable.dl.sourceforge.net\/project\/sauerbraten\/sauerbraten\/2020_11_29\/sauerbraten_2020_12_29_linux.tar.bz2\r\ntar -xf sauerbraten_2020_12_29_linux.tar.bz2 -strip-components=1\r\nrm sauerbraten_2020_12_29_linux.tar.bz2\r\nchmod +x bin_unix\/linux_64_server\r\n\r\n#######-|Alert Completion|-#######\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"", + "container": "debian:stable", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "Server Description", + "description": "", + "env_variable": "CUBE_SERVERDESCRIPTION", + "default_value": "", + "user_viewable": true, + "user_editable": true, + "rules": "nullable|string|max:512", + "field_type": "text" + }, + { + "name": "Max Players", + "description": "Sets the max number of clients to N. The default is 4. If you want to set it higher, be aware that bandwidth usage almost doubles with each extra client, so only do this if the server runs on a serious pipe (not your home DSL or Cable connection).", + "env_variable": "CUBE_MAXPLAYERS", + "default_value": "4", + "user_viewable": true, + "user_editable": true, + "rules": "required|integer|max:16", + "field_type": "text" + }, + { + "name": "Master Server", + "description": "Sets the master server to use for either server (registering) and client (updating) to S. (default: sauerbraten.org).", + "env_variable": "CUBE_MASTERSERVER", + "default_value": "sauerbraten.org", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:512", + "field_type": "text" + }, + { + "name": "Admin Password", + "description": "", + "env_variable": "CUBE_ADMINPASSWORD", + "default_value": "", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:512", + "field_type": "text" + } + ] +} \ No newline at end of file