Aussie Cleetus 57 Posted July 6, 2019 (edited) ServerMonitor ServerMonitor is a PowerShell driven DayZ Standalone Server monitor with multiple configurable options such as auto-updating of mods (including copying keys), auto-updating of server files, auto archiving of logs to keep a clean profile folder with full support for -mod and -servermod parameters. This is an alternative to the popular CFTools with one major difference, all your data is kept on your server and there is no reliance upon a web service to use this tool (as long as your server is connected to the internet, this tool will work). Requirements: Steamcmd Steam account with DayZ owned (for downloading mods from the workshop) Dedicated Server (will not work with Game Service Providers - sorry) Installation: Install steamcmd Login with steamcmd - steamcmd login (This may require steamguard code. If your account is not dedicated for the server, this may need to be done on each restart depending on your account security settings) Close steamcmd by typing `quit` and pressing `enter` Copy `ServerMonitor.exe`, `ServerMonitor.cfg`, `servermodslist.txt` and `playersmodslist.txt` to the DayZServer directory (create your desired server path directory if you have not installed the server yet) Adjust settings in ServerMonitor.cfg Adjust mod list files playersmodslist.txt and servermodlist.txt (for clarification: playersmodslist.txt are mods loaded on both client and server, whereas servermodslist.txt is mods that are to be loaded on only the server, at no point should the same mod appear in both files) Run ServerMonitor.exe Optional Installation for automated restarts: Download BEC (link below) and unpack the zip file into your DayZServer's battleye folder Configure BEC's configuration files as desired and setup Schedule.xml Download BECMonitor (link below) and unpack the zip file into the same location as step 1 Adjust BECMonitor.cfg Run BECMonitor.exe Notes: If DayZServer is not installed in specified directory, it will be installed to specified directory Does not copy configuration files for mods to profile as mods should be auto-creating those if they don't exist Currently only supports Stable release To completely shutdown the server, be sure to turn the ServerMonitor off before shutting down DayZServer Do not forget to setup your server configuration files (serverDZ.cfg) Can be used for multiple instances of DayZServer, to achieve this you simply create a 2nd instance of this program in another directory with adjusted configuration Ensure you have SteamGuard installed on the account you use, as your account details will be stored in plain text on your server. Also note that unless the account is dedicated to the server, the Steam Guard Code may be required to be manually entered. These files must be in the server root folder (not in a folder) Works best when setting Server directory to the root of a drive (ie: C:\DayZServer or D:\DayZServer etc) License: CC BY-ND 4.0 Download Links: ServerMonitor.rarBEC.zipBECMonitor.rar Edited September 6, 2019 by Aussie Cleetus Update to newest version of ServerMonitor.rar 6 3 1 Share this post Link to post Share on other sites
DirtySanchez 4 Posted July 8, 2019 Great addition for the community Cleetus! Share this post Link to post Share on other sites
axemanuk 1 Posted July 8, 2019 Good work, be a great addition to any server. 1 Share this post Link to post Share on other sites
aspec7878 0 Posted July 9, 2019 You can write an example. what strings to write in playersmodslist.txt Share this post Link to post Share on other sites
Aussie Cleetus 57 Posted July 9, 2019 (edited) an example: BuildAnywhere - https://steamcommunity.com/sharedfiles/filedetails/?id=1574054508 KillFeed - https://steamcommunity.com/sharedfiles/filedetails/?id=1567872567 Basically the name is just there for our own records, so we can remember what mods we have. The program automatically finds the entry based on the url, that's why the url must be the last part on any given line Edited July 9, 2019 by Aussie Cleetus 1 1 Share this post Link to post Share on other sites
aspec7878 0 Posted July 11, 2019 Why do these records? in order for the server to load the mods? or to download mods automatically? Share this post Link to post Share on other sites
Aussie Cleetus 57 Posted July 12, 2019 (edited) both actually, it uses the lists to download the mods from steamcmd, then uses the id from the url so that it can get the path that the mod gets downloaded to (as steamcmd actually doesn't download mods via name, it stores by id). So the order or mods in these files also determines mod load order Edited July 12, 2019 by Aussie Cleetus Share this post Link to post Share on other sites
Johny_P 0 Posted July 30, 2019 Hello, where do I write running DZSALModServer.exe for DZSALauncher. Thank you for answer. Sorry for my bad english. Share this post Link to post Share on other sites
Fang64 0 Posted August 7, 2019 On 7/30/2019 at 6:05 AM, Johny_P said: Hello, where do I write running DZSALModServer.exe for DZSALauncher. Thank you for answer. Sorry for my bad english. So the issue apparently is when he starts the program using Start-Process he doesn't set the "-WorkingDirectory" parameter to the $serverPath,@Aussie Cleetus Can you make this change on line 409? It should be changed From this: $gameProcess = Start-Process $gamePath $myList -PassThru To this: $gameProcess = Start-Process $gamePath $myList -PassThru -WorkingDirectory $serverPath This will allow DZSALModServer.exe to be used as the "serverFileName" option, without modifying the rest of the ServerMonitor script. CC BY-ND 4.0 obviously prevents anyone from distributing or posting a version of this fixes this issue, but I do appreciate it. Share this post Link to post Share on other sites
Aussie Cleetus 57 Posted August 14, 2019 On 8/7/2019 at 1:58 PM, Fang64 said: So the issue apparently is when he starts the program using Start-Process he doesn't set the "-WorkingDirectory" parameter to the $serverPath,@Aussie Cleetus Can you make this change on line 409? It should be changed From this: $gameProcess = Start-Process $gamePath $myList -PassThru To this: $gameProcess = Start-Process $gamePath $myList -PassThru -WorkingDirectory $serverPath This will allow DZSALModServer.exe to be used as the "serverFileName" option, without modifying the rest of the ServerMonitor script. CC BY-ND 4.0 obviously prevents anyone from distributing or posting a version of this fixes this issue, but I do appreciate it. though I didn't see any need for it, the requested change was made. all that needed to happen was changing the exe filename in the servermonitor.cfg file to DZSALModServer.exe 1 1 Share this post Link to post Share on other sites
SovranMonk 0 Posted April 22, 2021 What if I am running a servermod that doesn't live on the workshop? Is it possible to use this tool?? Share this post Link to post Share on other sites
Bazim-287de2db6951663e 0 Posted February 5, 2023 It does not work anymore I guess? It is not downloading the mods. Share this post Link to post Share on other sites
Phalanxer 0 Posted November 5 (edited) Edit, wrong thread! Edited November 5 by Phalanxer Share this post Link to post Share on other sites
ohhaykfrankk 0 Posted December 6 I have an issue where it's not putting the mod information into the Profiles folder. I don't see anywhere where it's told to. Share this post Link to post Share on other sites