Cube 2 sauerbraten (#2395)

Add: Cube 2 sauerbraten

---------

Co-authored-by: Quinten <67589015+QuintenQVD0@users.noreply.github.com>
This commit is contained in:
HoleInTheSeat 2023-07-30 10:11:19 -05:00 committed by GitHub
parent 95d7f01660
commit 875192991c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 102 additions and 0 deletions

View File

@ -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) [CS2D](game_eggs/cs2d)
[Cube Engine](cubeengine)
* [AssaultCube](cubeengine/assaultcube)
* [Cube 2: Sauerbraten](cubeengine/cube2)
* [MCGalaxy](game_eggs/classicube/mcgalaxy) * [MCGalaxy](game_eggs/classicube/mcgalaxy)
[Cube Engine](game_eggs/cubeengine) [Cube Engine](game_eggs/cubeengine)

View File

@ -18,6 +18,8 @@
[Cube Engine](cubeengine) [Cube Engine](cubeengine)
* [AssaultCube](cubeengine/assaultcube) * [AssaultCube](cubeengine/assaultcube)
* [Cube 2: Sauerbraten](cubeengine/cube2)
[DDRaceNetwork](ddracenetwork/) [DDRaceNetwork](ddracenetwork/)

View File

@ -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
<!--Notes about the server ports.-->
25510 is the default port, but any port can be used.

View File

@ -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"
}
]
}