forked from pelican-eggs/games-standalone
-
Notifications
You must be signed in to change notification settings - Fork 0
/
egg-urban-terror.json
165 lines (165 loc) · 9.22 KB
/
egg-urban-terror.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
{
"_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PANEL",
"meta": {
"version": "PTDL_v2",
"update_url": null
},
"exported_at": "2024-06-01T00:17:16+00:00",
"name": "Urban Terror",
"author": "[email protected]",
"uuid": "b1c9282b-45d8-4b98-8596-ac5b8e01fedc",
"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",
"sort": null,
"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",
"sort": null,
"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",
"sort": null,
"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",
"sort": null,
"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",
"sort": null,
"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",
"sort": null,
"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",
"sort": null,
"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",
"sort": null,
"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",
"sort": null,
"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",
"sort": null,
"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",
"sort": null,
"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",
"sort": null,
"field_type": "text"
}
]
}