Conan Exiles

Conan Exiles

檢視統計資料:
szalkerous 2018 年 5 月 13 日 下午 5:30
How to automate your dedicated server mod updates
Posting this quick note for the server admins out there.

I got sick of having to manually update mods off my desktop to the server, so I threw together this quick and dirty method of updating them (similar to how Ark does it, but we're doing it externally). Disclaimer: I'm not responsible for you messing up anything. If you're not savvy with managing servers with batch/scripting find someone who is.

You will need SteamCMD.

I assume you've already set the mods up once by hand. You could extend this batch to do it for you. I will probably do that at some point.

My Conan Exiles server is installed to D:\ConanExilesServer. I have created a copy of SteamCMD at D:\ConanExilesServer\SteamCMD. Your paths are likely different. Adjust as necessary.

Batch file ("UpdateMods.bat"):
@echo off @echo Downloading/updating mods... D:\ConanExilesServer\SteamCMD\Win64\steamcmd.exe +runscript D:\ConanExilesServer\modscript.txt @echo Copying new or updated mods... for /r D:\ConanExilesServer\SteamCMD\Win64\steamapps\workshop\content\440900 %%f in (*.pak) do @xcopy %%f D:\ConanExilesServer\ConanSandbox\Mods /D /Y @Echo Done! timeout /t 5

My mod list is specific to what I've installed. Add/remove whatever mod IDs relate to the mod PAKs you have defined in your MODS\modlist.txt file.

SteamCMD script ("modscript.txt"):
logon anonymous workshop_download_item 440900 1377172507 workshop_download_item 440900 1121057177 workshop_download_item 440900 1185321962 workshop_download_item 440900 1369743238 workshop_download_item 440900 1211904989 workshop_download_item 440900 864199675 quit

Profit and stop manually copying your mods from another PC!

Feel free to suggest any edits/fixes/better ways of doing things below. This took me all of 3 minutes to put together, but I assume others would probably want to benefit from the legwork.
最後修改者:szalkerous; 2018 年 5 月 13 日 下午 5:41
< >
目前顯示第 16-16 則留言,共 16
Severant 2024 年 10 月 28 日 下午 7:13 
This is awesome, thank you for posting this!
< >
目前顯示第 16-16 則留言,共 16
每頁顯示: 1530 50

張貼日期: 2018 年 5 月 13 日 下午 5:30
回覆: 16