-
Notifications
You must be signed in to change notification settings - Fork 4
/
7dtdServerUpdateUtility.ini
233 lines (206 loc) · 14.9 KB
/
7dtdServerUpdateUtility.ini
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
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
[ --------------- 7DTDSERVERUPDATEUTILITY INFORMATION --------------- ]
Author : Phoenix125
Version : 7dtdServerUpdateUtility v2.6.4
Website : http://www.Phoenix125.com
Discord : http://discord.gg/EU7pzPs
Forum : https://phoenix125.createaforum.com/index.php
[--------------- GAME SERVER CONFIGURATION ---------------]
7DTD DIR ###=K:\AutoIT\_MyProgs\7dtdServerUpdateUtility\7 Days to Die Dedicated Server
7DTD config ###=serverconfig.xml
Version (ex. public/latest_experimental/alpha18.4) ###=public
7DTD extra commandline parameters (ex. -serverpassword) ###=
Server Local IP (ex. 192.168.1.10) ###=192.168.1.30
SteamCMD DIR ###=K:\AutoIT\_MyProgs\7dtdServerUpdateUtility\SteamCMD
SteamCMD Username (optional) ###=
SteamCMD Password (optional) ###=
SteamCMD commandline (caution: overwrites all settings above) Write between lines below ###=(Write between lines below)
<--- BEGIN SteamCMD CODE --->
SET steampath=K:\AutoIT\_MyProgs\7dtdServerUpdateUtility\SteamCMD
SET gamepath=K:\AutoIT\_MyProgs\7dtdServerUpdateUtility\7 Days to Die Dedicated Server
"%steampath%\steamcmd.exe" +@ShutdownOnFailedCommand 1 +@NoPromptForPassword 1 +login anonymous +force_install_dir "%gamepath%" +app_update 294420 +quit
<--- END SteamCMD CODE --->
Check for, and log, online players? (yes/no) ###=yes
Check for online players every _ seconds (30-600) ###=60
[--------------- APPEND SERVER VERSION TO NAME ---------------]
Rename GameSave with updates causing a SERVER WIPE (while retaining old save files) ###=no
Append Server Version (ex. Alpha 16.4 (b8)) at BEGINNING of Server Name? (yes/no) ###=no
Append Server Version (ex. Alpha 16.4 (b8)) at END of Server Name? (yes/no) ###=no
Use SHORT name (B9) or LONG (Alpha 17.1 (B9))? (short/long) ###=long
[--------------- KEEP ALIVE WATCHDOG ---------------]
Disable watchdog. Util will NOT start server (but can shut it down)? (yes/no) ###=no
Pause watchdog for _ minutes after server updated to allow map generation (1-360) ###=60
Pause watchdog for _ minutes after server started to allow server to come online (1-60) ###=5
Number of failed responses (after server has responded at least once) before restarting server (1-10) (Default is 3) ###=3
Use Query Port to check if server is alive? (yes/no) ###=yes
Query IP (ex. 127.0.0.1 - Leave BLANK for server IP) ###=127.0.0.1
Query Port check interval in seconds (30-900) ###=180
Use telnet to check if server is alive? (yes/no) ###=yes
Telnet IP (ex. 127.0.0.1 - Leave BLANK for server IP) ###=127.0.0.1
Telnet check interval in seconds (30-900) ###=180
[--------------- RESTART ON EXCESSIVE MEMORY USE ---------------]
Restart on excessive memory use? (yes/no) ###=no
Excessive memory amount? ###=6000000000
[--------------- REMOTE RESTART OPTIONS ---------------]
Use Remote Restart? (yes/no) ###=no
Restart Port ###=57520
Restart Key ###=restart
Restart Code ###=password
(Usage example: http://192.168.1.10:57520/?restart=password)
[--------------- CHECK FOR UPDATE ---------------]
Check for server updates? (yes/no) ###=yes
Update check interval in Minutes (05-59) ###=15
[--------------- BACKUP ---------------]
Use scheduled backups? (yes/no) ###=yes
Backup days (comma separated 0-Everyday 1-Sunday 7-Saturday 0-7 ex.2,4,6) ###=0
Backup hours (comma separated 00-23 ex.04,16) ###=00,06,12,18
Backup minute (00-59) ###=00
Full 7 Days To Die and Util folder backup every __ backups (0 to disable)(0-99) ###=10
Additional backup folders / files (comma separated. Folders add \ at end. ex. C:\7DTD\,D:\7DTD Server\) ###=
Output folder ###=K:\AutoIT\_MyProgs\7dtdServerUpdateUtility\Backups
Number of backups to keep (1-999) ###=56
Max time in seconds to wait for backup to complete (30-999) ###=600
7zip backup additional command line parameters (Default: a -spf -r -tzip -ssw) ###=a -spf -r -tzip -ssw
Send Discord announcement when backup initiated (yes/no) ###=no
Send Twitch announcement when backup initiated (yes/no) ###=no
In-Game announcement when backup initiated (Leave blank to disable) ###=Server backup started.
Discord announcement when backup initiated ###=Server backup started.
Twitch announcement when backup initiated ###=Server backup started.
[--------------- SCHEDULED RESTARTS ---------------]
Use scheduled restarts? (yes/no) ###=yes
Restart days (comma separated 0-Everyday 1-Sunday 7-Saturday 0-7 ex.2,4,6) ###=0
Restart hours (comma separated 00-23 ex.04,16) ###=04,16
Restart minute (00-59) ###=00
[--------------- ANNOUNCEMENT CONFIGURATION ---------------]
Announcement _ minutes before DAILY reboot (comma separated 0-60) ###=0,1,2,5,10,15
Announcement _ minutes before UPDATES reboot (comma separated 0-60) ###=0,1,2,5,10
Announcement _ minutes before REMOTE RESTART reboot (comma separated 0-60) ###=0,1,3
Blood Moon Day Announcement Offset +(0-99) days (Use when horde day msg gets off sync) ###=0
[--------------- IN-GAME ANNOUNCEMENT CONFIGURATION ---------------]
Announce DAILY RESTARTS messages in-game? (Requires telnet) (yes/no) ###=yes
Announce UPDATES messages in-game? (Requires telnet) (yes/no) ###=yes
Announce REMOTE RESTARTS messages in-game? (Requires telnet) (yes/no) ###=yes
Announce DAILY messages in-game? (Requires telnet) (yes/no) ###=yes
Announce DAILY messages in-game Hour to Send? (Requires telnet) (0-23) ###=7
Announce PLAYER JOIN messages in-game? (Requires telnet) (yes/no) ###=yes
Announce BACKUP STARTED messages in-game? (Requires telnet) (yes/no) ###=yes
Announcement DAILY RESTART (\m - minutes) ###=[FF8C00][FF8C00]Daily server restart begins in \m minute(s).
Announcement UPDATES (\m - minutes) ###=[FF8C00][FF8C00]Fun Pimps have released a new update. Server is rebooting in \m minute(s).
Announcement REMOTE RESTART (\m - minutes) ###=[FF8C00][FF8C00]Admin has requested a server reboot. Server is rebooting in \m minute(s).
Announcement DAILY (\m - minutes) ###=[FF8C00]Next Horde: \h days Players: \o
Announcement PLAYER JOIN (\o Player Count, \m Max Players, \t Game Time, \h Days to Next Horde, \n Next Line, \p Online Player Names, \y Player Joined Name, \q Player Left Name) ###=[FF8C00]Welcome \y! Next Horde: \h days Players: \o
[--------------- DISCORD WEBHOOK ---------------]
Discord #1 Webhook URL ###=https://discordapp.com/api/webhooks/012345678901234567/abcdefghijklmnopqrstuvwxyz01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcde
Discord #1 Bot Name (optional) ###=7DTD Bot
Discord #1 Avatar URL (optional) ###=http://www.phoenix125.com/share/Discord/DiscordAvatar7DTD.jpg
Discord #1 Use TTS (optional) (yes/no) ###=no
Discord #2 Webhook URL ###=https://discordapp.com/api/webhooks/012345678901234567/abcdefghijklmnopqrstuvwxyz01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcde
Discord #2 Bot Name (optional) ###=7DTD Bot
Discord #2 Avatar URL (optional) ###=http://www.phoenix125.com/share/Discord/DiscordAvatar7DTD.jpg
Discord #2 Use TTS (optional) (yes/no) ###=no
Discord #3 Webhook URL ###=https://discordapp.com/api/webhooks/012345678901234567/abcdefghijklmnopqrstuvwxyz01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcde
Discord #3 Bot Name (optional) ###=7DTD Bot
Discord #3 Avatar URL (optional) ###=http://www.phoenix125.com/share/Discord/DiscordAvatar7DTD.jpg
Discord #3 Use TTS (optional) (yes/no) ###=no
Discord #4 Webhook URL ###=https://discordapp.com/api/webhooks/012345678901234567/abcdefghijklmnopqrstuvwxyz01234567890ABCDEFGHIJKLMNOPQRSTUVWXYZabcde
Discord #4 Bot Name (optional) ###=7DTD Bot
Discord #4 Avatar URL (optional) ###=http://www.phoenix125.com/share/Discord/DiscordAvatar7DTD.jpg
Discord #4 Use TTS (optional) (yes/no) ###=no
[--------------- DISCORD MESSAGE WEBHOOK SELECT ---------------]
Webhook number(s) to send RESTART/STATUS Msg (ie 1) ###=1
Webhook number(s) to send PLAYERS ONLINE Msg (ie 2) ###=2
Webhook number(s) to send GLOBAL CHAT Msg (ie 23) ###=
Webhook number(s) to send ALL CHAT Msg (ie 23) ###=
Webhook number(s) to send PLAYERS DIE Msg (ie 1234) ###=3
Webhook number(s) to send New Day and Horde Msg (ie 14) ###=3
[--------------- DISCORD INTEGRATION ---------------]
Send Discord message for DAILY reboot? (yes/no) ###=yes
Send Discord message for UPDATE reboot? (yes/no) ###=yes
Send Discord message for REMOTE RESTART reboot? (yes/no) ###=yes
Send Discord message when server is back online (yes/no) ###=yes
Send Discord message for Online Player changes? (yes/no) ###=yes
Send Discord message for Player Chat? (yes/no) ###=yes
Send Discord message when player dies? (yes/no) ###=yes
Send Discord message every new day at midnight? (yes/no) ###=yes
Send Discord message every blood moon? (yes/no) ###=yes
Blood Moon time (hour) to send Discord Msg (00-23) ###=7
Send Discord message when blood moon done? (yes/no) ###=yes
Send Discord message for first ANNOUNCEMENT only? (reduces bot spam)(yes/no) ###=no
[--------------- DISCORD MESSAGES ---------------]
Announcement DAILY (\m - minutes) ###=Daily server restart begins in \m minute(s).
Announcement UPDATES (\m - minutes) ###=Fun Pimps have released a new update. Server is rebooting in \m minute(s).
Announcement REMOTE RESTART (\m - minutes) ###=Admin has requested a server reboot. Server is rebooting in \m minute(s).
Announcement when server is back online ###=7 Days To Die server is online and ready for connection.
__ Online Player message substitutions (\o Online Player Count, \m Max Players, \t Game Time, \h Days to Next Horde, \j Joined Sub-Msg, \l Left Sub-Msn, \a Online Players Sub-Msg) \n Next Line) __=
Online Player Message (see above for substitutions) ###=Players Online: **\o / \m** Game Time: **\t** Next Horde: **\h days**\n\j\l :hammer_pick: \a
Join Player Sub-Message (\y - Player Name(s) of player(s) that joined server, \n Next Line) ###=:white_check_mark: Joined: ***\y***
Left Player Sub-Message (\q - Player Name(s) of player(s) that left server, \n Next Line) ###=:x: Left: ***\q***
Online Player Sub-Message (\p - Player Name(s) of player(s) online, \n Next Line) ###=\nOnline Players: **\p**
Player Died Message (\p - Player Name, \n Next Line) ###=*:pirate_flag: \p died.*
Player Chat (\p - Player Name, \m Message, \t Msg type (ex. Global,Friend)=[\t] **\p**: \m
Announcement every new day (Uses online players substitutes. \p All Online Players)=Game Time: **\t** Next Horde: **\h days**
Announcement every blood moon (Uses online players substitutes. \p All Online Players)=Game Time: **\t** :full_moon: __**HORDE DAY!**__ :man_zombie:
Announcement when blood moon done (Uses online players substitutes. \p All Online Players)=Game Time: **\t** :new_moon: **Horde Day Finished**
[--------------- TWITCH INTEGRATION ---------------]
Send Twitch message for DAILY reboot? (yes/no) ###=no
Send Twitch message for UPDATE reboot? (yes/no) ###=no
Send Twitch message for REMOTE RESTART reboot? (yes/no) ###=no
Send Twitch message for first announcement only? (reduces bot spam)(yes/no) ###=no
Announcement DAILY (\m - minutes) ###=Daily server restart begins in \m minute(s).
Announcement UPDATES (\m - minutes) ###=Fun Pimps have released a new update. Server is rebooting in \m minute(s).
Announcement REMOTE RESTART (\m - minutes) ###=Admin has requested a server reboot. Server is rebooting in \m minute(s).
Nick ###=twitchbotusername
ChatOAuth ###=oauth:1234(Generate OAuth Token Here: https://twitchapps.com/tmi)
Channels ###=channel1,channel2,channel3
[--------------- EXECUTE EXTERNAL SCRIPT BEFORE SteamCMD UPDATE AND SERVER START ---------------]
1-Execute external script BEFORE update? (yes/no) ###=no
1-Script to execute ###=
1-Wait for script to complete? (yes/no) ###=no
[--------------- EXECUTE EXTERNAL SCRIPT AFTER SteamCMD BUT BEFORE SERVER START ---------------]
2-Execute external script AFTER update but BEFORE server start? (yes/no) ###=no
2-Script to execute ###=
2-Wait for script to complete? (yes/no) ###=no
[--------------- EXECUTE EXTERNAL SCRIPT WHEN RESTARTING FOR SERVER *UPDATE* ---------------]
3-Execute external script for server update restarts? (yes/no) ###=no
3-Script to execute ###=
3-Wait for script to complete? (yes/no) ###=no
[--------------- EXECUTE EXTERNAL SCRIPT WHEN RESTARTING FOR *DAILY* SERVER RESTART ---------------]
4-Execute external script for daily server restarts? (yes/no) ###=no
4-Script to execute ###=
4-Wait for script to complete? (yes/no) ###=no
[--------------- EXECUTE EXTERNAL SCRIPT WHEN FIRST RESTART ANNOUNCEMENT IS MADE ---------------]
5-Execute external script when first restart announcement is made? (yes/no) ###=no
5-Script to execute ###=
5-Wait for script to complete? (yes/no) ###=no
[--------------- EXECUTE EXTERNAL SCRIPT DURING RESTART WHEN REMOTE RESTART REQUEST IS MADE ---------------]
6-Execute external script during restart when a remote restart request is made? (yes/no) ###=no
6-Script to execute ###=
6-Wait for script to complete? (yes/no) ###=no
[--------------- LOG FILE OPTIONS ---------------]
Number of logs ###=30
[--------------- ADVANCED HIDDEN OPTIONS ---------------]
Send Telnet Command: Number of attempts (1-5) ###=3
Restart Now pause (Delay between Restart Now message being sent and Server Reboot) (0-60) seconds ###=10
CPU Affinity in Hex (Adds /AFFNITY x to commandline. Ex 0000001 for CPU 0, 000005 For CPU 1&3) ###=
[--------------- 7DTDSERVERUPDATEUTILITY MISC OPTIONS ---------------]
Validate files with SteamCMD update? (yes/no) ###=no
Telnet: Stay Connected (Required for chat and death messaging) (yes/no) ###=yes
Telnet: Monitor all traffic (Required for player chat and death announcements) (yes/no) ###=yes
Telnet: Check traffic every _ seconds) (1-10) ###=5
For update checks, use (0)SteamCMD or (1)SteamDB.com ###=0
Hide passwords in log files? (yes/no) ###=no
Hide external scripts when executed? (if yes, scripts may not execute properly) (yes/no) ###=no
Check for 7dtdServerUpdateUtility updates? (yes/no) ###=yes
7dtdServerUpdateUtility version: (0)Stable, (1)Beta ###=1
[--------------- (ALMOST) FUTURE PROOF UPDATE OPTIONS ---------------]
Automatically import old priority settings into new config? (yes/no) ###=no
Rename the Mod Folder (therefore saving and disabling it) if Future Proof was needed (3 consecutive failed starts after an update)? (yes/no) ###=no
During updates, The Fun Pimps sometimes make changes to the ServerConfig.xml file, which can cause the server to fail to start when using the old config file.
This section is a best-effort attempt to temporarily adjust to those changes during server updates to keep your server running.
If automatic import enabled above, this utility will attempt two reboots. If The server fails to boot after the second reboot,
it will backup of your existing serverconfig file (as listed in Game Server Configuration section),
copy the contents from the new ServerConfig.xml, import data from your existing config file, and add this data
to your serverconfig file (as listed above) at the end of the file.
Therefore, after an update, it is recommended that you review your config file and make any changes.
The following parameters will be imported:
ServerName, ServerPort, ServerPassword, TelnetPort, TelnetPassword, ServerLoginConfirmationText, ServerMaxPlayerCount, ServerDescription,
ServerWebsiteURL,, ServerDisabledNetworkProtocols, GameWorld, WorldGenSeed, WorldGenSize, GameName, GameDifficulty, ServerLoginConfirmationText, DropOnDeath