Don't Starve Together

Don't Starve Together

Improved Ownership (w/ Anti-Griefing Defense)
84 Comments
Vân Ca 9 May @ 6:35am 
Thank you. It's ok, we all made mistake at some point.
thegreatmanagement  [author] 8 May @ 11:25pm 
@Vân Ca That's embarassing omg C,: thank you for pointing that out though, I'll push it out in the next update for this mod! (this is what I get for copy and pasting code)
thegreatmanagement  [author] 8 May @ 11:24pm 
@Aphexamine I'm afraid not, the original mod's design was to have fortifying buildings be a scalable variable you can set, and I liked it enough to maintain it in the mod's code; the structure protection was designed so that (as you described) if structures were chosen to not be explicitly protected from all forms of harm (like fires and explosions), then it was up to how much buildings were fortified from hammer strikes to grant the protection you desire.

The value you can set the hammer strikes to isn't limited by code I should note, as in if you'd like to, you can set it so that 1,000 or 10,000 or however many strikes you'd like will remove a structure, basically too many to be ever realistically practical! You can accomplish this by setting the Fortify_Building value in your modoverrides.lua to a very low value, for 10,000 it would be 0.0001 for instance.
Vân Ca 8 May @ 5:56am 
Beefalo_Protect got wrong label
(
name = "Beefalo_Protect",
label = "Structure Protection",
)
Aphexamine 21 Mar @ 12:47am 
is there a way in the options so that buildings are protected from others hammering it but not protected from fire, explosions et?. I have tested this mod many times, if you have "fortify buildings" set to Yes and then "structure protection" set to no nonowners can hammer buildings. in order to have structure protection you have to set it to yes but then buildings cannot be destroyed by fire etc.
thegreatmanagement  [author] 1 Sep, 2024 @ 11:11am 
@mima That’s a good idea, I’ll look into this :eyes:
mima 1 Sep, 2024 @ 12:34am 
can u change about hitting with willow lighter is unable near the area that claimed when she had the controlled fire skill
thegreatmanagement  [author] 27 Jun, 2024 @ 11:02am 
You're welcome! Glad to hear as well, enjoy the mod :)
tinacanada 27 Jun, 2024 @ 7:42am 
Thank you so much! It worked for me! Yay!:steamhappy:
thegreatmanagement  [author] 26 Jun, 2024 @ 11:31pm 
@tinacanada yes, you are able to! If you are an admin/host of the server, you can use /reclaimpublic to make unowned items become owned by you! (where you can then change the owners/create other owners onto items as well). This functionality is based in Improved Modify Ownership, see the Ownership tutorial linked in the mod description for more info!
tinacanada 26 Jun, 2024 @ 9:27pm 
I enabled both Improved Ownership and Improved Modify Ownership mods on my server after the it has been hosting for a while, and I was unable to set ownership on any chests/containers that were previously crafted. It seems only containers crafted after the mods enabled able to set ownership. So is there a way for server hoster to set/modify ownership for items that were created before these mods enabled?
UnderwearApprentice 15 Apr, 2024 @ 5:00pm 
No worries, it is definitely that. There are a few Shipwrecked items that when crafted have no ownership (Sea Yard, Sea Chest,etc) but using the command gives me ownership. Just to be clear, is there a "mouse over" take ownership function? I guess it would have been listed in the guide. Thanks for the response, and this iteration, it really works great.
thegreatmanagement  [author] 15 Apr, 2024 @ 2:31pm 
It might be an issue specific to those mods, as those commands and the mod is designed to affect items nearby you as the player. When you go into these buildings, they do not (like Don't Starve) open new clusters/levels in game, in DST you are typically located in a space far away from the center of the world, in the middle of nowhere; it is doing what you described in the 1st scenario. If you are able to physically have your character go towards those items, it should perhaps work better or help. I hope you're able to figure out something that might work better for your modded server, I cannot attest that the features of this mod are designed to work with Tropical Experience/mods with "houses".
UnderwearApprentice 15 Apr, 2024 @ 12:12pm 
Not sure if this was worth a bug report as it may be a conflict. I'm using Tropical Experience and I have a Slanty Shanty in the Constant. While inside it, "reclaimpublic" and "addownerself" do not add spawned structures to my owned items, although my character says it does and the log does as well. Is it trying to add structures in the void area where the room is on the main map instead of the items inside the house? I've noticed for example in the mod "Sweet House" the items inside it appear in a random spot on the map (middle of my map this time) so it's the only thing I can assume. Thanks for any insight!
thegreatmanagement  [author] 13 Feb, 2024 @ 10:09pm 
Yeah, tbh that sounds about right :,)

Also: noted, send a crashlog (through pastebin) if you can, I believe I have vetted out most of the crashes of the mod so far, but on the offchance this is a new one, I'd be glad to fix it of course :o
Smasher 13 Feb, 2024 @ 8:24pm 
You're completely right. In our server there was always someone locking their stuff in the wrong container. And some are the same now complaining that they cannot put stuff in other people's containers xD

I just told them that you have a good point, lol.

Oh, yeah, this trading mod looks dope! I've always wanted a feature like that, so I tried to use it the other day, with several other mods, and it crashed when someone tried trading using it. But it might have been a conflict with some modded item from outside. I didn't had the time to properly check the log at the time. But I'll try it again and see how it goes!
thegreatmanagement  [author] 13 Feb, 2024 @ 2:54pm 
I would also like to point out that I do have a mod that implements direct inventory to inventory trading into the game too! See here: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=3007529410

To answer your original question though: I am iffy on permitting others to use my mod code but I guess I ultimately wouldn't be against it if the credit is given when due. However, I do plan to upkeep this mod for the foreseeable future, and you'd then have to follow those updates/copy the code again each time, which does get pretty painful (even if you keep the mod private)
thegreatmanagement  [author] 13 Feb, 2024 @ 2:54pm 
I'm surprised (in a good way ofc lol) to see another comment from you in another one of my mods, I do really appreciate that :)

That being said: this was actually a design choice I ended up implementing after release and a few months of testing, the opposite was complained about originally: AKA people would accidentally store things in a chest they did not know was owned, and then when they tried to get the item back, they found it was locked. It formed a "trap" on storage of sorts, where you could "gatekeep" someone's items if someone unassmingly stored something in your container.

May I suggest to your friend they can leave the items for trade beside the chest, or build another chest she and the intended tradee own? She can add them as an owner of course!

A special configuration for this is in my view very niche, and I think would do more harm than good (see the above instance, it happened quite a lot actually, even for people who did like the feature as it was)
Smasher 12 Feb, 2024 @ 6:38pm 
Hey, I love your mods! My first experience with them was playing cavemen around 2 years ago.

I was asked by a friend to do a modification in this improved ownership mod of yours here. To make it so people that do not have access to a container can add things to the container, but not open it. My friend said that, although your mod is better than the original ownership mod in all other aspects, she wished to be able to be able to do so. Then people in the server can put stuff in other people's crates when they are talking in vc and trading with each other.

So I was thinking about putting a configuration that allows people to put stuff into locked containers. But I wanted to ask you first if you want to do it? Cause I think this mod is great and I didn't wanted to republish your work for such minor detail. I prefer if all credits go to you xD
thegreatmanagement  [author] 23 Aug, 2023 @ 5:26pm 
@3km2k I've considered this feature for quite a while now, but ultimately have not added it yet. I have plans to add a system similar to this in the future, when I am able to figure out the logistics of such a function (as it will require a revamp of the mod)
3km2k 23 Aug, 2023 @ 5:24pm 
Can you add a friend list feature so its possible to make a building and not manually add a friend and making buildings that havent been friends yet automatically do that when someone is friended
thegreatmanagement  [author] 3 Aug, 2023 @ 3:06pm 
Hello @dano, I looked into it and I believe that this mod (as you can see in the comments section of that mod) is the culprit; try disabling that, and then let me know if you experience the same issue. https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=882901958
dano 2 Aug, 2023 @ 11:23am 
Sorry I missed your previous reply. Yes, we have other mods enabled. Here is a link to the complete log:

https://drive.google.com/file/d/1SB5aYvGeeYo2TLFmGK9t_41sPA5E52Tr/view?usp=sharing

thanks.
thegreatmanagement  [author] 2 Aug, 2023 @ 10:03am 
Same as before, send your full log please. Are you playing with any other mods enabled?
dano 2 Aug, 2023 @ 7:37am 
Hello, I am still crashing on dedicated server when nightmare fuel is given to the terrarium.

Link to logs: https://justpaste.it/bj697

I can give more information if you need it.
thegreatmanagement  [author] 29 Jun, 2023 @ 2:45am 
I just tested it also; the bee box crash does not/should not be happening on dedicated servers, only in game hosted servers due to the discrepancy below. Either way, I will fix this tomorrow, thank you!
thegreatmanagement  [author] 29 Jun, 2023 @ 2:33am 
I am surprised to hear of the bee box bug, considering that this mod has been on many servers for a while without this crash happening, but thank you nonetheless! I am glad to fix these bugs whenever they come up, thank you for reporting of course :)
ttv/ElTuku473 en vivo 29 Jun, 2023 @ 2:09am 
Sorry for the messy responses, I was actually mid stream when I saw you replied so I was trying to do everything at the same time.
Just to clarify, the BEE BOX bug that I submitted the logs for, were for a Dedicated Server (ran on my own pc, but dedicated)
The Houndious Shootious bug (Just crashed the server again to get you the logs for that one: https://justpaste.it/1z7qk) are on an In Game Hosted Server.
ttv/ElTuku473 en vivo 29 Jun, 2023 @ 2:02am 
Thank you for your work btw :)
ttv/ElTuku473 en vivo 29 Jun, 2023 @ 2:02am 
That last report was from my dedicated one, I have an in game server to test the mods and then once I see they work I push them to my communities dedicated server, your mod was working with no issues so it was on my dedicated already, but then I found this bee box bug today (and the houndious shootious this morning when testing other mods)
thegreatmanagement  [author] 29 Jun, 2023 @ 12:44am 
You are having these errors because you are hosting from an in game hosted server vs a dedicated server, where the mod is intended to run. These issues shouldn't be a thing anyway, but the way how modding / the server vs client structure is set up, this is unfortunately an issue with server only mods being ran on in game hosted servers.
thegreatmanagement  [author] 29 Jun, 2023 @ 12:41am 
Thank you for reporting! This should also be fixed in the next ownership update, I will release it tonight/tomorrow after a bit of testing.
ttv/ElTuku473 en vivo 28 Jun, 2023 @ 10:54pm 
Server crashed when breaking my own Bee Box with a hammer: https://justpaste.it/c8x6j
server log
thegreatmanagement  [author] 28 Jun, 2023 @ 10:52pm 
You can find them here: https://support.klei.com/hc/en-us/articles/360029881191-Logs-and-Useful-Information-for-Bug-Reports-for-Don-t-Starve-Together

I do actually want to mention I've identified the issue I believe, and have a fix pending for it! One more thing I need to confirm though: you were hosting an in game server if I'm not mistaken, right? @twitch.tv/ElTuku473 en vivo pá
ttv/ElTuku473 en vivo 28 Jun, 2023 @ 8:48pm 
Yeah, i meant placed it from the build tab, as soon as i placed it it crashed, how can i get the logs?
thegreatmanagement  [author] 28 Jun, 2023 @ 4:15pm 
cheekyRub cheekyRub cheekyRub
Ghost Meep 28 Jun, 2023 @ 4:00pm 
Hey Typical, just wanted to say you're a nerd.
thegreatmanagement  [author] 28 Jun, 2023 @ 2:02pm 
How exactly did you "spawn" a houndious shootius in also? those are normally not spawnable, you typically will place them from your inventory, it is a kit item.
thegreatmanagement  [author] 28 Jun, 2023 @ 2:02pm 
Can you link me your logs?

Also on the locked chests point: woodie is supposed to be unable to charge in moose form near the vicinity of chests, this is accounted for; the fact that the woodie is able to charge tells me that the chests were either public, or this protection setting was disabled. Check the config of your server, or send the log if you want to be sure.
ttv/ElTuku473 en vivo 28 Jun, 2023 @ 8:56am 
Oh and also thought i might let u know as well, Woodie can destroy locked chests while transformed, some ppl lost some items when he rammed a bunch of chests by accident and passerbys grabbed em.
ttv/ElTuku473 en vivo 28 Jun, 2023 @ 8:50am 
Hey Typical, either this or the Improved Modify Ownership are crashing my test server when spawning a Houndius Shootius (I spawned it using creative mode c_freecrafting() on), I've been using this mod without issues for a week on my Dedicated Server and today testing some things and other mods, my local server crashed and was stuck at crashing on launch, and it tuns out disabling this mod fixes it. Just wanted to let you know.
thegreatmanagement  [author] 24 Jun, 2023 @ 11:11am 
Can you show me what your dedicated server setup looks like? Do you have a modoverrides.lua enabled on your server?
DummyHungry 24 Jun, 2023 @ 7:17am 
I have tried absolutely everything but I cannot get my Dedi server to recognize this steam ID ServerModSetup("2723294081")
thegreatmanagement  [author] 4 May, 2023 @ 6:00pm 
That's odd to hear; did you swap the mods immediately, and not have any states where neither ownership mod was running on the server? I have tested it before on my end, it should be a seamless transition provided the mods are installed properly and set up in modoverrides.lua properly as well.

On that also: the inability to store chester's eyebone into locked containers or backpacks is a deliberate feature of the mod, it is to prevent people from locking away chester and other irreplaceable items permanently. This is a setting you can disable, you can turn off locked containers to disable such a behavior.

I am not aware of any crashes from giving nightmare fuel to the terrarium also, it is possible that another mod you are running is causing the crashes. Can you provide the logs from the server you are experiencing crashes from? I will test it on my end as well.
dano 4 May, 2023 @ 4:55pm 
Changing mid-game did not work. We lost all the ownership data. However have a question. Is this mod preventing the eyebone to be placed in a locked container or bag pack? If so could that be a setting?

In addition, I switched to this mod because if we give nightmare fuel to the terrarium, the server crashed. This mod has the same issue. Could you look into it? Do you need logs?
thegreatmanagement  [author] 8 Mar, 2023 @ 11:42am 
Yes, it should be compatible for a swap mid game! Make sure at any given time you run a server, either this mod or the original ownership are enabled. Should you have any problems at all, roll the server back to the last good day (AKA make saves and backup copies, if possible)
dano 8 Mar, 2023 @ 5:02am 
I would like to switch to this one from the original Ownership mod. Would it be ok to switch mid-game? I want to make sure players can still open their chests. thanks.
thegreatmanagement  [author] 31 Jan, 2023 @ 10:01am 
You're welcome, glad it's working again :)
thegreatmanagement  [author] 30 Jan, 2023 @ 9:14pm 
@MrWell Fixed, let me know how it works now! Thank you for reporting this also, this was a pretty tough bug to catch. (It was because I had two conflicting function names that were the same)
thegreatmanagement  [author] 30 Jan, 2023 @ 5:37pm 
Do you mean the Share Equipment setting? I'll look into it, thank you for letting me know.