willowillow Posted August 20, 2025 Report Posted August 20, 2025 I can't find where to change the world height for a dedicated server, the wiki page for world generation settings notes that its set at world creation, but don't explain or link to how. I found a MapSizeY value in serverconfig.json, but after changing it to 350 and deleting the world to regenerate I started receiving errors which disappeared when it was changed back. The errors received are here: 20.8.2025 21:12:09 [Server Worldgen] An error was thrown in pass TerrainFeatures when generating chunk column X=16007,Z=16018 in world 'A new world' with seed 151401547 Exception System.IndexOutOfRangeException: Index was outside the bounds of the array. at Vintagestory.ServerMods.DiscDepositGenerator.GenDeposit(IBlockAccessor blockAccessor, IServerChunk[] chunks, Int32 chunkX, Int32 chunkZ, BlockPos depoCenterPos, Dictionary`2& subDepositsToPlace) in C:\Users\Tyron\Documents\vintagestory\game\VSSurvivalMod\Systems\WorldGen\Standard\ChunkGen\5.GenDeposits\Generators\DiscGenerator.cs:line 213 at Vintagestory.ServerMods.GenDeposits.GenDeposit(IServerChunk[] chunks, Int32 chunkX, Int32 chunkZ, BlockPos depoCenterPos, DepositVariant variant) in C:\Users\Tyron\Documents\vintagestory\game\VSSurvivalMod\Systems\WorldGen\Standard\ChunkGen\5.GenDeposits\GenDeposits.cs:line 247 at Vintagestory.ServerMods.GenDeposits.GeneratePartial(IServerChunk[] chunks, Int32 chunkX, Int32 chunkZ, Int32 chunkdX, Int32 chunkdZ) in C:\Users\Tyron\Documents\vintagestory\game\VSSurvivalMod\Systems\WorldGen\Standard\ChunkGen\5.GenDeposits\GenDeposits.cs:line 203 at Vintagestory.ServerMods.GenPartial.GenChunkColumn(IChunkColumnGenerateRequest request) in C:\Users\Tyron\Documents\vintagestory\game\VSSurvivalMod\Systems\WorldGen\Standard\GenPartial.cs:line 38 at Vintagestory.Server.ServerSystemSupplyChunks.runGenerators(ChunkColumnLoadRequest chunkRequest, Int32 forPass) in C:\Users\Tyron\Documents\vintagestory\game\VintagestoryLib\Server\Systems\World\LoadThread\SupplyChunks.cs:line 1854 20.8.2025 21:13:25 [Server Warning] Error when testing to spawn entity shiver-surface at position X=512018,Y=322,Z=512007, can report to dev team but otherwise should do no harm. 20.8.2025 21:13:25 [Server Error] Exception: Index was outside the bounds of the array. at Vintagestory.Server.ServerSystemEntitySpawner.CanSpawnAt_offthread(EntityProperties type, Vec3i spawnPosition, RuntimeSpawnConditions sc, IWorldChunk[] chunkCol) in VintagestoryLib\Server\Systems\World\EntitySpawner.cs:line 585
gilt-kutabe Posted August 21, 2025 Report Posted August 21, 2025 @willowillow When creating a new world, it’s found underneath the world name but above all the other settings, on all tabs except for the one for game mode.
xXx_Ape_xXx Posted August 21, 2025 Report Posted August 21, 2025 MapSizeY is found in two separate locations in the serverconfig.json file, make sure to set both to the same value before creating the world.
willowillow Posted September 14, 2025 Author Report Posted September 14, 2025 sorry for necroposting, been busy I found both of the MapSizeY in the serverconfig file, but it don't fix the error, I left both set to 350 anyways and it only caused lag and crashes, changing it back to default fixed it. I can't change it when creating a new world as I'm running a dedicated server and I don't have a ui to set initial world settings. Thanks!
Recommended Posts