Jump to content

Some mods that work on regular server does not work on dedicated server.


Recommended Posts

Hello, trying to setup modded dedicated server on linux.

------------

I modify run_dedicated_server.sh to match how the game and steam cmd is installed.

#!/bin/bash

steamcmd_dir="/usr/share/steamcmd"
install_dir="/home/friska/.local/share/Steam/steamapps/common/Don't Starve Together"
cluster_name="MyDediServer"
dontstarve_dir="$HOME/.klei/DoNotStarveTogether"

steamcmd installed on root, and DST installed with steam.

-----------------------

I edited: /home/friska/.local/share/Steam/steamapps/common/Don't Starve Together/mods/dedicated_server_mods_setup.lua

adding these lines below:

ServerModCollectionSetup("1887331613")
ServerModCollectionSetup("2321974509")
ServerModCollectionSetup("2400388649")
ServerModCollectionSetup("786654500")

----------------------------

Then I copied mod overrides files I got from a cluster in my regular server (non dedicated one) with the mod enabled.

/home/friska/.klei/DoNotStarveTogether/MyDediServer/Master/modoverrides.lua

/home/friska/.klei/DoNotStarveTogether/MyDediServer/Caves/modoverrides.lua

this is the content:

return {
  ["workshop-1887331613"]={ configuration_options={ lang="en", notice_method=1 }, enabled=true },
  ["workshop-2321974509"]={ configuration_options={ SIB=false, SSB=false }, enabled=true },
  ["workshop-2400388649"]={ configuration_options={  }, enabled=true },
  ["workshop-786654500"]={ configuration_options={ active=true }, enabled=true } 
}

------------------

 

Then I run the server.

Apparently only two mods is working. In the regular server (not dedicated one) all the mod should be working. But it does not work here.

What might went wrong?

 

Master server log server_log.txt

Caves server log server_log.txt

Link to comment
Share on other sites

Accoding to your modoverrides.lua these aren't mod collections, but instead the mods themselves

ServerModCollectionSetup("1887331613")
ServerModCollectionSetup("2321974509")
ServerModCollectionSetup("2400388649")
ServerModCollectionSetup("786654500")

So Instead the dedicated_server_mods_setup should look like this:

ServerModSetup("1887331613")
ServerModSetup("2321974509")
ServerModSetup("2400388649")
ServerModSetup("786654500")

Then the mods should download properly.

Link to comment
Share on other sites

3 hours ago, Daniel86268 said:

Accoding to your modoverrides.lua these aren't mod collections, but instead the mods themselves


ServerModCollectionSetup("1887331613")
ServerModCollectionSetup("2321974509")
ServerModCollectionSetup("2400388649")
ServerModCollectionSetup("786654500")

So Instead the dedicated_server_mods_setup should look like this:


ServerModSetup("1887331613")
ServerModSetup("2321974509")
ServerModSetup("2400388649")
ServerModSetup("786654500")

Then the mods should download properly.

Oh thanks, that works.

I didn't know there is such thing as ModCollection which are different from just Mod.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...