By eledore –
The way to set-up a Devoted-Server trough the usage of SteamCMD.
Included a batch script instance.
Necessities
Linux customers; i’m sorry however i totally anticipate you to have the ability to
interpretate the home windows directions and write your individual shell scripts.
- SteamCMD
You require SteamCMD to be put in. This may be anyplace.
On this instance i’ve it positioned in C:\SteamCMD - No utilization of ‘force_install_dir’
All default directories will likely be used
First i’ll clarify how one can set up and run the server manually.
After which i’ll present you a batch script to automate this course of.
SteamCMD
Begin a ‘Command Immediate’ and navigate to the place SteamCMD is positioned
CD c:\SteamCMD
Now run SteamCMD
SteamCMD
First time it’s going to obtain and set up itself totally.
Look forward to this to complete.
When that is completed we at the moment are contained in the SteamCMD’s console.
From right here we’ll set up/replace the sport.
However first we have to log-in to steam.
You don’t require a account we will use the ‘nameless’ login choice.
login nameless
Putting in the Server
Inside SteamCMD sort
app_update 1757540
(1757540 is steam’s ID for the server)
The sport will likely be put in into
C:\SteamCMD\steamapps\frequent\TRILEGY Devoted Server
(Sure it’s referred to as TRILEGY, blame Kevin for this one. I hope someday he modifies it)
Run the command once more to replace the server.
As soon as we’re completed with putting in/updating the server.
This isn’t really useful!
However you can run the ‘ArenaVRServer.exe’ and be completed.
But i like to recommend you at the least run the executable with the ‘-log’ choice.
Both trough a shortcut or batch file.
“C:\SteamCMD\steamapps\frequent\TRILEGY Devoted Server\ArenaVRServer.exe -log”
Mods
If you wish to set up Mods you’ll need to obtain/replace these trough SteamCMD
Open SteamCMD once more and login as nameless, as is proven above.
To obtain one of many workshop mods, you’ll require the publishedfileid of the mod.
Instance publishedfileid: 2643689608 ‘Kevins Modding Take a look at Zone’
workshop_download_item 1707030 2643689608
(1707030 is steam’s ID for the sport)
The Mods will now be downloaded into
C:\SteamCMD\steamapps\workshop\content material\1707030
We might want to transfer these recordsdata to the server.
Place the entire mod folder (e.g. 2643689608) into
C:\SteamCMD\steamapps\frequent\TRILEGY Devoted Server\ArenaVR\Mods
Lastly we might want to add the ‘publisherfileid’ quantity into the WorkshopItems.txt
(In any other case the mod will not load)
You will discover this file within the Mods folder.
Configuring the Server
Navigate to
C:\SteamCMD\steamapps\frequent\TRILEGY Devoted Server\ArenaVR\Saved\Config\WindowsServer
And open ‘DedicatedServer.ini’
Change the ‘ServerName=’ to a novel and indentifiable identify.
As nicely right here you may alter the ‘MapName=’ to make use of what map you want to run.
(Default the map is ready to ‘DesertKingdom’, please obtain map mods earlier than altering this)
Community Ports
The sport makes use of the next ports
7777, 27015
Please permit these trough your Firewall and/or port-forward these in your Router.
Automation
The way to automate all of this.
We are able to write a batch file!
@ECHO OFF
:: That is the listing Steamcmd is put in in.
SET d1=C:\Steamcmd\
:: That is the listing the place the script expects the server to be positioned in.
SET d2=%d1percentsteamapps\frequent\TRILEGY Devoted Server\
:: steam_appID’s. (don’t change)
SET d0=1757540
SET m0=1707030
:: These are the directories the place the mods will likely be downloaded and moved to the server.
SET m1=%d1percentsteamapps\workshop\content material\1707030
SET m2=%d2percentArenaVR\Mods
:: The next SET’s are all of the mods that will likely be downloaded/up to date earlier than server begin.
:: Embody right here all mod’s that you really want by workshop ‘publishedfileid’ quantity.
:: – Increment the variable quantity, don’t change the ‘modid-‘ half, solely incriment the quantity. (used for automation)
SET modid-0=2643689608
SET modid-1=2680738149
:: Allow us to start the script!
CD %d1%
START /wait steamcmd.exe +login nameless Axial-Drift +app_update %d0% +give up
DEL /Q “%d2%\ArenaVR\Mods\WorkshopItems.txt”
SET /A modcount=0
:MODLOOP
CALL SET modrun=modid-%modcount%
IF “!%modrun%!”==”” (
GOTO MODEND
) ELSE (
START /wait steamcmd.exe +login nameless +workshop_download_item %m0% !%modrun%! +give up
ECHO.!%modrun%!>>”%d2%\ArenaVR\Mods\WorkshopItems.txt”
SET /A modcount=%modcount%+1
GOTO MODLOOP
)
GOTO END
:MODEND
xcopy /SY “%m1%” “%m2%”
CD “%d2%”
START /wait ArenaVRServer.exe -log
:END
PAUSE
EXIT
Paste this code into notepad and reserve it as a .bat file
You possibly can put this batch file practically anyplace
I like to recommend both on the Desktop or contained in the SteamCMD root folder.
p.s.
This small batch script ought to perform completely for you.
However this snippet is just the small 40-line model so it may match on this Information.
Full script is over 280 traces.
(You simply will likely be lacking just a few options and all however the important feedback)
Contact us on the Axial-Drift Discord server[discord.gg] for full model.