From bafdd48c11b0f3319785ca7aa69704cdd7101345 Mon Sep 17 00:00:00 2001 From: Julian Date: Fri, 9 Feb 2024 20:36:05 +0100 Subject: [PATCH 01/11] Add UrbanTerror4.3.4 Egg Initial add for the Urban Terror Server Egg --- .../urbanterror/egg-urban-terror4-3-4.json | 152 ++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 game_eggs/urbanterror/egg-urban-terror4-3-4.json diff --git a/game_eggs/urbanterror/egg-urban-terror4-3-4.json b/game_eggs/urbanterror/egg-urban-terror4-3-4.json new file mode 100644 index 00000000..878df350 --- /dev/null +++ b/game_eggs/urbanterror/egg-urban-terror4-3-4.json @@ -0,0 +1,152 @@ +{ + "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", + "meta": { + "version": "PTDL_v2", + "update_url": null + }, + "exported_at": "2024-02-09T19:34:16+00:00", + "name": "Urban Terror 4.3.4", + "author": "Juli199696@web.de", + "description": "Urban Terror started as a realism based \"total conversion\" mod for Quake III Arena. Nowadays, Urban Terror is played using the free, stand-alone, ioquake3 engine modified, which doesn't require Quake III Arena, in addition to being an add-on to id Software's Quake III Arena.", + "features": null, + "docker_images": { + "quay.io\/pterodactyl\/core:glibc": "quay.io\/pterodactyl\/core:glibc" + }, + "file_denylist": [], + "startup": ".\/Quake3-UrT-Ded.{{EXE}} +exec \"server.cfg\" +set fs_game \"q3ut4\" +set fs_basepath \"\/home\/container\" +set fs_homepath \"\/home\/container\" +set dedicated \"2\" +set com_hunkmegs \"{{HUNKMEGS}}\" +set net_port \"{{SERVER_PORT}}\"", + "config": { + "files": "{\r\n \"q3ut4\/server.cfg\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"set sv_hostname\": \"set sv_hostname \\\"{{server.build.env.SERVER_NAME}}\\\"\",\r\n \"set sv_joinmessage\": \"set sv_joinmessage \\\"{{server.build.env.JOIN_MESSAGE}}\\\"\",\r\n \"set sv_maxclients\": \"set sv_maxclients \\\"{{server.build.env.SERVER_MAXCLIENTS}}\\\"\",\r\n \"set rconpassword\": \"set rconpassword \\\"{{server.build.env.RCON_PASSWORD}}\\\"\",\r\n \"set g_password\": \"set g_password \\\"{{server.build.env.SERVER_PASSWORD}}\\\"\",\r\n \"set g_friendlyfire\": \"set g_friendlyfire \\\"{{server.build.env.SERVER_FRIENDLYFIRE}}\\\"\",\r\n \"set g_gametype\": \"set g_gametype \\\"{{server.build.env.SERVER_GAMETYPE}}\\\"\",\r\n \"set timelimit\": \"set timelimit \\\"{{server.build.env.SERVER_TIMELIMIT}}\\\"\",\r\n \"set bot_enable\": \"set bot_enable 1\",\r\n \"set bot_minplayers\": \"set bot_minplayers \\\"{{server.build.env.BOT_MINPLAYERS}}\\\"\",\r\n \"map ut4_casa\": \"map \\\"{{server.build.env.SERVER_MAP}}\\\"\"\r\n }\r\n }\r\n}", + "startup": "{\r\n \"done\": \"------- Game Initialization -------\",\r\n \"userInteraction\": []\r\n}", + "logs": "{\r\n \"custom\": false,\r\n \"location\": \"\/home\/container\/q3ut4\/games.log\"\r\n}", + "stop": "quit" + }, + "scripts": { + "installation": { + "script": "#!\/bin\/bash\r\n\r\ncd \/tmp\r\napt-get update && apt-get -y install libxml2-utils wget curl sed #Install needed dependencies for the official Urban Terror Updater (Not for the Gameserver itself)\r\n\r\nmkdir UrbanTerror43\r\ncd UrbanTerror43\r\n\r\necho \"Downloading Urban Terror 4.3\"\r\nwget https:\/\/github.com\/FrozenSand\/UrTUpdater\/releases\/download\/v4.0.3-RC1\/UrTUpdater-v4.0.3-Ded.sh #Download from Github because the Webpage does not allow \"direct Downloads\"\r\n\r\necho \"Updating Urban Terror\" #Accept the EULA and input the needed variables to download the latest version of the Serverfiles (4.3.4 for now)\r\nbash \/tmp\/UrbanTerror43\/UrTUpdater-v4.0.3-Ded.sh << EOF\r\ny\r\n1\r\n1\r\n1\r\nn\r\ny\r\nn\r\nEOF\r\n\r\n# Copy files to destination\r\ncp -r \/tmp\/UrbanTerror43\/* \/mnt\/server\/\r\n\r\n# Set up default configs\r\nmv \/mnt\/server\/q3ut4\/server_example.cfg \/mnt\/server\/q3ut4\/server.cfg\r\nmv \/mnt\/server\/q3ut4\/mapcycle_example.txt \/mnt\/server\/q3ut4\/mapcycle.txt\r\n\r\nchmod 744 \/mnt\/server\/Quake3-UrT-Ded.x86_64\r\nchmod 744 \/mnt\/server\/Quake3-UrT-Ded.i386\r\n\r\n# Use sed to insert extra config options as many people ask for Bots ingame\r\nsed -i '\/\\\/\\\/pb_sv_enable\/a\\set bot_enable 1\\nset bot_minplayers 0' \/mnt\/server\/q3ut4\/server.cfg", + "container": "debian:buster-slim", + "entrypoint": "bash" + } + }, + "variables": [ + { + "name": "Version", + "description": "32bit \/ 64bit server version. it is recommended to use the 64bit server, unless you are experiencing issues.", + "env_variable": "EXE", + "default_value": "x86_64", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|in:x86_64,i386", + "field_type": "text" + }, + { + "name": "Hunkmegs", + "description": "How much memory is allocated during server start up.\r\n\r\nAvailable options: 128, 160, 192, 256 MB", + "env_variable": "HUNKMEGS", + "default_value": "128", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|in:128,160,192,256", + "field_type": "text" + }, + { + "name": "Server Hostname", + "description": "Put your Servername into here.", + "env_variable": "SERVER_NAME", + "default_value": "My Awesome Pterodactyl Server", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:30", + "field_type": "text" + }, + { + "name": "Join Message", + "description": "The message the player will receive when joining the server", + "env_variable": "JOIN_MESSAGE", + "default_value": "Welcome to this Server, have fun!", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:50", + "field_type": "text" + }, + { + "name": "Max Players", + "description": "Maximum players that can connect to the server", + "env_variable": "SERVER_MAXCLIENTS", + "default_value": "16", + "user_viewable": true, + "user_editable": true, + "rules": "required|integer|max:32", + "field_type": "text" + }, + { + "name": "RCON Password", + "description": "Set the Rcon Password for Admin commands", + "env_variable": "RCON_PASSWORD", + "default_value": "PleaseChangeMe!", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:20", + "field_type": "text" + }, + { + "name": "Server Password", + "description": "If you want to set a password to connect on the server set this here.", + "env_variable": "SERVER_PASSWORD", + "default_value": "", + "user_viewable": true, + "user_editable": true, + "rules": "max:20", + "field_type": "text" + }, + { + "name": "Map", + "description": "Choose the initial Map the server should start with. \r\n(ONLY CHANGE IF YOU KNOW THE MAP IS EXISTING) Server wont start without it!", + "env_variable": "SERVER_MAP", + "default_value": "ut4_casa", + "user_viewable": true, + "user_editable": true, + "rules": "required|string|max:50", + "field_type": "text" + }, + { + "name": "Gametype \/ Gamemode", + "description": "Sets the Gamemode you want to play. \r\n0 = Free For All, \r\n1 = Last Man Standing, \r\n3 = Team DeathMatch, \r\n4 = Team Survivor, \r\n5 = Follow The Leader, \r\n6 = Capture And Hold, \r\n7 = Capture The Flag, \r\n8 = Bomb Mode, \r\n9 = Jump, \r\n10 = Freeze Tag, \r\n11 = Gun Game", + "env_variable": "SERVER_GAMETYPE", + "default_value": "3", + "user_viewable": true, + "user_editable": true, + "rules": "required|integer|max:11", + "field_type": "text" + }, + { + "name": "Bots", + "description": "Want to have bots in your game select how many you want. \r\n(More than 16 bots tend to crash the server or add lag, use with caution!)\r\nDisclaimer: \"Bots are not officialy supported by FS!!!\"", + "env_variable": "BOT_MINPLAYERS", + "default_value": "0", + "user_viewable": true, + "user_editable": true, + "rules": "required|integer|max:16", + "field_type": "text" + }, + { + "name": "Map Timelimit", + "description": "Time in minutes before map is over. (0 = never)", + "env_variable": "SERVER_TIMELIMIT", + "default_value": "10", + "user_viewable": true, + "user_editable": true, + "rules": "required|integer|max:999", + "field_type": "text" + }, + { + "name": "Friendlyfire", + "description": "Sets if friendlyfire is on or off. (Teamkill your teammates is bad hmmkay?)", + "env_variable": "SERVER_FRIENDLYFIRE", + "default_value": "1", + "user_viewable": true, + "user_editable": true, + "rules": "required|integer|max:1", + "field_type": "text" + } + ] +} \ No newline at end of file From 5d288392be11d84358981259254e5c1eb6df0cd1 Mon Sep 17 00:00:00 2001 From: Julian Date: Fri, 9 Feb 2024 20:42:08 +0100 Subject: [PATCH 02/11] Create README.md --- game_eggs/urbanterror/README.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 game_eggs/urbanterror/README.md diff --git a/game_eggs/urbanterror/README.md b/game_eggs/urbanterror/README.md new file mode 100644 index 00000000..61dab8fd --- /dev/null +++ b/game_eggs/urbanterror/README.md @@ -0,0 +1,27 @@ +# Urban Terror + +## From their [Website](https://www.urbanterror.info/downloads/) + +Urban Terrorâ„¢ is a free multiplayer first person shooter developed by FrozenSand, that will run on any Quake III Arena compatible engine. It is available for Windows, Linux and Macintosh. + +Urban Terror can be described as a Hollywood tactical shooter; somewhat realism based, but the motto is "fun over realism". This results in a very unique, enjoyable and addictive game. + +## Installation/System Requirements +| | Bare Minimum | Recommended | +|---------|---------|---------| +| Processor | Almost any proccessor will work | - | +| RAM | 256 MiB | 512 MiB | +| SWAP| 512 MiB | 512 MiB | +| Storage | 1500 MiB | 2000 MiB | +| Network | Any reasonable speed |- | +| Game Ownership | Not needed | The game is free, and server doesn't need the game to work. | + +## Server Ports + +| Port | default | +|---------|---------| +| Game | 27960 | + + +##Game Modes +0 = Free For All, 1 = Last Man Standing, 3 = Team DeathMatch, 4 = Team Survivor, 5 = Follow The Leader, 6 = Capture And Hold, 7 = Capture The Flag, 8 = Bomb Mode, 9 = Jump, 10 = Freeze Tag, 11 = Gun Game From 557997b8d6b6acf24e6021c335e28a8c824cc9ac Mon Sep 17 00:00:00 2001 From: Julian Date: Fri, 9 Feb 2024 20:42:51 +0100 Subject: [PATCH 03/11] Update README.md --- game_eggs/urbanterror/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game_eggs/urbanterror/README.md b/game_eggs/urbanterror/README.md index 61dab8fd..c6e430c9 100644 --- a/game_eggs/urbanterror/README.md +++ b/game_eggs/urbanterror/README.md @@ -23,5 +23,5 @@ Urban Terror can be described as a Hollywood tactical shooter; somewhat realism | Game | 27960 | -##Game Modes +## Game Modes 0 = Free For All, 1 = Last Man Standing, 3 = Team DeathMatch, 4 = Team Survivor, 5 = Follow The Leader, 6 = Capture And Hold, 7 = Capture The Flag, 8 = Bomb Mode, 9 = Jump, 10 = Freeze Tag, 11 = Gun Game From e880d1417ccef4f0f20801233105edb5e82f3b29 Mon Sep 17 00:00:00 2001 From: Julian Date: Fri, 9 Feb 2024 20:45:10 +0100 Subject: [PATCH 04/11] Update README.md --- game_eggs/urbanterror/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/game_eggs/urbanterror/README.md b/game_eggs/urbanterror/README.md index c6e430c9..91aacc87 100644 --- a/game_eggs/urbanterror/README.md +++ b/game_eggs/urbanterror/README.md @@ -11,7 +11,7 @@ Urban Terror can be described as a Hollywood tactical shooter; somewhat realism |---------|---------|---------| | Processor | Almost any proccessor will work | - | | RAM | 256 MiB | 512 MiB | -| SWAP| 512 MiB | 512 MiB | +| SWAP| 512 MiB | 512 MiB (Swap not needed if RAM is 1024MB)| | Storage | 1500 MiB | 2000 MiB | | Network | Any reasonable speed |- | | Game Ownership | Not needed | The game is free, and server doesn't need the game to work. | @@ -25,3 +25,7 @@ Urban Terror can be described as a Hollywood tactical shooter; somewhat realism ## Game Modes 0 = Free For All, 1 = Last Man Standing, 3 = Team DeathMatch, 4 = Team Survivor, 5 = Follow The Leader, 6 = Capture And Hold, 7 = Capture The Flag, 8 = Bomb Mode, 9 = Jump, 10 = Freeze Tag, 11 = Gun Game + + +## Known Errors +Updater crash when not having enough RAM or SWAP available (1024MB RAM | 512MB RAM with 512MB SWAP) From 63bf7ab83829e2a2de67ff9f43a085b454f602f2 Mon Sep 17 00:00:00 2001 From: Julian Date: Fri, 9 Feb 2024 20:47:30 +0100 Subject: [PATCH 05/11] Update README.md --- game_eggs/urbanterror/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/game_eggs/urbanterror/README.md b/game_eggs/urbanterror/README.md index 91aacc87..1c71d084 100644 --- a/game_eggs/urbanterror/README.md +++ b/game_eggs/urbanterror/README.md @@ -11,7 +11,7 @@ Urban Terror can be described as a Hollywood tactical shooter; somewhat realism |---------|---------|---------| | Processor | Almost any proccessor will work | - | | RAM | 256 MiB | 512 MiB | -| SWAP| 512 MiB | 512 MiB (Swap not needed if RAM is 1024MB)| +| SWAP| 512 MiB | 512 MiB (Swap not needed if RAM is 1024MiB)| | Storage | 1500 MiB | 2000 MiB | | Network | Any reasonable speed |- | | Game Ownership | Not needed | The game is free, and server doesn't need the game to work. | @@ -23,9 +23,9 @@ Urban Terror can be described as a Hollywood tactical shooter; somewhat realism | Game | 27960 | -## Game Modes -0 = Free For All, 1 = Last Man Standing, 3 = Team DeathMatch, 4 = Team Survivor, 5 = Follow The Leader, 6 = Capture And Hold, 7 = Capture The Flag, 8 = Bomb Mode, 9 = Jump, 10 = Freeze Tag, 11 = Gun Game - +## Game Infos +Gamemodes: 0 = Free For All, 1 = Last Man Standing, 3 = Team DeathMatch, 4 = Team Survivor, 5 = Follow The Leader, 6 = Capture And Hold, 7 = Capture The Flag, 8 = Bomb Mode, 9 = Jump, 10 = Freeze Tag, 11 = Gun Game +You can edit the Server.cfg in /home/container/q3ut4/server.cfg as you wish after creating the server. ## Known Errors -Updater crash when not having enough RAM or SWAP available (1024MB RAM | 512MB RAM with 512MB SWAP) +Updater will crash when not having enough RAM or SWAP available (at least 1024MiB RAM or 512MiB RAM with 512MiB SWAP) From a2e75330ee846cfd725d4fd250f44f58dc0e9b4a Mon Sep 17 00:00:00 2001 From: Julian Date: Fri, 9 Feb 2024 20:49:09 +0100 Subject: [PATCH 06/11] Update README.md --- game_eggs/urbanterror/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/game_eggs/urbanterror/README.md b/game_eggs/urbanterror/README.md index 1c71d084..58a83a0a 100644 --- a/game_eggs/urbanterror/README.md +++ b/game_eggs/urbanterror/README.md @@ -29,3 +29,12 @@ You can edit the Server.cfg in /home/container/q3ut4/server.cfg as you wish afte ## Known Errors Updater will crash when not having enough RAM or SWAP available (at least 1024MiB RAM or 512MiB RAM with 512MiB SWAP) + +## Docker Infos +quay.io/pterodactyl/core:glibc + +## Script Container +debian:buster-slim + +## Script Entrypoint Command +bash From 5a91b74b6201b358c43ee1727494470d6e493a7e Mon Sep 17 00:00:00 2001 From: Julian Date: Fri, 9 Feb 2024 20:54:37 +0100 Subject: [PATCH 07/11] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 62273c67..f4f72d83 100644 --- a/README.md +++ b/README.md @@ -354,6 +354,8 @@ If you are reading this it looks like you are looking to add an egg to your serv * [OpenRCT2](game_eggs/tycoon_games/openrct2) * [OpenTTD](game_eggs/tycoon_games/openttd) +[UrbanTerror](game_eggs/urbanterror) + [Veloren](game_eggs/veloren) [Vintage Story](game_eggs/vintage_story) From a909977b12f2733dfbab4a9931f916d8a9965d7b Mon Sep 17 00:00:00 2001 From: Julian Date: Fri, 9 Feb 2024 21:53:31 +0100 Subject: [PATCH 08/11] Update README.md --- game_eggs/urbanterror/README.md | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/game_eggs/urbanterror/README.md b/game_eggs/urbanterror/README.md index 58a83a0a..72defb2b 100644 --- a/game_eggs/urbanterror/README.md +++ b/game_eggs/urbanterror/README.md @@ -26,15 +26,3 @@ Urban Terror can be described as a Hollywood tactical shooter; somewhat realism ## Game Infos Gamemodes: 0 = Free For All, 1 = Last Man Standing, 3 = Team DeathMatch, 4 = Team Survivor, 5 = Follow The Leader, 6 = Capture And Hold, 7 = Capture The Flag, 8 = Bomb Mode, 9 = Jump, 10 = Freeze Tag, 11 = Gun Game You can edit the Server.cfg in /home/container/q3ut4/server.cfg as you wish after creating the server. - -## Known Errors -Updater will crash when not having enough RAM or SWAP available (at least 1024MiB RAM or 512MiB RAM with 512MiB SWAP) - -## Docker Infos -quay.io/pterodactyl/core:glibc - -## Script Container -debian:buster-slim - -## Script Entrypoint Command -bash From 75b3be7154a22f22ff1172fcab575dbf1045ca7d Mon Sep 17 00:00:00 2001 From: Julian Date: Fri, 9 Feb 2024 21:58:03 +0100 Subject: [PATCH 09/11] Add files via upload Updated Variables to fit the schemata, updated Docker Container to Pterodactyl Yolk Debian Bullseye. Fixed some typos. --- .../urbanterror/egg-urban-terror4-3-4.json | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/game_eggs/urbanterror/egg-urban-terror4-3-4.json b/game_eggs/urbanterror/egg-urban-terror4-3-4.json index 878df350..a418ce02 100644 --- a/game_eggs/urbanterror/egg-urban-terror4-3-4.json +++ b/game_eggs/urbanterror/egg-urban-terror4-3-4.json @@ -4,7 +4,7 @@ "version": "PTDL_v2", "update_url": null }, - "exported_at": "2024-02-09T19:34:16+00:00", + "exported_at": "2024-02-09T20:56:42+00:00", "name": "Urban Terror 4.3.4", "author": "Juli199696@web.de", "description": "Urban Terror started as a realism based \"total conversion\" mod for Quake III Arena. Nowadays, Urban Terror is played using the free, stand-alone, ioquake3 engine modified, which doesn't require Quake III Arena, in addition to being an add-on to id Software's Quake III Arena.", @@ -16,14 +16,14 @@ "startup": ".\/Quake3-UrT-Ded.{{EXE}} +exec \"server.cfg\" +set fs_game \"q3ut4\" +set fs_basepath \"\/home\/container\" +set fs_homepath \"\/home\/container\" +set dedicated \"2\" +set com_hunkmegs \"{{HUNKMEGS}}\" +set net_port \"{{SERVER_PORT}}\"", "config": { "files": "{\r\n \"q3ut4\/server.cfg\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"set sv_hostname\": \"set sv_hostname \\\"{{server.build.env.SERVER_NAME}}\\\"\",\r\n \"set sv_joinmessage\": \"set sv_joinmessage \\\"{{server.build.env.JOIN_MESSAGE}}\\\"\",\r\n \"set sv_maxclients\": \"set sv_maxclients \\\"{{server.build.env.SERVER_MAXCLIENTS}}\\\"\",\r\n \"set rconpassword\": \"set rconpassword \\\"{{server.build.env.RCON_PASSWORD}}\\\"\",\r\n \"set g_password\": \"set g_password \\\"{{server.build.env.SERVER_PASSWORD}}\\\"\",\r\n \"set g_friendlyfire\": \"set g_friendlyfire \\\"{{server.build.env.SERVER_FRIENDLYFIRE}}\\\"\",\r\n \"set g_gametype\": \"set g_gametype \\\"{{server.build.env.SERVER_GAMETYPE}}\\\"\",\r\n \"set timelimit\": \"set timelimit \\\"{{server.build.env.SERVER_TIMELIMIT}}\\\"\",\r\n \"set bot_enable\": \"set bot_enable 1\",\r\n \"set bot_minplayers\": \"set bot_minplayers \\\"{{server.build.env.BOT_MINPLAYERS}}\\\"\",\r\n \"map ut4_casa\": \"map \\\"{{server.build.env.SERVER_MAP}}\\\"\"\r\n }\r\n }\r\n}", - "startup": "{\r\n \"done\": \"------- Game Initialization -------\",\r\n \"userInteraction\": []\r\n}", - "logs": "{\r\n \"custom\": false,\r\n \"location\": \"\/home\/container\/q3ut4\/games.log\"\r\n}", + "startup": "{\r\n \"done\": \"------- Game Initialization -------\"\r\n}", + "logs": "{\r\n}", "stop": "quit" }, "scripts": { "installation": { "script": "#!\/bin\/bash\r\n\r\ncd \/tmp\r\napt-get update && apt-get -y install libxml2-utils wget curl sed #Install needed dependencies for the official Urban Terror Updater (Not for the Gameserver itself)\r\n\r\nmkdir UrbanTerror43\r\ncd UrbanTerror43\r\n\r\necho \"Downloading Urban Terror 4.3\"\r\nwget https:\/\/github.com\/FrozenSand\/UrTUpdater\/releases\/download\/v4.0.3-RC1\/UrTUpdater-v4.0.3-Ded.sh #Download from Github because the Webpage does not allow \"direct Downloads\"\r\n\r\necho \"Updating Urban Terror\" #Accept the EULA and input the needed variables to download the latest version of the Serverfiles (4.3.4 for now)\r\nbash \/tmp\/UrbanTerror43\/UrTUpdater-v4.0.3-Ded.sh << EOF\r\ny\r\n1\r\n1\r\n1\r\nn\r\ny\r\nn\r\nEOF\r\n\r\n# Copy files to destination\r\ncp -r \/tmp\/UrbanTerror43\/* \/mnt\/server\/\r\n\r\n# Set up default configs\r\nmv \/mnt\/server\/q3ut4\/server_example.cfg \/mnt\/server\/q3ut4\/server.cfg\r\nmv \/mnt\/server\/q3ut4\/mapcycle_example.txt \/mnt\/server\/q3ut4\/mapcycle.txt\r\n\r\nchmod 744 \/mnt\/server\/Quake3-UrT-Ded.x86_64\r\nchmod 744 \/mnt\/server\/Quake3-UrT-Ded.i386\r\n\r\n# Use sed to insert extra config options as many people ask for Bots ingame\r\nsed -i '\/\\\/\\\/pb_sv_enable\/a\\set bot_enable 1\\nset bot_minplayers 0' \/mnt\/server\/q3ut4\/server.cfg", - "container": "debian:buster-slim", + "container": "debian:bullseye-slim", "entrypoint": "bash" } }, @@ -55,12 +55,12 @@ "default_value": "My Awesome Pterodactyl Server", "user_viewable": true, "user_editable": true, - "rules": "required|string|max:30", + "rules": "required|string|max:55", "field_type": "text" }, { "name": "Join Message", - "description": "The message the player will receive when joining the server", + "description": "The message the player will receive when joining the server.", "env_variable": "JOIN_MESSAGE", "default_value": "Welcome to this Server, have fun!", "user_viewable": true, @@ -70,7 +70,7 @@ }, { "name": "Max Players", - "description": "Maximum players that can connect to the server", + "description": "Maximum players that can connect to the server.", "env_variable": "SERVER_MAXCLIENTS", "default_value": "16", "user_viewable": true, @@ -80,12 +80,12 @@ }, { "name": "RCON Password", - "description": "Set the Rcon Password for Admin commands", + "description": "Set the Rcon Password for Admin commands.\r\nCan be empty to disable RCON.", "env_variable": "RCON_PASSWORD", - "default_value": "PleaseChangeMe!", + "default_value": "", "user_viewable": true, "user_editable": true, - "rules": "required|string|max:20", + "rules": "nullable|string|max:20", "field_type": "text" }, { @@ -95,7 +95,7 @@ "default_value": "", "user_viewable": true, "user_editable": true, - "rules": "max:20", + "rules": "nullable|string|max:20", "field_type": "text" }, { @@ -110,12 +110,12 @@ }, { "name": "Gametype \/ Gamemode", - "description": "Sets the Gamemode you want to play. \r\n0 = Free For All, \r\n1 = Last Man Standing, \r\n3 = Team DeathMatch, \r\n4 = Team Survivor, \r\n5 = Follow The Leader, \r\n6 = Capture And Hold, \r\n7 = Capture The Flag, \r\n8 = Bomb Mode, \r\n9 = Jump, \r\n10 = Freeze Tag, \r\n11 = Gun Game", + "description": "Sets the Gamemode you want to play. \r\n1 = Last Man Standing, \r\n2 = Free For All, \r\n3 = Team DeathMatch, \r\n4 = Team Survivor, \r\n5 = Follow The Leader, \r\n6 = Capture And Hold, \r\n7 = Capture The Flag, \r\n8 = Bomb Mode, \r\n9 = Jump, \r\n10 = Freeze Tag, \r\n11 = Gun Game", "env_variable": "SERVER_GAMETYPE", "default_value": "3", "user_viewable": true, "user_editable": true, - "rules": "required|integer|max:11", + "rules": "required|integer|in:1,2,3,4,5,6,7,8,9,10,11", "field_type": "text" }, { From 163bf193ea43515b1ee8dccb02f5f8361bd8394a Mon Sep 17 00:00:00 2001 From: Julian Date: Sat, 10 Feb 2024 11:18:05 +0100 Subject: [PATCH 10/11] Add files via upload Changed Yolk to ghcr.io/parkervcp/yolks:debian --- game_eggs/urbanterror/egg-urban-terror4-3-4.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/game_eggs/urbanterror/egg-urban-terror4-3-4.json b/game_eggs/urbanterror/egg-urban-terror4-3-4.json index a418ce02..75d4a975 100644 --- a/game_eggs/urbanterror/egg-urban-terror4-3-4.json +++ b/game_eggs/urbanterror/egg-urban-terror4-3-4.json @@ -4,20 +4,20 @@ "version": "PTDL_v2", "update_url": null }, - "exported_at": "2024-02-09T20:56:42+00:00", + "exported_at": "2024-02-10T10:16:01+00:00", "name": "Urban Terror 4.3.4", "author": "Juli199696@web.de", "description": "Urban Terror started as a realism based \"total conversion\" mod for Quake III Arena. Nowadays, Urban Terror is played using the free, stand-alone, ioquake3 engine modified, which doesn't require Quake III Arena, in addition to being an add-on to id Software's Quake III Arena.", "features": null, "docker_images": { - "quay.io\/pterodactyl\/core:glibc": "quay.io\/pterodactyl\/core:glibc" + "ghcr.io\/parkervcp\/yolks:debian": "ghcr.io\/parkervcp\/yolks:debian" }, "file_denylist": [], "startup": ".\/Quake3-UrT-Ded.{{EXE}} +exec \"server.cfg\" +set fs_game \"q3ut4\" +set fs_basepath \"\/home\/container\" +set fs_homepath \"\/home\/container\" +set dedicated \"2\" +set com_hunkmegs \"{{HUNKMEGS}}\" +set net_port \"{{SERVER_PORT}}\"", "config": { "files": "{\r\n \"q3ut4\/server.cfg\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"set sv_hostname\": \"set sv_hostname \\\"{{server.build.env.SERVER_NAME}}\\\"\",\r\n \"set sv_joinmessage\": \"set sv_joinmessage \\\"{{server.build.env.JOIN_MESSAGE}}\\\"\",\r\n \"set sv_maxclients\": \"set sv_maxclients \\\"{{server.build.env.SERVER_MAXCLIENTS}}\\\"\",\r\n \"set rconpassword\": \"set rconpassword \\\"{{server.build.env.RCON_PASSWORD}}\\\"\",\r\n \"set g_password\": \"set g_password \\\"{{server.build.env.SERVER_PASSWORD}}\\\"\",\r\n \"set g_friendlyfire\": \"set g_friendlyfire \\\"{{server.build.env.SERVER_FRIENDLYFIRE}}\\\"\",\r\n \"set g_gametype\": \"set g_gametype \\\"{{server.build.env.SERVER_GAMETYPE}}\\\"\",\r\n \"set timelimit\": \"set timelimit \\\"{{server.build.env.SERVER_TIMELIMIT}}\\\"\",\r\n \"set bot_enable\": \"set bot_enable 1\",\r\n \"set bot_minplayers\": \"set bot_minplayers \\\"{{server.build.env.BOT_MINPLAYERS}}\\\"\",\r\n \"map ut4_casa\": \"map \\\"{{server.build.env.SERVER_MAP}}\\\"\"\r\n }\r\n }\r\n}", "startup": "{\r\n \"done\": \"------- Game Initialization -------\"\r\n}", - "logs": "{\r\n}", + "logs": "{}", "stop": "quit" }, "scripts": { From 90d90cfa5eaaec98a5b8438b9421572b073e8846 Mon Sep 17 00:00:00 2001 From: Quinten <67589015+QuintenQVD0@users.noreply.github.com> Date: Fri, 16 Feb 2024 13:35:24 +0100 Subject: [PATCH 11/11] Cleanup --- ...-terror4-3-4.json => egg-urban-terror.json} | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) rename game_eggs/urbanterror/{egg-urban-terror4-3-4.json => egg-urban-terror.json} (77%) diff --git a/game_eggs/urbanterror/egg-urban-terror4-3-4.json b/game_eggs/urbanterror/egg-urban-terror.json similarity index 77% rename from game_eggs/urbanterror/egg-urban-terror4-3-4.json rename to game_eggs/urbanterror/egg-urban-terror.json index 75d4a975..570a29aa 100644 --- a/game_eggs/urbanterror/egg-urban-terror4-3-4.json +++ b/game_eggs/urbanterror/egg-urban-terror.json @@ -4,8 +4,8 @@ "version": "PTDL_v2", "update_url": null }, - "exported_at": "2024-02-10T10:16:01+00:00", - "name": "Urban Terror 4.3.4", + "exported_at": "2024-02-16T13:34:36+01:00", + "name": "Urban Terror", "author": "Juli199696@web.de", "description": "Urban Terror started as a realism based \"total conversion\" mod for Quake III Arena. Nowadays, Urban Terror is played using the free, stand-alone, ioquake3 engine modified, which doesn't require Quake III Arena, in addition to being an add-on to id Software's Quake III Arena.", "features": null, @@ -13,7 +13,7 @@ "ghcr.io\/parkervcp\/yolks:debian": "ghcr.io\/parkervcp\/yolks:debian" }, "file_denylist": [], - "startup": ".\/Quake3-UrT-Ded.{{EXE}} +exec \"server.cfg\" +set fs_game \"q3ut4\" +set fs_basepath \"\/home\/container\" +set fs_homepath \"\/home\/container\" +set dedicated \"2\" +set com_hunkmegs \"{{HUNKMEGS}}\" +set net_port \"{{SERVER_PORT}}\"", + "startup": ".\/Quake3-UrT-Ded.{{EXE}} +exec \"server.cfg\" +set fs_game \"q3ut4\" +set fs_basepath \"\/home\/container\" +set fs_homepath \"\/home\/container\" +set dedicated \"2\" +set com_hunkmegs \"{{HUNKMEGS}}\" +set net_port \"{{SERVER_PORT}}\"", "config": { "files": "{\r\n \"q3ut4\/server.cfg\": {\r\n \"parser\": \"file\",\r\n \"find\": {\r\n \"set sv_hostname\": \"set sv_hostname \\\"{{server.build.env.SERVER_NAME}}\\\"\",\r\n \"set sv_joinmessage\": \"set sv_joinmessage \\\"{{server.build.env.JOIN_MESSAGE}}\\\"\",\r\n \"set sv_maxclients\": \"set sv_maxclients \\\"{{server.build.env.SERVER_MAXCLIENTS}}\\\"\",\r\n \"set rconpassword\": \"set rconpassword \\\"{{server.build.env.RCON_PASSWORD}}\\\"\",\r\n \"set g_password\": \"set g_password \\\"{{server.build.env.SERVER_PASSWORD}}\\\"\",\r\n \"set g_friendlyfire\": \"set g_friendlyfire \\\"{{server.build.env.SERVER_FRIENDLYFIRE}}\\\"\",\r\n \"set g_gametype\": \"set g_gametype \\\"{{server.build.env.SERVER_GAMETYPE}}\\\"\",\r\n \"set timelimit\": \"set timelimit \\\"{{server.build.env.SERVER_TIMELIMIT}}\\\"\",\r\n \"set bot_enable\": \"set bot_enable 1\",\r\n \"set bot_minplayers\": \"set bot_minplayers \\\"{{server.build.env.BOT_MINPLAYERS}}\\\"\",\r\n \"map ut4_casa\": \"map \\\"{{server.build.env.SERVER_MAP}}\\\"\"\r\n }\r\n }\r\n}", "startup": "{\r\n \"done\": \"------- Game Initialization -------\"\r\n}", @@ -22,8 +22,8 @@ }, "scripts": { "installation": { - "script": "#!\/bin\/bash\r\n\r\ncd \/tmp\r\napt-get update && apt-get -y install libxml2-utils wget curl sed #Install needed dependencies for the official Urban Terror Updater (Not for the Gameserver itself)\r\n\r\nmkdir UrbanTerror43\r\ncd UrbanTerror43\r\n\r\necho \"Downloading Urban Terror 4.3\"\r\nwget https:\/\/github.com\/FrozenSand\/UrTUpdater\/releases\/download\/v4.0.3-RC1\/UrTUpdater-v4.0.3-Ded.sh #Download from Github because the Webpage does not allow \"direct Downloads\"\r\n\r\necho \"Updating Urban Terror\" #Accept the EULA and input the needed variables to download the latest version of the Serverfiles (4.3.4 for now)\r\nbash \/tmp\/UrbanTerror43\/UrTUpdater-v4.0.3-Ded.sh << EOF\r\ny\r\n1\r\n1\r\n1\r\nn\r\ny\r\nn\r\nEOF\r\n\r\n# Copy files to destination\r\ncp -r \/tmp\/UrbanTerror43\/* \/mnt\/server\/\r\n\r\n# Set up default configs\r\nmv \/mnt\/server\/q3ut4\/server_example.cfg \/mnt\/server\/q3ut4\/server.cfg\r\nmv \/mnt\/server\/q3ut4\/mapcycle_example.txt \/mnt\/server\/q3ut4\/mapcycle.txt\r\n\r\nchmod 744 \/mnt\/server\/Quake3-UrT-Ded.x86_64\r\nchmod 744 \/mnt\/server\/Quake3-UrT-Ded.i386\r\n\r\n# Use sed to insert extra config options as many people ask for Bots ingame\r\nsed -i '\/\\\/\\\/pb_sv_enable\/a\\set bot_enable 1\\nset bot_minplayers 0' \/mnt\/server\/q3ut4\/server.cfg", - "container": "debian:bullseye-slim", + "script": "#!\/bin\/bash\r\n\r\nmkdir -p \/mnt\/server\r\ncd \/mnt\/server\r\n\r\napt update\r\napt -y install libxml2-utils sed #Install needed dependencies for the official Urban Terror Updater (Not for the Gameserver itself)\r\n\r\necho \"Downloading Urban Terror\"\r\ncurl -sSL -o UrTUpdater-Ded.sh https:\/\/github.com\/FrozenSand\/UrTUpdater\/releases\/download\/v4.0.3-RC1\/UrTUpdater-v4.0.3-Ded.sh \r\n#Download from Github because the Webpage does not allow \"direct Downloads\"\r\n\r\necho \"Updating Urban Terror\" #Accept the EULA and input the needed variables to download the latest version of the Serverfiles (4.3.4 for now)\r\nbash \/mnt\/server\/UrTUpdater-Ded.sh << EOF\r\ny\r\n1\r\n1\r\n1\r\nn\r\ny\r\nn\r\nEOF\r\n\r\n# Set up default configs\r\nmv \/mnt\/server\/q3ut4\/server_example.cfg \/mnt\/server\/q3ut4\/server.cfg\r\nmv \/mnt\/server\/q3ut4\/mapcycle_example.txt \/mnt\/server\/q3ut4\/mapcycle.txt\r\n\r\nchmod +x \/mnt\/server\/Quake3-UrT-Ded.x86_64\r\nchmod +x \/mnt\/server\/Quake3-UrT-Ded.i386\r\n\r\n# Use sed to insert extra config options as many people ask for Bots ingame\r\nsed -i '\/\\\/\\\/pb_sv_enable\/a\\set bot_enable 1\\nset bot_minplayers 0' \/mnt\/server\/q3ut4\/server.cfg\r\n\r\n## install end\r\necho \"-----------------------------------------\"\r\necho \"Installation completed...\"\r\necho \"-----------------------------------------\"", + "container": "ghcr.io\/parkervcp\/installers:debian", "entrypoint": "bash" } }, @@ -75,7 +75,7 @@ "default_value": "16", "user_viewable": true, "user_editable": true, - "rules": "required|integer|max:32", + "rules": "required|numeric|between:1,32", "field_type": "text" }, { @@ -115,7 +115,7 @@ "default_value": "3", "user_viewable": true, "user_editable": true, - "rules": "required|integer|in:1,2,3,4,5,6,7,8,9,10,11", + "rules": "required|numeric|in:1,2,3,4,5,6,7,8,9,10,11", "field_type": "text" }, { @@ -125,7 +125,7 @@ "default_value": "0", "user_viewable": true, "user_editable": true, - "rules": "required|integer|max:16", + "rules": "required|numeric|max:16", "field_type": "text" }, { @@ -135,7 +135,7 @@ "default_value": "10", "user_viewable": true, "user_editable": true, - "rules": "required|integer|max:999", + "rules": "required|numeric|max:999", "field_type": "text" }, {