Don't Starve Together

Don't Starve Together

141 ratings
Shared Stats
3
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
3.821 KB
Aug 4, 2020 @ 5:44pm
Aug 19, 2020 @ 11:47pm
3 Change Notes ( view )

Subscribe to download
Shared Stats

Description
Tired of having your own stats independent from everyone else? Then this is the mod for you!

Makes health, hunger, and sanity shared across all players on the server.

Wetness is shared too! (must be enabled in configs menu)

You Live Together, You Die Together!


Notes:

The mod works in percentages. For example, if a Wilson has 100/150 health, then a Maxwell in the server would have 50/75. If the Maxwell eats a blue cap, he would gain 20 health, and the Wilson would gain 40.

The overworld and caves are different worlds, the stats won't share between them.

Each player adds to the hunger drain. If there are 10 people, the hunger is going to drain fast.


If you find any issues, please let me know in the comments.
Popular Discussions View All (2)
1
Jan 17, 2022 @ 5:45pm
mod missing some luas in the crash log
Angela Gaming
0
Sep 24, 2020 @ 7:20pm
中文翻译
四月七
63 Comments
DaSancho Apr 27 @ 11:35am 
crashes server when healing :steamsad:
Angelic_Crusader Jul 2, 2023 @ 7:18pm 
An idea of my own id like to see is to combine each players stats so if there where a wilson and a webber its a combined 300 sanity same with hunger and health although each time someone connects might lag the server
Angelic_Crusader Jun 20, 2023 @ 10:39pm 
I really would like to see the config for it as well as ricks suggestions
Thundercunter Apr 24, 2023 @ 9:26pm 
good for a chaotic server
zaptrap  [author] May 12, 2022 @ 12:42am 
Thank's for the ideas, I think I'm gonna implement all of that and then make it configurable so people can choose if they want shard sharing, averaging stats, announcements, ect.
RICK May 12, 2022 @ 12:08am 
additions:
1. The averaging algorithm looks like oldval + (newval - oldval) / GetNumPlayers(), player number is buffered.
2. Let's say there are 10 ppls in one world, and hungerdelta takes place every 1 sec. onhungerdelta is called 10 times/sec. Actual hunger value change is 100 times/sec. I don't know what's the rate the net variable updates.
RICK May 11, 2022 @ 11:58pm 
Finally, sanity component has a SetInducedInsanity functionality which works different from actual sanity. This leads to an incoherence of functionality of those items like bone helm. Maybe this part demands extra coding.
Lastly, Wanda's aging does not take place instantly, I'd like to handle her case separately, but I know it is hard to do that.
Eventually, it is well known that worlds don't share information. But it adds to consistency to link Forest(Master) with Cave, and perhaps every shard. That said, I also welcome the current method that allows one to escape death or do dangerous things alone by entering the cave.
RICK May 11, 2022 @ 11:46pm 
Another suggestion is that you can add an announcement feature which reminds people whenever their health changes, and maybe with a threshold.
For example I write:TheNet:Announce(name .. "'s health" .. (delta > 0 and "drops" or "raises") .. "by" .. tostring(absdelta) .. ((absdelta >= thres) and ("%, to" .. tostring(hp)) or "") .. "%")
RICK May 11, 2022 @ 11:41pm 
During gameplay I've noticed an unbearable decrease of hunger(and perhaps sanity, too). So I changed the algorithm from sharing to averaging, which works fine. Another doubt is that the update rate is too frequent, which may cause huge network transmission. But I cannot think of a correct algorithm to precisely calculate the values with a buffer that stores values in memory.
zaptrap  [author] May 6, 2022 @ 9:05pm 
Ok I'm thinking of revisiting this mod and adding more stuff (like what you suggested and also sharing between forest/caves)