Jump to content

failed to load modoverrides.lua


Recommended Posts

i used this guys guide on adding mods to my dedicated server though my script says failed to load modoverrides.lua and my server shows up as unmodded

this is the modoverride.lua file placed in DoNotStarveTogetherDedicated's master folder  

For basic settings:
return {
--#Gesture Wheel
["workshop-352373173"] = { enabled = true},

--#Minimap HUD
["workshop-345692228"] = { enabled = true},

--#Throwable Spears
["workshop-354415247"] = { enabled = true},

--#No More Respawn Penalty
["workshop-356420397"] = { enabled = true},

--#Bee Nice
["workshop-361994110"] = { enabled = true},

--#Health Info
["workshop-375859599"] = { enabled = true},

--#Loot-Chance Modifier
["workshop-376108724"] = { enabled = true},

--#Combined Status
["workshop-376333686"] = { enabled = true},

--#Global Positions
["workshop-378160973"] = { enabled = true},

--#Chester Recipe
["workshop-379619995"] = { enabled = true},

--#The Medic
["workshop-379628839"] = { enabled = true},

--#Large Chest
["workshop-396026892"] = { enabled = true},

--#Configurable Overheating
["workshop-458434343"] = { enabled = true},

--#Food Values - Item Tooltips (Server and Client)
["workshop-458940297"] = { enabled = true},

--#Buffed Pets!
["workshop-483347719"] = { enabled = true},

--#No Fire Spread
["workshop-502726294"] = { enabled = true},

--#Realistic Placement
["workshop-551324730"] = { enabled = true},

--#Campfire Respawn
["workshop-569043634"] = { enabled = true},

--#The Spy
["workshop-589167205"] = { enabled = true},

--#Namworth The Useless
["workshop-613281106"] = { enabled = true},

--#Storeroom
["workshop-623749604"] = { enabled = true},

--#invincible Chester
["workshop-625407906"] = { enabled = true},

--#Infinite Tent Uses
["workshop-632081886"] = { enabled = true},

--#Plantable Plantables IN TESTING
["workshop-662683150"] = { enabled = true},

--#Shipwrecked Characters
["workshop-697356989"] = { enabled = true},

--#Maxwell's Phonograph
["workshop-704495354"] = { enabled = true},

--#Craft Pot
["workshop-727774324"] = { enabled = true},

--#Change Characters
["workshop-788825160"] = { enabled = true},

--#The Engineer
["workshop-791838548"] = { enabled = true},

--#More Sculptures
["workshop-798539671"] = { enabled = true},

--#Animal Variety
["workshop-804108151"] = { enabled = true},

--#[API] Modded Skins
["workshop-835602689"] = { enabled = true},

--#Better pet
["workshop-849986686"] = { enabled = true},

--#Chester For Everyone!
["workshop-862195447"] = { enabled = true},

--#Fix For Too Many Items
["workshop-881455419"] = { enabled = true},

--#Renewable Graves
["workshop-894593657"] = { enabled = true},

--#Configurable Madeleine DST
["workshop-915839640"] = { enabled = true},

--#New Old Bell
["workshop-921583679"] = { enabled = true},

--#Mandrake Respawn
["workshop-959771965"] = { enabled = true},

--#The Scout
["workshop-1049176456"] = { enabled = true},

--#Better Balanced Woodie
["workshop-1053730771"] = { enabled = true},

--#Moving Box
["workshop-1079538195"] = { enabled = true},

--#Follower Badges Together (Updated)
["workshop-1139327644"] = { enabled = true},

--#Epic Healthbar
["workshop-1185229307"] = { enabled = true},

--#Ya like jazz?
["workshop-1197699346"] = { enabled = true},

--#Eternal Glowcaps & Mushlights
["workshop-1242093526"] = { enabled = true},

--#Mob Balancer (Fork)
["workshop-1261034072"] = { enabled = true},

--#Craftable Gravestones
["workshop-1284834406"] = { enabled = true},

--#Nightmare phase indicator
["workshop-1298780476"] = { enabled = true},

--#Craftable Fireflies
["workshop-1304348276"] = { enabled = true},

--#Potted Plants (DST)
["workshop-1311366056"] = { enabled = true},

--#Basements
["workshop-1349799880"] = { enabled = true},

--#[Fix] Beards Wilson
["workshop-1379703510"] = { enabled = true},


--#jerry
["workshop-1382693153"] = { enabled = true}
} 

(sorry about the formatting i'm new here)

Link to comment
Share on other sites

Also double check for whether it actually is a .LUA file and not a .lua.TXT file. If you aren't sure, then just open the file again then click File > Save As > Enter to filename: modoverrides.lua > Set Save as type: to "All types (*.*)" > Save.

Link to comment
Share on other sites

they are placed in the overworld and caves folder in documents, they are also both lua files and have the s at the end

36 minutes ago, Zillvr said:

Also double check for whether it actually is a .LUA file and not a .lua.TXT file. If you aren't sure, then just open the file again then click File > Save As > Enter to filename: modoverrides.lua > Set Save as type: to "All types (*.*)" > Save.

It is a lua file

40 minutes ago, Daniel86268 said:

Just to make sure, you named your file modoverrides.lua, right? Because modoverride.lua wouldn't work.

It has the s at the end

41 minutes ago, Zillvr said:

Hello @violet_anon, welcome to the forums. Did you place it in the correct location in your server files in the Documents folder? The modoverrides.lua file should be placed inside the Master and Caves folders.

i placed them in there too

Link to comment
Share on other sites

Just now, Daniel86268 said:

Are you running it on a Linux machine? If so check if the user that runs the DST server has reading permissions (Not sure if other permissions are needed as well) on the modoverrides.lua file.

Its windows

Link to comment
Share on other sites

@violet_anon you manually created this modoverrides.lua file correct? How about we try and let the game create the modoverrides.lua for you. To do this, follow instructions below:

  • Open DST
  • Click Play, Click Host Game
  • In New World Slot #1, select any playstyle.
  • Click Mods tab, then click Server Mods.
  • Enable all Server Mods you want enabled.
  • Once enabled, Generate World.
  • Upon entering world, exit world.
  • Close DST.
  • In windows explorer, go to Documents\Klei\DoNotStarveTogether\Cluster_1\Master (Cluster_1 if you made the world in Slot #1 from the Host Game screen. Cluster_2 if you used Slot #2 instead and so on.)
  • Copy modoverrides.lua
  • Paste inside the Master folder of your own dedicated server.
  • Done.

Try that, and see if it doesn't fail. Be sure your dedicated server is closed before copying over files.

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...