Jump to content
Mettius

How do I load a Mod in a Server?

Recommended Posts

I have a DayZ server up. I can connect to and join it.

I subscribed to several mods that I'd like to possibly run on my server.
I see they downloaded to C:\Program Files (x86)\Steam\steamapps\workshop\content\221100

There are a bunch of sub directories there now: (example 1559129763)
How do I actually load that mod into the server?

The few examples I find on the interwebs refer to a syntax like -mod=@Community-Framework added to the startup script.

I'm missing the connection. I subscribed to the Community Frameworks Mod, and it appears to have downloaded to the C:\Program Files (x86)\Steam\steamapps\workshop\content\221100\1559212036 folder.
Now what do I do to load it?

I'm Missing something essential clearly. 🙂

Share this post


Link to post
Share on other sites
1 hour ago, Mettius said:

I have a DayZ server up. I can connect to and join it.

I subscribed to several mods that I'd like to possibly run on my server.
I see they downloaded to C:\Program Files (x86)\Steam\steamapps\workshop\content\221100

There are a bunch of sub directories there now: (example 1559129763)
How do I actually load that mod into the server?

The few examples I find on the interwebs refer to a syntax like -mod=@Community-Framework added to the startup script.

I'm missing the connection. I subscribed to the Community Frameworks Mod, and it appears to have downloaded to the C:\Program Files (x86)\Steam\steamapps\workshop\content\221100\1559212036 folder.
Now what do I do to load it?

I'm Missing something essential clearly. 🙂

your server is on your pc or another on your lan?

please show your bat file command line. below is mine using dayzsa

start DZSALModServer.exe "-config=serverDZ.cfg" -port=2302 -adminlog -freezecheck -noFilePatching -BEpath=C:\DayZServer\battleye "-mod=@BuildAnywhere;@Easy Map;@Unlimited Stamina" -profiles=C:\DayZServer\Admin "-dayzserver=DayZServer_x64.exe"

 

Ive put the server directly on the c drive because of the BE rcon

note the mod names. if you dont use dayzsa you will need to use the numbers

 

the mods need to go in the root directory of the game as below. numbers if normal steam launcher, or names if dayzsa launcher

C:\DayZServer\@1560819773

 

here are two bat file examples with a kill process (no mods)

https://gist.github.com/cp6/04ae70c87c44496d4288482958e7b2db

 

if you want to run mods you will need to include Dayzsa launcher

this is a link to that instruction set

https://dayzsalauncher.com/#/tools

this also shows how to install mods. for the normal launcher you use the numbers, for dayzsa you use the names

dayzsa uses your port + 10. you can see transmission on that port by dayzsa

 

this is a youtube from matthew longtime on how to set up a server

https://forums.dayz.com/topic/246141-for-people-who-are-struggling-setting-up-a-dayz-server/?tab=comments#comment-2444926

 

ports required for Dayz

TCP: 2302,27015-27030,27036-27037

UDP: 2302,4380,27000-27031,27036

 

Share this post


Link to post
Share on other sites

Thanks!

Looks like dayzsa launcher is a third party thing?  I was trying to just use it "native", but since I have to run this on Windoze anyway, I guess I can leave my usual Linux masochism behind.

Previously, I installed Dayz server on this machine with a 2nd steam account I created back in the day for running servers.
I couldn't seem to get it to actually download the workshop content I subscribed to with it. So I logged in with my regular steam account then installed DayZ, then the workshop items downloaded (to the numbered folders I mentioned in the OP).

So if I don't want to use the launcher, I would set it up by copying the steam workshop downloads to the DayZ server "root" and reference by number?  Would I need to mess with bikeys if I use the "manual" method?  It's been years since I setup a Linux ARMA 3 server, and I do recall having to simlink files here and there including key files to get it all working. Same story here? Or is dumping the entire steam workshop download number folder into the root sufficient?

I'm running on a Windows Server 2019. This is not my gaming client machine (it is actually running in a vm on ESXi on my server).
 

I'm currently running with ports 2302-2306, and 27016 (UDP) open, the server is listed in the server browser community tab, and friends can join it.

What are the other ports for? Specifically the TCP ports please? This is actually the first reference to them I've come across. Of course, the documentation is pretty non-existent and seems to be tribal knowledge scattered about the WWW. 🙂
I opened up 27016 to get the server browser to list the server. (Which works). Funny thing is you don't have that port in your notes and presumably your server is listed fine. 🙂

2302 is my game (base) port.
Various ARMA 3 references state the base port, +1, +2, +3, +4 need to also be open to UDP.
Just curious if anyone has a link to Bohemia Interactive documentation of what all is actually needed (ports) with 1.05 for a private server?

 

My start.bat below

 @echo off
    :start
    ::Server name
    set serverName=Mettiland
    ::Server files location
    set serverLocation="C:\Program Files (x86)\Steam\steamapps\common\DayZServer"
    ::Server Port
    set serverPort=2302
    ::Server config
    set serverConfig=serverDZ.cfg
    ::Logical CPU cores to use (Equal or less than available)
    set serverCPU=2
    ::BEPath
    set battlePath="C:\Program Files (x86)\Steam\steamapps\common\DayZServer\battleye"
    ::Sets title for terminal (DONT edit)
    title %serverName% batch
    ::DayZServer location (DONT edit)
    cd "%serverLocation%"
    echo (%time%) %serverName% started.
    ::Launch parameters (edit end: -config=|-port=|-profiles=|-doLogs|-adminLog|-netLog|-freezeCheck|-filePatching|-BEpath=|-cpuCount=)
    start "DayZ Server" /min "DayZServer_x64.exe" -config=%serverConfig% -port=%serverPort% -cpuCount=%serverCPU% -dologs -adminlog -netlog "-bepath=%battlePath%" -freezecheck -
    ::Time in seconds before kill server process (14400 = 4 hours)
    timeout 14390
    taskkill /im DayZServer_x64.exe /F
    ::Time in seconds to wait before..
    timeout 10
    ::Go back to the top and repeat the whole cycle again
    goto start

 

Share this post


Link to post
Share on other sites

I recommend you look into OmegaManager for Dayz.  It lets you instantly deploy a Dayz server without worrying about steamcmd or commands lines. It has easy mod installation with auto updates. 

Edited by Uncle Zed

Share this post


Link to post
Share on other sites

I still haven't found a way to see if mods are loading through some kind of log files.

However, I loaded up @CF and another mod.  When I tried to join my server I was kicked due to not having @CF installed. So not the easiest way to figure it out. But at least I know the server loaded the mod in question.
If anyone knows a good way to verify that mods loaded on a server. I'm all ears!

Share this post


Link to post
Share on other sites

Your server log will show you what mods are loaded. For example, this is from my server log:

Quote

== ./servers/0/DayZServer_x64.exe -config=serverDZ.cfg.active -port=2302 -profiles=profiles  -adminlog -freezecheck -dologs "-mod=@CF;@PvZmoD_Tweaked_Zombies;@Zeroy-FishingZ;@Base Fortifications;@Base Furniture Mods 20;@Sneaky Stashes and Stuff;@Munghards Itempack;@Moderns Drink Pack;@CJ187_Drinks_Food;@BuildAnywhere;@GoreZ;@BuilderItems;@LessClothesRagsOnlyPristine;@LessSkinningMeat;@CarHorn;@[CrSk] VAZ-2107;@Code Lock;@PaintIt;@FlipTransport;@KillFeed;@Community-Online-Tools;@VanillaPlusPlusMap;@Server_Information_Panel;@BaseBuildingLogs;@LessDestruction;@Repair My Car;@PartyMe;@SkinInfected;@CheckIdentity;@Ear-Plugs;@Low-End Starting Clothes;@Rain Resistant;@Leather Crafting;@dbo_surfaces;@DayZ-Expansion-Notifications;@MessageGatewayInterface;@DayZ-Expansion-Chat;@PVEZ;@Airdrop-Upgraded;" "-serverMod=@CFDZAddIn-ExpChat;@CFDZPlugin;"

https://www.reddit.com/r/CFTools/comments/a9orll/omegamanager/

Edited by Uncle Zed

Share this post


Link to post
Share on other sites
On 12/1/2019 at 5:40 PM, Mettius said:

I'm currently running with ports 2302-2306, and 27016 (UDP) open, the server is listed in the server browser community tab, and friends can join it.

What are the other ports for? Specifically the TCP ports please? This is actually the first reference to them I've come across. Of course, the documentation is pretty non-existent and seems to be tribal knowledge scattered about the WWW.
I opened up 27016 to get the server browser to list the server. (Which works). Funny thing is you don't have that port in your notes and presumably your server is listed fine.

 

ports required for Dayz

TCP: 2302,27015-27030,27036-27037

UDP: 2302,4380,27000-27031,27036

 

27015-27030 means 27015, 27016, 27018 etc . . . to 27030

UDP is for low latency loss tolerating connections. TCP has error and flow control and resends its messages if garbled.

TCP sends messages - host to host communication with data checking, UDP sends packets. UDP has no data checking hence a lower latency. TCP can cause latency issues and have a higher data overhead

 

You can see which ports are actually being used for network traffic and shutdown the ones that are not being used

On 12/1/2019 at 5:40 PM, Mettius said:

Looks like dayzsa launcher is a third party thing?  I was trying to just use it "native", but since I have to run this on Windoze anyway, I guess I can leave my usual Linux masochism behind.

If you dont want to use dayzsa launcher, it means that your server visitors have to load the mods themselves . . . and in the command line you use the number identifier for each of the mods

As mine is in the c drive I just copy and paste stuff . . . . bikeys too, which go in a separate folder. You can use steamcmd to update but it means you have to have a steam login active. On my server I do not.

On 12/1/2019 at 5:40 PM, Mettius said:

I'm currently running with ports 2302-2306, and 27016 (UDP) open, the server is listed in the server browser community tab, and friends can join it.

What are the other ports for? Specifically the TCP ports please? This is actually the first reference to them I've come across. Of course, the documentation is pretty non-existent and seems to be tribal knowledge scattered about the WWW.
I opened up 27016 to get the server browser to list the server. (Which works). Funny thing is you don't have that port in your notes and presumably your server is listed fine.
2302 is my game (base) port.
Various ARMA 3 references state the base port, +1, +2, +3, +4 need to also be open to UDP. Just curious if anyone has a link to Bohemia Interactive documentation of what all is actually needed (ports) with 1.05 for a private server?

Ive not found any documentation on the web re which ports are really necessary, its all a bit of a shotgun approach . . .but as I said you can check which ports are active, and close the inactive

I see your bat file, but I cannot see your mods in it? If your friends can join, you can ask them if they have to load mods ...

yours

start "DayZ Server" /min "DayZServer_x64.exe" -config=%serverConfig% -port=%serverPort% -cpuCount=%serverCPU% -dologs -adminlog -netlog "-bepath=%battlePath%" -freezecheck - 

mine

start DZSALModServer.exe "-config=serverDZ.cfg" -port=2302 -adminlog -freezecheck -noFilePatching -BEpath=C:\DayZServer\battleye "-mod=@BuildAnywhere;@Easy Map;@Unlimited Stamina" -profiles=C:\DayZServer\Admin "-dayzserver=DayZServer_x64.exe"

so for your eg mod

start DayZServer_x64.exe -config=serverDZ.cfg -port=2302 -adminlog -freezecheck -noFilePatching -BEpath=%battlePath%"-mod=@1559129763" -profiles=C:\DayZServer\Admin

note the profiles which is where you tell it to send the adm/rtx logs

You do not have the  BEC installed. The BEC RCOn writes logs

 

cpu count is irrelevant, dayz only uses one . So the faster your server chip the better. RAM is also critical

 

 

I can see your server online3CWaHsx.png

If you send me the password by pm I can try it tonight and check for you . . . what mods are you trying to load

 

DAyzsa helps people loading to your server, otherwise thay have to know what mods to install, but if its a private server I suppose thats ok. It also shows what mods are on directly

 

Its up to you if you want to use Dart Omega or what ever, I dont. I wrote my own.

 

 

Edited by aux7
  • Beans 1

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×