Don't Starve Together

Don't Starve Together

26 ratings
Improved Modify Ownership
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
198.294 KB
17 Jan, 2022 @ 6:05pm
21 Jan, 2024 @ 6:58pm
20 Change Notes ( view )

Subscribe to download
Improved Modify Ownership

In 4 collections by thegreatmanagement
Don't Starve Together Mod Collection 1
34 items
Don't Starve Together Mod Collection: Creative Mode
24 items
DST Survivors PVP Mods
12 items
Don't Starve Together Mod Collection: Endless
4 items
Description
See here for a guide of how to use Improved Ownership + Improved Modify Ownership:
https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2815417414

Updated version of the original Modify Ownership mod, with addition of modifying backpack ownership. Allows modifying owners of structures (as defined by Improved Ownership mod) after they are built.
To use, right-click on an owned building and edit its ownership from the window that opens. Press "o" to remove the Modify Ownership prompt if it blocks an owned structure/entity's action prompt. Credits to Muche, the developer of the original Modify Ownership mod!

Original Modify Ownership: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=599501490

Requires Improved Ownership mod to work, see link below!
Improved Ownership: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2723294081

Changes/fixes from the original Modify Ownership:
• Backpack ownership can now be modified

This mod is featured on the endless and creative mode servers of the DST Survivors Don't Starve Together group; report bugs in the Steam or Discord groups, or directly to me/in the mod discussion.
Steam: https://gtm.steamproxy.vip/groups/DST_Survivors
Discord: https://discord.gg/nyCepy7qpr

To modify ownerships of a building/backpacks, press O then right click on it. A window will appear with the list of current owners. If they are currently online, or you've met them recently or are in your cache, their name will show up, otherwise their Klei ID is shown. To remove another owner, click on the Del button next to their name/id. You can't remove yourself, unless you are the only owner, in which case the building will become public.
To add another owner, select them from dropdown or type (part of) their name into textbox or type their Klei ID into the textbox and click the "Add" button. NOTE: names and ID are case sensitive.
Enabled Auto filter (via checkbox) causes dropdown to contain only names that match entered name (and disables autocomplete).

Admins and moderators (as defined by Moderator Commands mod, custom permission modifyowner) can modify owners of all non-public buildings.

6. Slash Commands (NEW):
Ownership can be granted (en masse) through 4 slash commands:
• /addownernear {number of tiles} - Adds all users within specified range as owners to all your owned structures within the specified range. (If no range is specified, it uses 4 by default)
• /addownernearall {number of tiles} - Adds all users within specified range as owners to all your owned structures across the entire world (If no range is specified, it uses 4 by default)
• /addownerworldnear {number of tiles} - Adds all users in the world as owners to your owned structures within specified range (If no range is specified, it uses 4 by default)
• /addownerworld - Adds all users in the world as owners to all your owned structures across the entire world.
NOTE: the above commands do not work for users in another shard, like Caves

Admins have two additional commands they can use to add themselves as owners to things:
• /reclaimpublic {number of tiles} - Adds the administrator as an owner to all public/unowned structures within the specified range (If no range is specified, it uses 4 by default)
• /addownerself {number of tiles} - Adds the administrator as an owner to all owned structures they themselves do not already own within the specified range (If no range is specified, it uses 4 by default)

Player cache collects all known players (their userids and names, client-side) that are your co-owners, so they are later recognized and can be added as owners even if they are no longer online or in your encounters history list.
It is saved in the file save/mod_config_data/moddata_workshop-2723302883_playercache (under Documents/Klei/DoNotStarveTogether in Windows by default).
If the file has not been created yet (you haven't actually tried to modify any owners), there will be a message in the log: "[ModifyOwnership|PlayerCache] Error loading file {filename} (file not found)". It is harmless, as long as it says "file not found".

Settings:
Allow adding owners:
• Yes (default): New owners can be added
• No: New owners cannot be added

Add online people only:
• Yes: Only players online (on the server) can be added as owners
• No (default): Anyone can be added by Klei ID, or from the dropdown list if they are in your recent encounters

Allow removing owners:
• Yes (default): Owners can be removed from structures/items
• No: Ownership tag are locked as they were set when crafted/placed

Remove the last owner:
• Yes (default): The last owner (the original creator) can be removed, and the entity becomes public
• No: The last owner cannot be removed

Max number of owners
• 12 by default: The maximum allowable number of owners of an entity

Number of owners warning:
• 10 by default: The quantity of owners at which adding more owners will result in a warning

Moderators:
• Yes: enables moderators with Moderator Commands mod to modify ownership like admins
• No (default): moderators with Moderator Commands mod cannot modify ownership

Default modify mode:
• Yes (default): shows Modify Ownership tooltip upon hovering over an entity with modifiable ownership by default
• No (default): players have to toggle ownership before seeing the tooltip

Hotkey:
• O by default: the default toggle for modify action tooltip for all clients who do not specify the hotkey

Log level:
• Normal by default: toggles how much the server logs will print outputs of the mod

Client settings (specific to each client):
Window position:
• Left by default: toggles where the modify ownership

Hotkey (client):
• Use server's setting by default: Determines which hotkey toggles the "modify ownership" tooltip
Popular Discussions View All (2)
0
17 Jan, 2022 @ 10:10pm
Suggestions
thegreatmanagement
0
17 Jan, 2022 @ 10:10pm
Bug Tracking
thegreatmanagement
36 Comments
thegreatmanagement  [author] 12 May @ 12:29am 
@Vân Ca I will look into splitting the range settings; it might be complex to do on my end though, as the ranges are tied to quite a lot of other settings :o

The beefalo protection is also only registered if the beefalo is granted a bell, has been fed by someone at least once, and has some domestication on it; it will not have protection if it hasn't been fed or has 0 domestication. Other than that, you may have disabled the companion protect code; sending your log may confirm what happened as well.
Vân Ca 9 May @ 12:56pm 
Could you also re-check the beefalo protection? we still can attack other's beefalo
Vân Ca 9 May @ 6:33am 
My Willow friend told me that the skill is Ember Tender
----
"Ownership application range:
• Tiny to Massive, Medium (default): Determines the range of which ownership properties like protection from fire and adding other owners by default is applied"

Could you split that into 2 seperate setting? I want to set the Fire protection range to minimum but mantain the default range when adding owners.
thegreatmanagement  [author] 8 May @ 11:34pm 
No worries, your feedback has been noted. The design is as it is for a few reasons:

1. Sometimes you may accidentally light something at your own base, it happens more often than you'd think, and can be very damaging to your base esp without the fire spread protection
2. Your other friends/owners can also add owners too, it is meant to be a guard against damage others may cause that you didn't explicitly permit to be owners. You also can set the protection ranges' multiplier in the mod settings, which may help. (It's 4 tiles by default for fire protection)
3. The Willow skill tree things I intend to support; I will see to it that those are taken into account for (esp as a Willow player myself) Which Willow skill for the firepit are you referring to for my own ref? For the spider dens also, that is intentional also, since the assumption is that a Webber could make the nest public should they want players to be able to attack/light the spiders near the nests.
Vân Ca 8 May @ 11:25am 
Thank you for your response.
Owners are unable to start fires near their own structures. I don’t think it should be this way, as it’s the user’s responsibility when adding untrusted players to the owner list or accidentally burning their own base down. However, since this is your design choice, I’m providing this as feedback.

The fire protection range is excessively large when it comes to preventing fire spread. We can’t even burn a stick to vaporize a puddle simply because of a chest far away.

Additionally, Willow can’t use her skill to fuel a firepit, despite it being harmless. And with fire control learned, she also cannot ignite spiders near an owned den.
thegreatmanagement  [author] 7 May @ 11:03pm 
The ownership anti-griefing defense is intended to protect owned structures from fires; granting ownership to others will not allow them to cast fires still due to the risk against the structures.
Vân Ca 6 May @ 8:38pm 
I have added my friends to all nearby chests & firepit but his willow still can't cast fire. it say "near someone chest"
Vân Ca 6 May @ 3:20am 
Thank you, sir. Have a nice year~~
thegreatmanagement  [author] 5 May @ 9:09pm 
That makes sense, good to know also :eyes: Night Vision does do things like this that you wouldn't expect, no worries though; I hope you're enjoying using the mod in any case though :)
Vân Ca 5 May @ 2:13am 
Oh, thank you. After testing each client mod individually, I discovered the issue stems from the Night Vision mod. When chests or Woby are in complete darkness, although the mouse say "Open" they still can't be opened.