Don't Starve Together

Don't Starve Together

Shard Configuration Mod
133 Comments
alanoid 24 Dec, 2020 @ 11:58pm 
when I connect the shards like this, ["1"] = { "2", "2", "2", "2", "2", "2", "2", "2", "2", "2", "3" }
2 = caves, 3 = second overworld, the 11th portal in the first overworld goes to the first portal in the second overworld. What I actually want is the 11th portal in the first to connect to the 11th portal in the second. Can anyone help?
TheVoid 4 Apr, 2020 @ 6:08pm 
Thanks for this gem of a mod. I wouldn't have probably realised I could build my multiverse without it. Took me a while to configure everything properly, but that's part of the fun.
WhiskerMeFancy 30 Jan, 2020 @ 6:17pm 
@dead baasura post the exact error message
WhiskerMeFancy 30 Jan, 2020 @ 6:16pm 
@alex Use the link above to go to the forums and download the utility that creates the modoverrides.lua for you.
€on§†an†Ine 8 Jan, 2020 @ 11:13pm 
My 3 shard does not start. In the console, it says that the mod was stopped ((
I can’t understand what I'm doing wrong ...
AlexXsWx 17 Aug, 2019 @ 6:59am 
Hey, could you please explain in more details the numbers you put in configuration_options?
I've got 4 worlds - two sets of upper + caves; I want first upper to have 1 portal to bidirectionally lead to 2nd cave, and have that as only connection between the two sets.
Your example confuses me and I don't understand which numbers I need.
E.g. you write:

["Connections"] = { ["11"] = { "12" } -- bidirectional between 11-12

Does that mean setting up bidirectional connection between world-1-portal-11 and world-1-portal-12 or between world-1-portal-1 and world-1-portal-2? If latter, I assume configuring world-1-portal-10 would be number 110?
Чаpли 21 Jul, 2019 @ 7:44am 
@Rudobni You don't need to use mod features for it... You can use ingame command c_migrateto([number of world]) like c_migrateto(3) for player.... If you want to migrate player 3 to world 5 you just need to do: c_select(AllPlayers[3]) and then c_migrateto(5) or do it one line...
Rudobni 10 Jul, 2019 @ 1:10am 
Hello, is there a command to teleport a player to another shard ingame ?
Thank you for good mod, work perfectly.
Oarc 27 Sep, 2018 @ 11:35am 
I'm having a couple of issues with this mod. If I play with the mod enabled, portals sometimes get deleted infront of my eyes or they don't go to a matching portal. And if I start a fresh server, have a character join to force the link syncing, then disable the mod and restart the server, it works fine up until I restart the server which then loses the links again.

I'm not sure where to post this but if anyone else is seeing similar issues with this mod, or knows things I can try I'd love to hear suggestions.

I am running 6 shards, only using 2-way connections and I used the config utility by the mod author. No shard has more than 10 links in my setup.

The only way I can get this to work is to launch with the mod enabled, generate the links, then restart with the mod disabled and never restart the server again so I don't lose the links...
Чаpли 15 Jul, 2018 @ 3:06am 
@Patrolcus, 1) Do you have 1, 12, 13 ID's on your real server? 2) Try to put one more "," after ["12"] = { "13" } 3) Do you have is_master = true on your main server? 4) Did you add that mod on dedicated_server_mods_setup?
Nuke  [author] 14 Jul, 2018 @ 1:11am 
If you are using this mod and Multi-Worlds DST at the same time that could be your problem. Multi-Worlds DST have more or less a copy of my code so if it's configured differently it may clash with my mod.
Patroclus 13 Jul, 2018 @ 4:43pm 
@Nuke , thank you for the response, and yes, i followed that to the tee but yet the wormholes and sinkholes do not work as intended. If i figure out how to do it and fix my issue, ill make sure to leave a comment on what i did for anyone else having a similar issue. I will get this to work if people can confirm it still works.
Patroclus 13 Jul, 2018 @ 4:42pm 
@Чapли server.ini
[NETWORK]
server_port = 10999


[SHARD]
is_master = false
id = 13


[STEAM]
master_server_port = 27020
authentication_port = 8770


[ACCOUNT]
encode_user_path = true

mod overides
return {

["workshop-595764362"] = {
enabled = true,
configuration_options = {
["Connections"] = { -- this must be same in every shard
["1"] = { "12", "12" }, -- I want 2 connection between world "1" and "12"
["11"] = { "12" },
["12"] = { "13" } -- return connection between worlds "12" and "1" is not needed, mod is taking care of that
}
}
}, **followed by my other mods. No other world mods exist except for the multi-worlds mod
Чаpли 13 Jul, 2018 @ 3:05am 
@Partoclus , can I see your modoverrides files and your server.ini files?
Nuke  [author] 12 Jul, 2018 @ 12:16pm 
@Patroclus and everyone else who is seeking help with configuration of this mod:

I'm sorry, I'm out of the loop of DST modding for a long while. I would suggest you look at https://forums.kleientertainment.com/files/file/1413-shard-configuration-mod/ . I recall updating it when I updated this mod last time. Check out prepared DefaultCluster.zip that hopefully still works.

If that fails you can try PM some of people in this comment section. Probably @Чapли.

Last hope would be modmakers of mod "Multi-Worlds DST" published by Joachim. They have my mod integrated in their mod and they should have experience with shard configuration.

Otherwise I'm afraid I can't help you :(
Patroclus 11 Jul, 2018 @ 6:37pm 
i downloaded the mod, did everythin as instructed, and now none of my portals work. I followed this guide as well (https://forums.kleientertainment.com/topic/59174-understanding-shards-and-migration-portals/) along with your guide here (https://gist.github.com/Atria1234/f3c022915d92c584681e#file-mod-setup) and nothing seems to work. I have set up multiple dedicated servers in the past, all work wonderfully with caves, but trying to set-up a 4 world shard just is not working. I can start it up, use the command (c_migrateto(worldId, portalId)) to teleport to each world, but I can not get the wormholes or caves to work. Please help
danger noodle 2 18 Jun, 2018 @ 12:02am 
dafq
Чаpли 25 Aug, 2017 @ 8:58am 
@Cunning fox that's just your stupidity :) Disable sinc and enjoy :)
CunningFox 25 Aug, 2017 @ 8:29am 
Hello! I'm using your awesome mod on Multi taste starvation server, and I have some trouble. Sometimes some players while trying to connext to the 3rd world are crashing and loosing their characters. I found something in my log (see MTS server error)
Nuke  [author] 18 Aug, 2017 @ 5:59am 
You are second person reporting it. It doesn't seem to be done by my mod. I don't have any idea why it happens, probably some internal DST process that invalidates connection my mod makes. Server restart should fix it. I know that's not a good solution, it's just best solution I have at this point.
bugavka 17 Aug, 2017 @ 10:12pm 
After they have already been used many times
bugavka 17 Aug, 2017 @ 10:11pm 
Why some cave entrance close themselves?
Nuke  [author] 5 Aug, 2017 @ 2:42pm 
If there is some event i can listen to then it should be easy....
Чаpли 5 Aug, 2017 @ 3:57am 
Yap, same issue when c_regenerateworld(), need to stop start server after that for mod work. But it is not big problem, imho
bugavka 5 Aug, 2017 @ 2:18am 
without restart does not work out? in future maybe? )
Nuke  [author] 4 Aug, 2017 @ 11:17pm 
A server restart should fix that.
bugavka 4 Aug, 2017 @ 10:41pm 
Hi, after a rollback of the world shard portals are not synchronized. This is only my mistake?
Nuke  [author] 29 Jul, 2017 @ 12:09pm 
Crash caused by SyncWithMaster config is now fixed. Thanks @Чapли for server to test on.
JustaCPA 27 Jul, 2017 @ 4:21pm 
I am having a similar issue as the user below. I have added to the discussion started July 24 and posted an excerpt of the error log from one of the slave shards.
Чаpли 24 Jul, 2017 @ 6:19am 
So strange errors everywhere except first world. Near 100% use of threads in other worlds and worlds go off with such error when anybody comes. I will create discuss for you now with logs
76561198117594248 17 Jul, 2017 @ 5:55am 
thx:steammocking:
Nuke  [author] 15 Jul, 2017 @ 10:29pm 
@pinkmollies My worldgen and shard config util is out of date. I will not update worldgen part because it's too much of a hassle to update it every time DST gets a update. I will update shard config part to enable one way portals but that will be it.

About multi world mod. I'm not included in development of that mod so I dont really know how it works but Flying teapot is working on fixing it. So best solution I can recommend is wait for him to finish.
pinkmollies 15 Jul, 2017 @ 6:07pm 
@Nuke, hi thanks for sharing your mod !

Im trying to figure out how to edit the worldgen for each shard for the multi-world mod. But feeling a lil lost, I tried the turtorial in the description but im not sure how to edit multiple worldgens and how to connect the shards
Nuke  [author] 13 Jul, 2017 @ 5:47am 
I was getting a lot of people from around china telling me that they couldn't download it. Sure, post it there!
76561198117594248 12 Jul, 2017 @ 9:53pm 
TGP is a Chinese company,tencent
Nuke  [author] 10 Jul, 2017 @ 10:41am 
What do you mean?
花花桃子狸 10 Jul, 2017 @ 9:01am 
Two archives of the server have been destroyed twice
Nuke  [author] 10 Jul, 2017 @ 8:50am 
There wouldnt be any crash, it would just do nothing.
Чаpли 10 Jul, 2017 @ 8:11am 
Thanks. But I started your mod morning and there is no crash...
Nuke  [author] 10 Jul, 2017 @ 8:10am 
I also had error in preconfigured cluster, also fixing it.
Nuke  [author] 10 Jul, 2017 @ 8:08am 
Yes, if you set DeleteUnused to true, all migration portal that are not used will be deleted.

I just figured out that i failed to publish modmain.lua so my mod was broken. Fixing it now.
Чаpли 10 Jul, 2017 @ 3:49am 
Hi, what do "DeleteNotUsed" setting? Is it fot full delete unused sinkholes and stairs?
76561198117594248 5 Jul, 2017 @ 4:52pm 
Can I add this mod to TGP workshop?I really need your help:steammocking:
Nuke  [author] 27 Jun, 2017 @ 11:46am 
Yeah, adding delay to your batch file didnt occur to me. That should work just fine.
Чаpли 27 Jun, 2017 @ 9:56am 
it CAN NOT be manual, i said. I didn't say that IT MUST be not manual.... :) Ok, i just can say for you in other words: It is not HAVE to be manual...
JustaCPA 27 Jun, 2017 @ 9:48am 
Your comment just contradicted nukes. You say is it cannot be manual when nuke says it must.

Чаpли 26 Jun, 2017 @ 10:34pm 
As said Nuke, just restart it with delay. It can be not manual, just like this part of batch file:

screen -d -m -S "dst_1forrest1" /home/dst/starts/1forrest1
sleep 10

screen -d -m -S "dst_2cave1" /home/dst/starts/2cave1
sleep 10

screen -d -m -S "dst_3forrest2" /home/dst/starts/3forrest2
sleep 10


or, in windows you can use
start instead of screen to open servers in new console windows...
easy way to make delay in windows is :

ping 127.0.0.1 -n 4





Nuke  [author] 26 Jun, 2017 @ 9:07pm 
yes. stop all servers and go into their folders and delete save folder. Then instead of starting servers with some batch file you will need to open command prompt and type command to start first server, then open another command prompt and start second server and so on.
JustaCPA 26 Jun, 2017 @ 3:21pm 
So when you say "... delete generated world and start servers manually", what do you mean by 'manually restart' i.e. as opposed to what?

I am assuming the deletion would be done only after the world is shutdown and that restarting is done by running the batch file. Is that what you mean by manual? I guess I don't know how to 'automatically' start a world.
Nuke  [author] 26 Jun, 2017 @ 1:04pm 
Easiest and cleanest solution would be to delete generated world and start servers manually with some delay so seed will be different.
It that is not possible then I would try regenerate desired worlds and restart servers. My mod should connect worlds on next start up. I don't know it that will work but it should since it will be as if you just changed mod settings between server restarts and that works as far as I know.