Jump to content

1.22 Server WorldConfiguration settings in serverconfig.json ignored and/or not updated after changing values in console


Go to solution Solved by coolAlias,

Recommended Posts

Posted

I started up a local server, deleted the initial world save in /Saves, made some changes to serverconfig.json and then ran the server again to generate a new world.

However, it seems only some of the world settings actually work. For example, we started in a warm climate as specified, but there was no grace timer, ore spawn rates and most everything else ended up as the defaults rather than what I specified in the config.

Some such as lung capacity, tool durability, etc. I can change in the server console no problem, but world gen affecting settings like land cover % and ore spawn rates are problematic if they are getting ignored.

Has anyone had success generating a server world with custom values? If so, any idea what I've missed?

  "WorldConfig": {
    "Seed": null,
    "SaveFileLocation": "C:\\Users\\Brian\\AppData\\Roaming\\VintageStoryServerData\\Saves\\default.vcdbs",
    "WorldName": "A new world",
    "AllowCreativeMode": true,
    "PlayStyle": "surviveandbuild",
    "PlayStyleLangCode": "surviveandbuild-bands",
    "WorldType": "standard",
    "WorldConfiguration": {
      "gameMode": "survival",
      "startingClimate": "warm", // worked
      "spawnRadius": 50,
      "graceTimer": 10,
      "deathPunishment": "keep", // worked (I believe, don't recall running the console command)
      "droppedItemsTimer": 600,
      "seasons": "enabled",
      "playerlives": -1,
      "lungCapacity": 60000,
      "daysPerMonth": 9,
      "harshWinters": true,
      "worldClimate": "realistic",
      "landcover": 0.7, // did not work, world still has default 0.975
      "oceanscale": 1,
      "globalDepositSpawnRate": 1.15, // did not work
      "surfaceCopperDeposits": 0.2, // did not work
      "surfaceTinDeposits": 0.01, // did not work
      etc.

 

Posted

Hello!

I had the same thing happen on my hosted server. I ended up looking up the commands on wiki, (I'll link it below) opened the game and typed them into the in-game chat box, then restarted the game/server and it worked. You can't do worldgen settings this way (landcover scale etc...) but the deposit spawn rates and all of that worked! I thought at first it was the server so I contacted the host and they said that this is an issue they've had with this game from other people as well!  Hope this helps! https://wiki.vintagestory.at/List_of_server_commands

Posted
15 minutes ago, ScarlettMozo said:

Hello!

I had the same thing happen on my hosted server. I ended up looking up the commands on wiki, (I'll link it below) opened the game and typed them into the in-game chat box, then restarted the game/server and it worked. You can't do worldgen settings this way (landcover scale etc...) but the deposit spawn rates and all of that worked! I thought at first it was the server so I contacted the host and they said that this is an issue they've had with this game from other people as well!  Hope this helps! https://wiki.vintagestory.at/List_of_server_commands

That's what I did as well, but if the serverconfig.json being mostly ignored isn't just a me problem, then it sounds like a proper bug.

Seems someone reported it on their GitHub page back in 2023 and it is still open, so I've added some further context to hopefully bring it to the devs' attention again.

  • Solution
Posted

Btw, I believe the current solution is to surround all numbers with double quotes, like so:

  "WorldConfig": {
    "WorldConfiguration": {
      "gameMode": "survival",
      "startingClimate": "warm",
      "spawnRadius": "50",
      "graceTimer": "10",
      "landcover": "0.7",
      etc.

 

  • Like 1
  • Thanks 1
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.