Need Help to Enable Mods on Dedicated Server


Recommended Posts

Hi everyone...
I'm shortly before getting my Sanity low and starving D:! (after sitting around 6-8 Hours on it)

Since i was trying to host a Server.. i finally could Host it and Join on it
But now comes the problem....
For some reason i can't enable the Mods on it (they are not tagged in the overview list)

In CMD Window appears this message (The Server can get hosted just without mods :( )

Error: Failed to load modoverrides.lua

Followed by Loading LUA Sucess

 

this is how my modoverrides.lua look alike would be thankful for any help *_* :3
 

 

return {
    ["workshop-378160973"] = { enabled = true,
        configuration_options =
        {
          SHOWPLAYERSOPTIONS = 1,
            SHOWPLAYERICONS = true,
            FIREOPTIONS = 1,
            SHOWFIREICONS = true,
            SHAREMINIMAPPROGRESS = false,
                        OVERRIDEMODE = false,        
        }
    }, -- Global Position
    ["workshop-507858702"] = { enabled = true ,
        configuration_options =
        {
        hovertext = 1,
        interest = 0.01,
                max = 3000,
    }
    }, -- Magical Chest
    ["workshop-514758022"] = { enabled = true }, -- Regrowable
    ["workshop-509723993"] = { enabled = true ,
        configuration_options =
        {
        health_enhance = 1,
        health_regen = 1,
        regen_value = 50,
        wall_undeployable = 0,
    }
    }, -- WallHealthReg
    ["workshop-542388187"] = { enabled = true }, -- Wanderer
    ["workshop-503919639"] = { enabled = true }, -- Equipment Switcher
    ["workshop-545653509"] = { enabled = true }, -- Glimmer
    ["workshop-554999204"] = { enabled = true }, -- Dolls
    ["workshop-377308875"] = { enabled = true }, -- Meokwa
    ["workshop-387593739"] = { enabled = true }, -- Wisp Wynter
    ["workshop-412291722"] = { enabled = true ,
    configuration_options =
    {
            Time = default,
        }
    }, -- Icefling Range Check
    ["workshop-362906105"] = { enabled = true }, -- Sticky Receipe
    ["workshop-522117250"] = { enabled = true }, -- Birds and Berries
    ["workshop-396026892"] = { enabled = true ,
    configuration_options =
    {
        OPT_DIFFICULTY = 2,
    }
    }, -- Large Chest
    ["workshop-386087632"] = { enabled = true }, -- Goldenspear
    ["workshop-362022168"] = { enabled = true }, -- Respawnable Gears
    ["workshop-487503466"] = { enabled = false }, -- Wodnik
    ["workshop-539045984"] = { enabled = true ,
    configuration_options =
    {
        to_give = 1,
        how_many = 20,
        craft_torch = 0,
        craft = 0,
    }
    }, -- Matches
    ["workshop-519565609"] = { enabled = true }, -- Wolfram
    ["workshop-362175979"] = { enabled = true }, -- wormhole mark
    ["workshop-488018406"] = { enabled = true }, -- BreakIce
    ["workshop-516523980"] = { enabled = true ,
    configuration_options =
    {
        MMStorageSize = ui_mms_3x3,
        DIGSUCCESODDS = 0.7,
        DIGPERIOD = 6,
        JAMODDS = 0.2,
        WINTERSLOWDOWN = true,
        SUMMERJAMINC = true,
        KEEPREMAINS = true,
        ChestMobOdds = 0.05,
        EscapeMobOdds = 0.15,
        MMKGEARSREQ = 8,
        MMKGOLDREQ = 10,
        MMKBOARDSREQ = 6,
        MMKDOODADSREQ = 4,
        MMKTECHLEVEL = SCIENCE_TWO,
        CWTWIGSREQ = 2,
        CWTROCKSREQ = 4,
        CWROPEREQ = 2,
        IWIRONREQ = 4,
        IWDURABILITY = 15,
    }    
}, -- miningmachine
    ["workshop-506204512"] = { enabled = true ,
    configuration_options =
    {
        WoodGateBoards_req = 6,
        WoodGateHammer_req = 1,
        WoodGateRope_req = 4,
        WoodGateTooth_req = 5,
        WoodGateStinger_req = 0,
        WoodGateTechLevel = SCIENCE_ONE,
    }    
}, -- 8 Faces Fences
    ["workshop-496249680"] = { enabled = true ,
    configuration_options =
    {
        slots_count = 1.4,
        compass_state = 1,
        }
}, -- API Slot
    ["workshop-459280938"] = { enabled = false }, -- Complete ur map
    ["workshop-466732225"] = { enabled = true }, -- Thermal Stone Fix
    ["workshop-458338650"] = { enabled = true }, -- Withers the Undead Treant
    ["workshop-463919131"] = { enabled = false }, -- Wilton the Skelleton
    ["workshop-508739792"] = { enabled = false }, -- Sentry Mod
    ["workshop-488009136"] = { enabled = true ,
    configuration_options =
    {
        BowUses = 150,
        BowDmg = 30,
        BowRange = 16,
        BowMissChanceSmall = 0.3,
        BowMissChanceBig = 0.15,
        HitChanceBugs = true,
        HitChanceTakeOff = true,
        ActivateCollisions = true,
        ArrowHitRecovery = 0.3,
        ArrowMissRecovery = 0.8,
        CritPvE = 0.1,
        CritDmgModPvE = 2.50,
        CritPvP = 0.05,
        CritDmgModPvP = 1.5,
        AccuracyDrugEffect = medium,
        BowTwigs_req = 2,
        BowSilk_req = 2,
        BowTechLevel = SCIENCE_ONE,
        CrossbowDmgMod = 2.0,
        CrossbowRangeMod = 1.25,
        CrossbowAccMod = 0.75,
        CrossbowBoards_req = 3,
        CrossbowSilk_req = 2,
        CrossbowHammer_req = 1,
        CrossbowTechLevel = SCIENCE_ONE,
        MagicBowDmgMod = 1.5,
        MagicBowLivingLog_req = 2,
        MagicBowPurpleGem_req =1,
        MagicBowGlommerFlower_req = true,
        MagicBowTechLevel = MAGIC_THREE,
        QuiverPigskin_req = 2,
        QuiverRope_req = 3,
        QuiverTechLevel = SCIENCE_ONE,
        MusketDmgMod = 3.5,
        MusketRangeMod = 0.95,
        MusketAccMod = 1.05,
        MusketBoards_req = 3,
        MusketGold_req = 6,
        MusketIron_req = 6,
        MusketFlint_req = 6,
        MusketTechLevel = SCIENCE_TWO,
        ProjShaftType = log,
        ArrowLog_req = 1,
        ArrowFeather_req = 1,
        ArrowHeadType = flint,
        ArrowHead_req = 1,
        ArrowCraftAmount = 8,
        ArrowTechLevel = SCIENCE_ONE,
        GoldArrowLog_req = 1,
        GoldArrowFeather_req = 1,
        GoldArrowHead_req = 1,
        GoldArrowCraftAmount = 6,
        GoldArrowTechLevel = MAGIC_TWO,
        GoldArrowDmgMod = 1.75,
        GoldArrowRecoveryMod = 0.7,
        MoonstoneArrowLog_req = 1,
        MoonstoneArrowFeather_req = 1,
        MoonstoneArrowHead_req = 1,
        MoonstoneArrowCraftAmount = 2,
        MoonstoneArrowTechLevel = MAGIC_TWO,
        MoonstoneArrowDmgMod = 2.25,
        FireArrowLog_req = 1,
        FireArrowFeather_req = 1,
        FireArrowGrass_req = 1,
        FireArrowHeadType = charcoal,
        FireArrowHead_req = 1,
        FireArrowCraftAmount = 6,
        FireArrowTechLevel = SCIENCE_TWO,
        FireArrowDmgMod = 1.5,
        IceArrowLog_req = 1,
        IceArrowFeather_req = 1,
        IceArrowHeadType = ice,
        IceArrowHead_req = 1,
        IceArrowCraftAmount = 6,
        IceArrowTechLevel = SCIENCE_TWO,
        IceArrowDmgMod = 0.8,
        ThunderArrowLog_req = 1,
        ThunderArrowFeather_req = 1,
        ThunderArrowHeadType = lightninggoathorn,
        ThunderArrowHead_req = 1,
        ThunderArrowCraftAmount = 6,
        ThunderArrowTechLevel = SCIENCE_TWO,
        ThunderArrowDmgMod = 0.55,
        LightningRodChargesNum = 10,
        BoltLog_req = 1,
        BoltFeather_req = 1,
        BoltHeadType = stinger,
        BoltHead_req = 2,
        BoltCraftAmount = 6,
        BoltTechLevel = SCIENCE_ONE,
        PoisonBoltLog_req = 1,
        PoisonBoltFeather_req = 1,
        PoisonBoltRedCap_req = 1,
        PoisonBoltHeadType = stinger,
        PoisonBoltHead_req = 2,
        PoisonBoltCraftAmount = 6,
        PoisonBoltTechLevel = SCIENCE_ONE,
        PoisonBoltDmgMod = 0.75,
        PoisonBoltDuration = 10,
        ExplosiveBoltLog_req = 1,
        ExplosiveBoltFeather_req = 1,
        ExplosiveBoltMosquitoSack_req = 1,
        ExplosiveBoltHeadType = gunpowder,
        ExplosiveBoltHead_req = 2,
        ExplosiveBoltCraftAmount = 6,
        ExplosiveBoltTechLevel = SCIENCE_TWO,
        ExplosiveBoltRadius = 4,
        ExplosiveBoltExpDmg = 90,
        MusketBulletType = mnzironore,
        MusketBulletHead_req = 1,
        MusketBulletGP_req = 1,
        MusketBulletCraftAmount = 8,
    }
}, -- Archery
    ["workshop-479169756"] = { enabled = true }, -- Wynn the Enviro
    ["workshop-469134741"] = { enabled = false }, -- Winnie
    ["workshop-463740026"] = { enabled = true }, -- Personal Chester
    ["workshop-458587300"] = { enabled = true ,
    configuration_options =
    {
        Travel_Cost = 32
        Ownership = false
        }
}, -- Fast Travel
    ["workshop-447092740"] = { enabled = true }, -- More Action
    ["workshop-441957490"] = { enabled = false }, -- Horo the WiseWolf
    ["workshop-444235588"] = { enabled = true ,
    configuration_options =
    {
        deluxeFirepitBurnRate = 0.75,
        deluxeEndoFirepitBurnRate = 0.75,
        iceStarBurnRate = 0.9,
        heatStarBurnRate = 0.9,
        recipeCost = standard,
        dropLoot = yes,
        endoDropLoot = yes,
        iceStarDropLoot = yes,
        heatStarDropLoot = yes,
        starsSpawnHounds = no,
        }
}, -- Deluxe Campfire
    ["workshop-356435289"] = { enabled = true ,
    configuration_options =
    {
        fishfarmrecipe = hard,
    }
}, -- DST Fishfarm
    ["workshop-422659100"] = { enabled = true ,
        configuration_options =
    {
        Traget_Option = 1,
        }
}, -- Fear of gnomes
    ["workshop-392369197"] = { enabled = false }, -- Whandler
    ["workshop-385006082"] = { enabled = true ,
    configuration_options =
    {
        path_lightrecipe = normal,
        "" = 0,
        light_color = color1,
        "" = 0,
        FueledLights = no,
    }

}, -- Path Of Light
    ["workshop-369435452"] = { enabled = false }, -- Wolf
    ["workshop-353697884"] = { enabled = true }, -- CraftableGear
    ["workshop-404161345"] = { enabled = true ,
        configuration_options =
    {
        Ownership = Public,
        Share_Container = true,
        Drop_Content = true,
        Allow_Harvesting = true,
        Share_Equipments = true,
        Fortify_Building = 0,
         Player_Trap = false,
        }
}, -- Ownership
    ["workshop-380366899"] = { enabled = false }, -- SetCustomText
    ["workshop-398858801"] = { enabled = true ,
    configuration_options =
    {
        afk_time = 120,
        max_afk_time = 1800,
        max_afk_action = 2,
        host_immunity = true,
        hunger_decrease = true,
        stop_death = true,
    }
}, -- AFKDetection
    ["workshop-400461720"] = { enabled = false }, -- Growlie
    ["workshop-421029894"] = { enabled = false }, -- Caitlinn
    ["workshop-395420686"] = { enabled = true }, -- Charlie
    ["workshop-375027081"] = { enabled = true ,
    configuration_options =
    {
        INCREASEBACKPACKSIZES_BACKPACK = true,
        INCREASEBACKPACKSIZES_PIGGYBACK = true,
        INCREASEBACKPACKSIZES_KRAMPUSSACK = true,
        LARGERSTORAGECHESTS = false,
      }
}, -- Morestorage
    ["workshop-394605741"] = { enabled = false }, -- PLague Doc
    ["workshop-372539653"] = { enabled = false }, -- Take Ur Time
    ["workshop-381565292"] = { enabled = true }, -- Waiter
    ["workshop-404983266"] = { enabled = true }, -- PickleIt
    ["workshop-422744946"] = { enabled = true }, -- Walter
    ["workshop-426769055"] = { enabled = true ,
    configuration_options =
        enable_light_near_respawnportal = 1,
        disable_skeleton_collision = 0,
        remove_skeleton_on_death = 0,
        disable_revive_penalty_onrespawn = 0,
    }
}, -- TheLightMod
    ["workshop-430424851"] = { enabled = false }, -- Wishes the Cottonheart
    ["workshop-430224994"] = { enabled = true ,
    configuration_options =
    {
        GollumHealth = 140,
        GollumSanity = 160,
        GollumHunger = 140,
        GollumHungerDrop = 0.8,
        GollumSpeed = 7.8,
        GollumDamage = 0.75,
        RingPenalty = -(100/90),
        chance_of_drop = 0.2,
    }        
}, -- Gollum
    ["workshop-418604101"] = { enabled = false }, -- Steampunk
    ["workshop-375859599"] = { enabled = true ,
    configuration_options =
    {
        show_type = 0,
        divider = 5,
        }
}, -- Healthinfo
    ["workshop-366048578"] = { enabled = true }, -- Devon the Hunter
    ["workshop-370373189"] = { enabled = true ,
    configuration_options =
    {
        greenhouserecipe = normal,
        "" = 0,
        b_seeds = yes,
        "" = 0,
        W_Grow = yes,
    }
}, -- AdvancedFarming
    ["workshop-369119192"] = { enabled = true ,
    configuration_options =
    {
        WEAPON_DURABILITY = 1.25,
        ARMOR_DURABILITY = 1.25,
        STAFF_DURABILITY = 1.25,
        AMULET_DURABILITY = 1.25,
        TOOL_DURABILITY = 1.25,
        TRAP_DURABILITY = 1.25,
        CLOTHING_DURABILITY = 1.25,
        LIGHT_DURABILITY = 1.25,
    }
}, -- TweakThoseTools
    ["workshop-357875628"] = { enabled = true ,
    configuration_options =
    {
        Wall Gates Version = recolored,
        Wall Gates Recipe = gears,
    }    
}, -- WallGates
    ["workshop-356398534"] = { enabled = true }, -- PickyPickyPick
    ["workshop-343762271"] = { enabled = true }, -- MoreDSTChar
    ["workshop-345692228"] = { enabled = true ,
    configuration_options =
    {
        Minimap Size = 0.225,
        Position = top_right,
        Horizontal Margin = 235,
        Vertical Margin = 25,
    }
}, -- minimap
    ["workshop-388899745"] = { enabled = false }, -- White
}

Whats wrong that the Server can't load / enable the mods? :<

Greetings
A Don't Starve Fanatic Player! :o
 

Link to comment
Share on other sites

1. Make sure your modoverrides file is actually a .lua and not a .txt. Check the file properties to make sure it's .lua because it might just be modoverrides.lua.txt since your file explorer might have extensions hidden.

2. Did you properly do the dedicated_server_mods_setup.lua?

3. If both files are correct then try just enabling 1 mod first to your modoverrides.lua to check if it is working. There's always a chance that maybe one of the mods or a combination of mods is not making it work.

4. If neither works you can do the forcenable option in the modsettings.lua

 

Link to comment
Share on other sites

@Ragnarr, I could be wrong entirely, but I believe there is a syntax error with your modoverrides.lua. The configuration_options for the TheLightMod is missing an opening bracket "{".

 

I'd suggest using notepad++ for configuring lua files, it definitely makes diagnosing them much easier. I hope that helps, cheers.

Link to comment
Share on other sites

First thanks for the fast reply

Yes it is a .lua file and not just txt ^^

And the .lua file are in both folders

About the dedicated server.lua

 

 

--There are two functions that will install mods, ServerModSetup and ServerModCollectionSetup. Put the calls to the functions in this file and they will be executed on boot.

--ServerModSetup takes a string of a specific mod's Workshop id. It will download and install the mod to your mod directory on boot.
    --The Workshop id can be found at the end of the url to the mod's Workshop page.
    --Example: http://steamcommunity.com/sharedfiles/filedetails/?id=350811795
    --ServerModSetup("350811795")

--ServerModCollectionSetup takes a string of a specific mod's Workshop id. It will download all the mods in the collection and install them to the mod directory on boot.
    --The Workshop id can be found at the end of the url to the collection's Workshop page.
    --Example: http://steamcommunity.com/sharedfiles/filedetails/?id=379114180
    --ServerModCollectionSetup("379114180")

--skip_update_server_mods

ServerModSetup("507858702") -- Magical Chest
ServerModSetup("514758022") -- World Regrowth
ServerModSetup("509723993") -- Wall Health Reg
ServerModSetup("542388187") -- Mysterious Wanderer
ServerModSetup("503919639") -- Equiptment Switcher
ServerModSetup("545653509") -- Glimmer
ServerModSetup("554999204") -- Dolls
ServerModSetup("377308875") -- Meowka
ServerModSetup("387593739") -- Wisp Wynter
ServerModSetup("412291722") -- Icefling Range Check
ServerModSetup("362906105") -- Sticky Receipe
ServerModSetup("522117250") -- Birds and Berries
ServerModSetup("396026892") -- Large Chest
ServerModSetup("386087632") -- Golden Spear
ServerModSetup("362022168") -- Respawnable Gears
ServerModSetup("487503466") -- Wodnik
ServerModSetup("539045984") -- Matches
ServerModSetup("519565609") -- Wolfram
ServerModSetup("362175979") -- Wormhole Mark
ServerModSetup("378160973") -- Global Position
ServerModSetup("488018406") -- Break Ice
ServerModSetup("516523980") -- Mining Machine
ServerModSetup("506204512") -- 8 Faces Fences
ServerModSetup("496249680") -- API Slot
ServerModSetup("459280938") -- Complete ur Map
ServerModSetup("466732225") -- Thermal Stone Fix
ServerModSetup("458338650") -- Withers The Undead Treant
ServerModSetup("463919131") -- Wilton the Skeleton
ServerModSetup("508739792") -- Sentry Mod
ServerModSetup("488009136") -- Archery
ServerModSetup("479169756") -- Wynn, the Environmentalist
ServerModSetup("469134741") -- Winnie
ServerModSetup("463740026") -- Personal Chester
ServerModSetup("458587300") -- Fast Travel
ServerModSetup("447092740") -- More Actions
ServerModSetup("441957490") -- Horo the Wise Wolf
ServerModSetup("444235588") -- Deluxe Campfire
ServerModSetup("356435289") -- DST Fishfarm
ServerModSetup("388899745") -- White
ServerModSetup("422659100") -- Fear of Gnomes
ServerModSetup("392369197") -- Whandler
ServerModSetup("385006082") -- Path Light
ServerModSetup("369435452") -- Wolf
ServerModSetup("353697884") -- Craftable Gear
ServerModSetup("404161345") -- Ownership
ServerModSetup("380366899") -- Custom Text
ServerModSetup("398858801") -- AFK Detection
ServerModSetup("400461720") -- Growlie
ServerModSetup("421029894") -- Caitlin the Ophelia
ServerModSetup("387716835") -- Aquarium
ServerModSetup("395420686") -- Charlie
ServerModSetup("375027081") -- More Storage
ServerModSetup("394605741") -- Plague Doctor Wilrick
ServerModSetup("372539653") -- Take ur Time
ServerModSetup("381565292") -- Waiter
ServerModSetup("404983266") -- Pickle It
ServerModSetup("422744946") -- Walter
ServerModSetup("426769055") -- The Light Mod
ServerModSetup("430424851") -- Wishes the Cotton Heart
ServerModSetup("430224994") -- Gollum
ServerModSetup("418604101") -- Steampunk
ServerModSetup("375859599") -- Healthinfo
ServerModSetup("366048578") -- Devon the Hunter
ServerModSetup("370373189") -- Advanced Farming
ServerModSetup("369119192") -- Tweak those tools
ServerModSetup("357875628") -- Wall Gates
ServerModSetup("356398534") -- PickyPickyPick
ServerModSetup("343762271") -- More DST Char
ServerModSetup("345692228") -- minimap




 

Is this fine? or did i miss something?


The Mods could download properly and are in the specific folder
I also tried to run the server with just 2 mods (and it worked) but this was a other .lua file before someting went totally wrong and i needed to "reinstall everything of the Tool"

I've bringed it work 1-2 times but since adding alot of more to it and also bringing caves into game D: that was a "few hours" just typing the archery Mod stuff made me loss my sanity fast @.@

Well i will try to enablew just a few mods to test if the .lua file itself is working or not :o

Link to comment
Share on other sites

Finally i've found out which mods was the cause why the server couldn't enabled the mods...

But now i have aother problem:....

When i try to connect on my server i can choose which character i want
But after hitting the join/enter button
The Master Server crashes down.... (the CMD Window Box just closes automaticly right after i joined

And the Slave Server tells me Connection lost to Master

What could be the reason?

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.