mirror of
https://github.com/parkervcp/eggs.git
synced 2024-11-28 09:42:54 +08:00
152 lines
8.9 KiB
JSON
152 lines
8.9 KiB
JSON
|
{
|
||
|
"_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"
|
||
|
}
|
||
|
]
|
||
|
}
|