Generating a Custom World in Dont Starve Together

From Citadel Servers Wiki
Revision as of 15:19, 19 July 2019 by Alvin singco s (talk | contribs) (Created page with "<div style="text-align: center;"><br /><br /><span style="font-size: large;">This article will show you how to create a custom world in Don't Starve Together.</span></div> <di...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


This article will show you how to create a custom world in Don't Starve Together.
 
 Step 1:
 
If your server is running, Stop your server from running first of all.
 
 
Currently, existing worlds use the default Don't Starve Together template, you will need to delete all older worlds.

To do this, you need to delete your /save/ folder, this is located in: ServerFiles/DoNotStarveTogether/Save
 

You can delete this in the "file manager"
 in your game panel. As shown in this image:


 
Dont-starve-together-citadel-servers-game-panel-file-manager.jpg
 
 

You can see the directories to change, You want to click the Checkbox next to "save" folder and click "Delete" above that.

This will remove this folder.

 
Dont-starve-together-citadel-servers-game-panel-file-manager-edit-server-token-file.jpg 


 
Step 2: 

 
The next step is to edit your "worldgenoverride.lua" file, this can be found in the "configuration files". As shown in the image:

 

Citadel-servers-game-dont-starve-together-config-files.jpg


 
Once there, find "ServerFiles\DoNotStarveTogether\worldgenoverride.lua"
 
Click on "Text Editor" for it to edit its text.
 
Copy and paste the following template into the file:
 

return {
override_enabled = true,
preset = SURVIVAL_TOGETHER, -- "SURVIVAL_TOGETHER", "MOD_MISSING", "SURVIVAL_TOGETHER_CLASSIC", "SURVIVAL_DEFAULT_PLUS", "COMPLETE_DARKNESS", "DST_CAVE", "DST_CAVE_PLUS"
overrides = {

-- MISC
task_set = "default", -- "classic", "default", "cave_default"
start_location = "default", -- "caves", "default", "plus", "darkness"
world_size = "medium", -- "small", "medium", "default", "huge"
branching = "default", -- "never", "least", "default", "most"
loop = "default", -- "never", "default", "always"
autumn = "default", -- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"
winter = "default", -- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"
spring = "default", -- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"
summer = "default", -- "noseason", "veryshortseason", "shortseason", "default", "longseason", "verylongseason", "random"
season_start = "default", -- "default", "winter", "spring", "summer", "autumnorspring", "winterorsummer", "random"
day = "default", -- "default", "longday", "longdusk", "longnight", "noday", "nodusk", "nonight", "onlyday", "onlydusk", "onlynight"
weather = "default", -- "never", "rare", "default", "often", "always"
earthquakes = "default", -- "never", "rare", "default", "often", "always"
lightning = "default", -- "never", "rare", "default", "often", "always"
frograin = "default", -- "never", "rare", "default", "often", "always"
wildfires = "default", -- "never", "rare", "default", "often", "always"
touchstone = "default", -- "never", "rare", "default", "often", "always"
regrowth = "default", -- "veryslow", "slow", "default", "fast", "veryfast"
cavelight = "default", -- "veryslow", "slow", "default", "fast", "veryfast"
boons = "default", -- "never", "rare", "default", "often", "always"
prefabswaps_start = "default", -- "classic", "default", "highly random"
prefabswaps = "default", -- "default", "none", "few", "normal", "many", "max"

-- RESOURCES
flowers = "default", -- "never", "rare", "default", "often", "always"
grass = "default", -- "never", "rare", "default", "often", "always"
sapling = "default", -- "never", "rare", "default", "often", "always"
marshbush = "default", -- "never", "rare", "default", "often", "always"
tumbleweed = "default", -- "never", "rare", "default", "often", "always"
reeds = "default", -- "never", "rare", "default", "often", "always"
trees = "default", -- "never", "rare", "default", "often", "always"
flint = "default", -- "never", "rare", "default", "often", "always"
rock = "default", -- "never", "rare", "default", "often", "always"
rock_ice = "default", -- "never", "rare", "default", "often", "always"
meteorspawner = "default", -- "never", "rare", "default", "often", "always"
meteorshowers = "default", -- "never", "rare", "default", "often", "always"
mushtree = "default", -- "never", "rare", "default", "often", "always"
fern = "default", -- "never", "rare", "default", "often", "always"
flower_cave = "default", -- "never", "rare", "default", "often", "always"
wormlights = "default", -- "never", "rare", "default", "often", "always"

-- UNPREPARED
berrybush = "default", -- "never", "rare", "default", "often", "always"
carrot = "default", -- "never", "rare", "default", "often", "always"
mushroom = "default", -- "never", "rare", "default", "often", "always"
cactus = "default", -- "never", "rare", "default", "often", "always"
banana = "default", -- "never", "rare", "default", "often", "always"
lichen = "default", -- "never", "rare", "default", "often", "always"

-- ANIMALS
rabbits = "default", -- "never", "rare", "default", "often", "always"
moles = "default", -- "never", "rare", "default", "often", "always"
butterfly = "default", -- "never", "rare", "default", "often", "always"
birds = "default", -- "never", "rare", "default", "often", "always"
buzzard = "default", -- "never", "rare", "default", "often", "always"
catcoon = "default", -- "never", "rare", "default", "often", "always"
perd = "default", -- "never", "rare", "default", "often", "always"
pigs = "default", -- "never", "rare", "default", "often", "always"
lightninggoat = "default", -- "never", "rare", "default", "often", "always"
beefalo = "default", -- "never", "rare", "default", "often", "always"
beefaloheat = "default", -- "never", "rare", "default", "often", "always"
hunt = "default", -- "never", "rare", "default", "often", "always"
alternatehunt = "default", -- "never", "rare", "default", "often", "always"
penguins = "default", -- "never", "rare", "default", "often", "always"
cave_ponds = "default", -- "never", "rare", "default", "often", "always"
ponds = "default", -- "never", "rare", "default", "often", "always"
bees = "default", -- "never", "rare", "default", "often", "always"
angrybees = "default", -- "never", "rare", "default", "often", "always"
tallbirds = "default", -- "never", "rare", "default", "often", "always"
slurper = "default", -- "never", "rare", "default", "often", "always"
bunnymen = "default", -- "never", "rare", "default", "often", "always"
slurtles = "default", -- "never", "rare", "default", "often", "always"
rocky = "default", -- "never", "rare", "default", "often", "always"
monkey = "default", -- "never", "rare", "default", "often", "always"

-- MONSTERS
spiders = "default", -- "never", "rare", "default", "often", "always"
cave_spiders = "default", -- "never", "rare", "default", "often", "always"
hounds = "default", -- "never", "rare", "default", "often", "always"
houndmound = "default", -- "never", "rare", "default", "often", "always"
merm = "default", -- "never", "rare", "default", "often", "always"
tentacles = "default", -- "never", "rare", "default", "often", "always"
chess = "default", -- "never", "rare", "default", "often", "always"
lureplants = "default", -- "never", "rare", "default", "often", "always"
walrus = "default", -- "never", "rare", "default", "often", "always"
liefs = "default", -- "never", "rare", "default", "often", "always"
deciduousmonster = "default", -- "never", "rare", "default", "often", "always"
krampus = "default", -- "never", "rare", "default", "often", "always"
bearger = "rare", -- "never", "rare", "default", "often", "always"
deerclops = "rare", -- "never", "rare", "default", "often", "always"
goosemoose = "rare", -- "never", "rare", "default", "often", "always"
dragonfly = "rare", -- "never", "rare", "default", "often", "always"
bats = "default", -- "never", "rare", "default", "often", "always"
fissure = "default", -- "never", "rare", "default", "often", "always"
worms = "default", -- "never", "rare", "default", "often", "always"
},
}

 
Now you can edit the options, you will see examples for what options you can use, then click save when you are done.
Note: Make sure to not remove the format of the file, (Brackets, commands etc)this will cause the file  to corrupt.
 
Start your server now, if you check the web console for the server you will see it load the worldgenoverride.lua file and state that it's generating a new world.
 
Here is an example of this happening 

(note the top line and stated worldgen line)

 

[00:00:02]: Loaded and applied world gen overrides from ../worldgenoverride.lua
[00:00:02]: WorldSim::SimThread::SimThread()
[00:00:02]: WorldSim::SimThread::SimThread() complete
[00:00:02]: THREAD - started 'WorldSim' (2876)
[00:00:02]: WorldSim::SimThread::Main()
[00:00:02]: DoLuaFile scripts/worldgen_main.lua
[00:00:02]: ModIndex: Load sequence finished successfully.
[00:00:02]: Reset() returning
[00:00:02]: DoLuaFile loading buffer scripts/worldgen_main.lua
[00:00:02]: DLC enabled : false
[00:00:02]: scripts/worldgen_main.lua(77,1) running worldgen_main.lua

[00:00:02]: scripts/worldgen_main.lua(79,1) SEED = 1430519763
[00:00:02]: scripts/worldgen_main.lua(456,1) WORLDGEN PRESET: SURVIVAL_TOGETHER
[00:00:02]: scripts/worldgen_main.lua(464,1) WORLDGEN LEVEL ID: 1
[00:00:02]: scripts/worldgen_main.lua(471,1) 
#######
#
# Generating Normal Mode Together Forever Level
#
#######

[00:00:02]: Creating story...
[00:00:02]: LinkNodesByKeys
[00:00:02]: Baking map... 350
[WorldSimActual::GenerateVoronoiMap]
GenerateVoronoiMap 1: 
[ ]��=
[AddEmptyNodes] 
GenerateVoronoiMap 100: 
[ ]�����������������������������������������������������������������������������������������������������====================================================================================================
[WorldSimActual::GenerateVoronoiMap] complete [success]
[WorldSimActual::ConvertToTileMap]
[ConvertToTileMap]
[WorldSimActual::ConvertToTileMap] complete
[WorldSimActual::SeparateIslands]
[SeparateIslands]
[WorldSimActual::SeparateIslands] complete
[WorldSimActual::ForceConnectivity]
[GenerateLandmasses]
[00:00:04]: Map Baked!
[MergeConnectedLandmasses] 1
[ForceConnectivity]
[ForceValid]
[WorldSimActual::ForceConnectivity] complete
[WorldSimActual::DrawRoads]
[DrawRoads]
[WorldSimActual::DrawRoads] complete 


Questions and Answers


Q: It didn't work?
A: Did you follow the steps exactly and delete you're save folder first?
 
Q: I think my worldgenoverride file is corrupt?
A: You can reinstall your server to get a new one or raise a support ticket and we will give you a template to use.
 
 
Have none of the answers above resolved your issue? Contact support via a ticket.