Jump to content

Problems with Configuring Mods on Pre-Configured Dedicated Servers


Recommended Posts

Hi All,

I've been following the various wiki and forum threads on getting mods to work on your own dedicated servers (specifically the new pre-configured ones provided for the cave updates). I'm having problems with loading the "modoverrides.lua" file that everyone mentions as the final step for getting mods to work. Note that I have copied and pasted the exact same modoverrides.lua from the overworld server folder to the cave server folder in my Documents path. Attached is my dedicated_server_mod_setup.lua, log for my overworld server (just to show the ERROR: Failed to load modoverrides.lua message), and my modoverrides.lua file.

I'm sure I'm just being an idiot and missing something or interpreting something wrong. Forgive my as you can for my first attempt at doing dedicated servers with mods!

modoverrides.lua

dedicated_server_mods_setup.lua

log.txt

Link to comment
Share on other sites

Hey @Mercerjt welcome to the forums. Just checked your modoverrides.lua and double checked the modinfo.lua of the mods that I suspected were the cause of your dedicated server failing to start up with the modoverrides.lua. Seems to me like this is syntax error. Shown below is the corrected modoverrides.lua (here's to hoping I didn't miss anything else):

Spoiler

return {
	["workshop-351325790"] = { enabled = true },
	["workshop-357875628"] = { enabled = true },
	["workshop-361994110"] = { enabled = true },
	["workshop-362175979"] = { enabled = true },
	["workshop-363112314"] = { enabled = true },
	["workshop-363989569"] = { enabled = true },
	["workshop-365119238"] = { enabled = true },
	["workshop-367304592"] = { enabled = true },
	["workshop-374550642"] = { enabled = true },
	["workshop-375859599"] = { enabled = true },
	["workshop-376333686"] = { enabled = true,
		configuration_options = {
			SHOWTEMPERATURE = true,
			SHOWWORLDTEMP = true,
			SHOWTEMPBADGES = true,
			CELSIUS = true,
			SHOWWANINGMOON = true,
			SHOWMOON = 1,
			SHOWNEXTFULLMOON = true,
			PREDICTMOONPHASE = true,
			SEASONOPTIONS = 1,
			}
		},
	["workshop-378160973"] = { enabled = true,
		configuration_options = {
			SHOWPLAYERSOPTIONS = 3,
			SHOWPLAYERICONS = true,
			FIREOPTIONS = 1,
			SHOWFIREICONS = true,
			SHAREMINIMAPPROGRESS = true,
			OVERRIDEMODE = false,
			}
		},
	["workshop-382177939"] = { enabled = true,
		configuration_options = {
			eightxten = "8x10",
			workit = "yep",
			}
		},
	["workshop-385006082"] = { enabled = true },
	["workshop-394612159"] = { enabled = true },
	["workshop-397058315"] = { enabled = true,
		configuration_options = {
			OPT_SPAWN_EVILFLOWER = false,
			}
		},
	["workshop-412291722"] = { enabled = true },
	["workshop-441356490"] = { enabled = true,
		configuration_options = {
			WEAPON_DURABILITY = 5,
			ARMOR_DURABILITY = 5,
			STAFF_DURABILITY = 5,
			AMULET_DURABILITY = 5,
			TOOL_DURABILITY = 5,
			GOLD_DURABILITY = 10,
			TRAP_DURABILITY = 10,
			CLOTHING_DURABILITY = 10,
			LIGHT_DURABILITY = 3,
			CAMPING_DURABILITY = 5,
			BOOK_DURABILITY = 5,
			FOOD_PRESERVATION = 10,
			FOOD_SELECTION = "Preserved",
			DEBUGOPTIONS = "Off",
			}
		}
}

 

What you missed were that the syntax for changing mod config when it comes to full words or words set by the mod creator, they should be enclosed in double apostrophes ("). 

What I changed specifically are as follows:

	["workshop-382177939"] = { enabled = true,
		configuration_options = {
			eightxten = "8x10",
			workit = "yep",
			}
		},
	["workshop-441356490"] = { enabled = true,
		configuration_options = {
			WEAPON_DURABILITY = 5,
			ARMOR_DURABILITY = 5,
			STAFF_DURABILITY = 5,
			AMULET_DURABILITY = 5,
			TOOL_DURABILITY = 5,
			GOLD_DURABILITY = 10,
			TRAP_DURABILITY = 10,
			CLOTHING_DURABILITY = 10,
			LIGHT_DURABILITY = 3,
			CAMPING_DURABILITY = 5,
			BOOK_DURABILITY = 5,
			FOOD_PRESERVATION = 10,
			FOOD_SELECTION = "Preserved",
			DEBUGOPTIONS = "Off",
			}
		}

Try that and report back with your log.txt file if its still happening. I may have missed something important (I hope I didn't). Anyway, I hope that helps, cheers.

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