SkillAgentSearch skills...

7dtdServerUpdateUtility

A Utility To Keep Your 7 days To Die Dedicated Server Updated... and much more!

Install / Use

/learn @phoenix125/7dtdServerUpdateUtility
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

7dtdServerUpdateUtility - A Utility to Keep Your 7 days To Die Dedicated Server updated (and schedule server restarts, download and install new server files, and more!)

  • Latest version: 7dtdServerUpdateUtility_v2.6.9 (2024-08-20) (Beta and Stable are the same version)
  • By Phoenix125 | http://www.Phoenix125.com | http://discord.gg/EU7pzPs | kim@kim125.com
  • Based on Dateranoth's ConanExilesServerUtility-3.3.0 and 7dServerUtility | https://gamercide.org/

FEATURES

  • Works with other managers.
  • Easy to use and set up.
  • New! Discord: Send server status, in-game chat messages, players join or leave, and game time.
  • New! Backups. Partial and full server.
  • New! Config window.
  • Keeps server updated and running.
  • Easily downloads, installs, and set up a new 7 Days To Die Dedicated Server.
  • Send telnet & chat messages with a click.
  • After updates, "(Almost) Future Proof" option adds 19 existing parameters to the new serverconfig.xml file to accommodate config changes during updates and can disable mod folder.
  • Announce server updates and/or restarts in game, on Discord and Twitch.
  • Works with all version: Public, Latest_experimental, and custom.
  • Optionally automatically add version (ex: Alpha 17 (b240)) to server name with each update, so that users can quickly identify that you are running the latest version.
  • Optionally automatically rename GameName to current version (ex: Alpha 17 b240) with each update, therefore saving old world while creating new world (aka: SERVER WIPE).
  • KeepAlive Watchdog: Restarts frozen servers. Monitors for process, valid telenet, and query responses.
  • Scheduled restarts.
  • Remote restart (via web browser).
  • Run multiple instances to manage multiple servers.
  • Detailed logs.
  • Watchdog: restart server on excessive memory use. More detailed features:
  • Optionally execute external files for six unique conditions, including at updates, scheduled restarts, remote restart, when first restart notice is announced *These options are great executing a batch file to disable certain mods during a server update, to run custom announcement scripts, make config changes (enable PVP at scheduled times), etc.
  • Can validate files on first run, then optionally only when buildid (server version) changes. Backs up & erases appmanifest_294420.acf to force update when client-only update is released by The Fun Pimps.
  • Automatically imports server settings from serverconfig.xml (or comparable file) and creates a temporary file... leaving the original file untouched.

GETTING STARTED (Two sets of instructions: one for existing servers and the other to use the 7dtdServerUpdateUtility tool to download and install a new dedicated server)

EXISTING SERVER:

  1. Run 7dtdServerUpdateUtility.exe
  2. Adjust desired settings in the Config window. If config window doesn't show, click the tray icon and select "Util CONFIG" toward the top.
  • Required fields: Server Folder, Config File, and Local IP.
  1. Click "Restart Util"
  2. Your server should be up-to-date and running!

FRESH SERVER: Use 7dtdServerUpdateUtility to download install a fresh dedicated server

  1. Run 7dtdServerUpdateUtility.exe
  2. Adjust desired settings in the Config window. If config window doesn't show, click the tray icon and select "Util CONFIG" toward the top.
  • Required fields: Server Folder and Local IP. (The Config File will be created when the server is downloaded).
  1. Click "Restart Util"
  2. Your server files will be downloaded from Steam. Once done, your server will start.
  3. From the tray icon, click "Server Config" (toward the bottom). Make desired changes.
  4. Restart server and util.
  5. Congrats! Your new server is running.

KNOWN BUGS

  • The restart announcement countdown timer skips the first value. ex. If set to restart in 10, 5, 3, 1.. It announces the 10 minute restart, but actually restarts in 5 minutes.

INSTRUCTIONS

Notes: - It is suggested that you RENAME or COPY the default serverconfig.xml file as it will be overwritten with any updates - Telnet password can only contain letters and numbers.

To shut down your server:

  • Right-click on the 7dtdServerUpdateUtility icon and select EXIT. To restart your server:
  • Run 7dtdServerUpdateUtility.exe

TIPS & COMMENTS

Comments:

  • It is suggested that you RENAME or COPY the default serverconfig.xml file as it may be overwritten with server updates.
  • Telnet password can only contain letters and numbers.
  • There are a lot of parameters that can be set in the 7dtdServerUpdateUtility.ini. All parameters can be left at the default value, except... I recommend changing the default serverconfig.xml filename so that it does not get overwritten with each server update or file validation.
  • If running multiple instances of this utility, each copy must be in a separate folder.
  • If running multiple instances of this utility, rename 7dtdServerUpdateUtility.exe to a unique name for each server. The phoenix icon in the lower right will display the filename. For example: I run 6 servers, so I renamed the 7dtdServerUpdateUtility.exe files to 7DTD-STABLE.EXE, 7DTD-EXPERIMENTAL.EXE, CONAN-2X.EXE, CONAN-PIPPI.EXE, CONAN-LITMAN.EXE, & ATLAS.EXE.
  • If using the "Request Restart From Browser" option, you have to use your local PC's IP address as the server's IP. ex: "Server Local IP=192.168.1.10" (127.0.0.1 and external IP do not work). Tips:
  • Use the "Run external script during server updates" feature to run a batch file that disables certain mods during a server update to prevent incompatibilities.

UPCOMING PLANNED FEATURES

  • Detailed instructions.
  • Possibly add two more restart announcement times. The workaround for now is to execute external scripts... often using Powershell.
  • Scrapped: Create a GUI interface for modifying the .ini file. I have no intention of doing this unless there is demand for it. Let me know if you want this! email: kim@kim125.com

DOWNLOAD LINKS

Latest Version: http://www.phoenix125.com/share/7dtdServerUpdateUtility.zip Previous Versions: http://www.phoenix125.com/share/7dtdhistory/ Source Code (AutoIT): http://www.phoenix125.com/share/7dtdServerUpdateUtility.au3 GitHub: https://github.com/phoenix125/7dtdServerUpdateUtility

Website: http://www.Phoenix125.com Discord: http://discord.gg/EU7pzPs Forum: https://phoenix125.createaforum.com/index.php

More ServerUpdateUtilities available: Conan Exiles and Atlas. Rust and Empyrion coming soon!


CREDITS

  • Based on Dateranoth's ConanExilesServerUtility-3.3.0 and 7dServerUtility (THANK YOU!) https://gamercide.org/forum/topic/9296-7-days-to-die-server-utility/ https://gamercide.org/forum/topic/10558-conan-exiles-server-utility/

DETAILED INSTRUCTIONS

====> Request Restart From Browser <====

  • If enabled on the server, use to remotely restart the server.
  • When restarting, an announcement will be made in-game, on Discord, and in Twitch if enabled, with the set duration of delay (warning).
  • Set Password in INI file to save, or type each time.
  • Restart using IP or Domain Name
  • Restart commands are now expecting HTTP headers, and can be sent to the server from a web browser using the format http://IP:PORT?restart=user_pass. The utility will respond if the password is accepted or not. There is also a limit for max password attempts. After 15 tries in 10 minutes the requesting IP will be locked out for 10 minutes.
  • 404 Responses will be sent if the RestartKey does not match or the header is incorrect. You can enable Debugging for a full output to the log what is being received by the server if you have any trouble.
  • These Are the Allowed Characters in the RestartCode (Password) 1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ!@$%^&*()+=-{}[]|:;./?

Usage Example: INI SETTINGS [Game Server IP] ListenIP=192.168.0.1 [Use Remote Restart ?yes/no] UseRemoteRestart=yes [Remote Restart Request Key http://IP:Port?RestartKey=RestartCode (Ex: 192.168.1.30:57520?restart=password)] ListenPort=57520 RestartKey=restart RestartCode=password

  • You can have multiple passwords. For example: RestartCode=password1,pass2,pwd3 In a standard web browser, type in the URL http://192.168.1.30:57520?restart=password. The Server would compare the pass and find that it is correct. It would respond with 200 OK And HTML Code stating the server is restarting.

VERSION HISTORY

(2024-08-20) v2.6.9 Fixed Discord announcements in v1.0

  • Fixed: Updated Discord announcement code to be compatible with 7DTD v1.0
  • Fixed: Fixed an issue where the backups would fail due to a "-1" added to the 7zip commandline

(2023-07-13) v2.6.8 Fixed error Line 22456

  • Fixed: Unknown function name error in Line 22456. (Thanks to @BloodRven for reporting!)

(2023-07-13) v2.6.7 Fixed Watchdog server restarts and added Discord announcements for it

  • Fixed: Query & telnet Watchdog was detecting server crashes but often failing to restart the server. It is now fixed.
  • Added: Discord: Watchdog can announce when a server crash is first detected and when it peforms the restart. Note! Announcements must be configured manually in the 7dtdServerUpdateUtility.ini using any text editor. There are two sections: DISCORD INTEGRATION & DISCORD MESSAGES sections. Comment: In case there is a temporary loss of telnet/query connection or server freeze, multiple failures can be set before it actually restarts the server. Default is 3 failed attempts.

(2023-07-01) v2.6.6 Improved code for checking for server updates and checking for

Related Skills

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated1y ago
Forks4

Languages

AutoIt

Security Score

60/100

Audited on Mar 9, 2025

No findings