Add Urban Terror (#2734)

* Add UrbanTerror4.3.4 Egg

Initial add for the Urban Terror Server Egg

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Add files via upload

Updated Variables to fit the schemata, updated Docker Container to Pterodactyl Yolk Debian Bullseye. Fixed some typos.

* Add files via upload

Changed Yolk to ghcr.io/parkervcp/yolks:debian

* Cleanup

---------

Co-authored-by: Quinten <67589015+QuintenQVD0@users.noreply.github.com>
This commit is contained in:
Julian 2024-03-09 11:02:28 +01:00 committed by GitHub
parent 3f054283a9
commit 477dad28d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 182 additions and 0 deletions

View File

@ -357,6 +357,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) * [OpenRCT2](game_eggs/tycoon_games/openrct2)
* [OpenTTD](game_eggs/tycoon_games/openttd) * [OpenTTD](game_eggs/tycoon_games/openttd)
[UrbanTerror](game_eggs/urbanterror)
[Veloren](game_eggs/veloren) [Veloren](game_eggs/veloren)
[Vintage Story](game_eggs/vintage_story) [Vintage Story](game_eggs/vintage_story)

View File

@ -0,0 +1,28 @@
# 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 (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. |
## Server Ports
| Port | default |
|---------|---------|
| Game | 27960 |
## 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.

View File

@ -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-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,
"docker_images": {
"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": "{}",
"stop": "quit"
},
"scripts": {
"installation": {
"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"
}
},
"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:55",
"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|numeric|between:1,32",
"field_type": "text"
},
{
"name": "RCON Password",
"description": "Set the Rcon Password for Admin commands.\r\nCan be empty to disable RCON.",
"env_variable": "RCON_PASSWORD",
"default_value": "",
"user_viewable": true,
"user_editable": true,
"rules": "nullable|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": "nullable|string|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\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|numeric|in:1,2,3,4,5,6,7,8,9,10,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|numeric|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|numeric|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"
}
]
}