mathielo / dst-dedicated-server

Don't Starve Together dedicated server guide for all platforms (Linux, Mac, Windows) with Docker. Extensive documentation covering mods installation, server config and performance, world generation and setting up admins.
MIT License
296 stars 56 forks source link

Mods Did not installed when dst_master start #26

Closed tinycold closed 4 years ago

tinycold commented 4 years ago

Hey buddy, thanks for your graceful tool. I created my own DST server successfully.

But when I tried to add some mods to my server, it failed.

I just copied the dedicated_server_mods_setup-custom.lua and modoverrides-custom.lua file in the original project as my configuration files, but it did't work yet.

I will appreciate it if you could help me to resolve this problem.

Thanks.

Server OS: Ubuntu 16.04

my dedicated_server_mods_setup.lua file:

-- Wormhole Marks
-- https://steamcommunity.com/sharedfiles/filedetails/?id=362175979
ServerModSetup("362175979")

-- Extra Equip Slots
-- https://steamcommunity.com/sharedfiles/filedetails/?id=375850593
ServerModSetup("375850593")

-- Health Info
-- https://steamcommunity.com/sharedfiles/filedetails/?id=375859599
ServerModSetup("375859599")

-- Global Positions
-- https://steamcommunity.com/sharedfiles/filedetails/?id=378160973
ServerModSetup("378160973")

-- Food Values - Item Tooltips (Server and Client)
-- https://steamcommunity.com/sharedfiles/filedetails/?id=458940297
ServerModSetup("458940297")

-- Quick Pick
-- https://steamcommunity.com/sharedfiles/filedetails/?id=501385076
ServerModSetup("501385076")

-- Auto Tooth Trap Reset
-- https://steamcommunity.com/sharedfiles/filedetails/?id=588560555
ServerModSetup("588560555")

-- Epic Healthbar
-- https://steamcommunity.com/sharedfiles/filedetails/?id=1185229307
ServerModSetup("1185229307")

my modoverrides.lua file:

return {

  -- Wormhole Marks
  -- https://steamcommunity.com/sharedfiles/filedetails/?id=362175979
  ["workshop-362175979"]={ configuration_options={ ["Draw over FoW"]="disabled" }, enabled=true },

  -- Extra Equip Slots
  -- https://steamcommunity.com/sharedfiles/filedetails/?id=375850593
  ["workshop-375850593"]={ configuration_options={  }, enabled=true },

  -- Health Info
  -- https://steamcommunity.com/sharedfiles/filedetails/?id=375859599
  ["workshop-375859599"]={
    configuration_options={
      divider=5,
      random_health_value=0,
      random_range=0,
      show_type=0,
      unknwon_prefabs=1,
      use_blacklist=true
    },
    enabled=true
  },

  -- Global Positions
  -- https://steamcommunity.com/sharedfiles/filedetails/?id=378160973
  ["workshop-378160973"]={
    configuration_options={
      ENABLEPINGS=true,
      FIREOPTIONS=2,
      OVERRIDEMODE=false,
      SHAREMINIMAPPROGRESS=true,
      SHOWFIREICONS=true,
      SHOWPLAYERICONS=true,
      SHOWPLAYERSOPTIONS=2
    },
    enabled=true
  },

  -- Food Values - Item Tooltips (Server and Client)
  -- https://steamcommunity.com/sharedfiles/filedetails/?id=458940297
  ["workshop-458940297"]={
    configuration_options={
      DFV_ClientPrediction="default",
      DFV_FueledSettings="default",
      DFV_Language="EN",
      DFV_MinimalMode="default",
      DFV_PercentReplace="default",
      DFV_ShowACondition="default",
      DFV_ShowADefence="default",
      DFV_ShowAType="default",
      DFV_ShowDamage="default",
      DFV_ShowFireTime="default",
      DFV_ShowInsulation="default",
      DFV_ShowTemperature="default",
      DFV_ShowUses="default"
    },
    enabled=true
  },

  -- Quick Pick
  -- https://steamcommunity.com/sharedfiles/filedetails/?id=501385076
  ["workshop-501385076"]={ configuration_options={  }, enabled=true },

  -- Auto Tooth Trap Reset
  -- https://steamcommunity.com/sharedfiles/filedetails/?id=588560555
  ["workshop-588560555"]={ configuration_options={  }, enabled=true },

  -- Epic Healthbar
  -- https://steamcommunity.com/sharedfiles/filedetails/?id=1185229307
  ["workshop-1185229307"]={ configuration_options={  }, enabled=true }
}
mathielo commented 4 years ago

Hey @tinycold ! Can you show me how your files are set up (screenshot of the file tree or something similar)? Also, what do you get in the startup logs, any errors or messages about the logs? Cheers!

tinycold commented 4 years ago

Thanks @mathielo , I eventually fixed the problem.

It caused by the 'dst' directory name. before I clone this repo, I had created a directory named 'dst' in $HOME directory and cloned this repo under the 'dst' directory.

After I removed the 'dst' direct and just clone this repo in $HOME directory, everything is fine.