Don't Starve Together

Don't Starve Together

31 ratings
Improved Ownership (w/ Anti-Griefing Defense)
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
289.966 KB
17 Jan, 2022 @ 5:51pm
10 Mar @ 11:14am
120 Change Notes ( view )

Subscribe to download
Improved Ownership (w/ Anti-Griefing Defense)

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

The ownership mod, but with fixes to various problems that the mod has had for quite a while. Posted because original mod no longer supported/abandoned by developer. Credits to Isosurface, the original creator of Ownership!
Additional post-publish thanks to KoreanWaffles for some borrowed code from their mod, Ownership Add-on! Link listed below.

Original Ownership mod: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=404161345
Ownership Add-on: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2336653299

This mod adds ownership of structures and items to the game, where (depending on configuration) they can be protected from unauthorized use, theft, or destruction. Traps and mines can also be used against other players (who are not owners) in PVP. Ownership persists through the server's save states but will be reset upon disabling the mod.
(Switch the mod's settings to "Public" will instead keep existing ownership and not register any new owners). Owned objects can only be haunted by their owners (to apply haunted effects) except for life giving amulets, which may be used by anyone. Burnable objects won't burn if haunted. Walls cannot be destroyed by ghosts.

Can be used as a standalone mod, but heavily recommended to be used alongside its sister mod, Improved Modify Ownership: https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2723302883

Changes/fixes from the original Ownership:
• Chests will now no longer drop items upon non destroying hammer hits! They will still drop all items upon destruction or burning
• Fixed intentional design flaw where chests and backpacks would "delete" items depending on container drop settings
• Life giving amulets are now hauntable/usable by others regardless of ownership
• Owned backpacks are now protected just like structures are from burning and smoldering from campfires
• Owned backpacks can no longer be picked up by non-owners

And many, many more! Please see change notes (to avoid this description being 10 pages long)


This mod is featured on the endless 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

Settings:
Number of Owners:
• One: Only the builder/crafter is registered as owner.
• Multi (default): The builder/crafter and everyone nearby are registered as owners.
• Public: No registered owner. Everyone can use public buildings and items (like normal)

Lock Containers:
• Yes (default) containers can only be opened by its owners (e.g. backpack, icebox, etc).
• No: containers are free to be opened with/interacted with by anyone
NOTE: Server admins can open any containers.

Allow harvesting:
• Yes (default): Players can freely harvest from structures owned by others
• No: Drying rack, beeboxes can only be harvested by its owners.

Lock equipment:
• Yes: nonstackable items can only be equipped by its owners (tool, armor, hat, etc)
• No (default): owned items can be freely used by anyone

Haunting protection:
• Yes (default): Players cannot haunt walls, traps, pigs, hounds, spider dens, or treeguard producing trees
• No: No haunting protection, everything is hauntable

Players trigger traps:
• Yes: players will trigger mines and traps they don't own; designed for PvP
• No (default): traps will not trigger on other players

Fortify buildings: yes (default) / 40x / 10x / 4x / no
• Owned buildings require more hammer strikes to destroy (by multiplier), explosion and fire propagation, and can't be lit on fire by players.
• Yes (default): owned structures cannot be hammered by non-owners
• No: structures are not fortified (just like the normal game)
NOTE: Server admins can destroy any buildings and burn any objects.

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

Expiring Ownership:
• 0 Days (disabled + default) to 5000 days: Makes owned structures lose their ownership if no owners log in after a configurable number of in game days passes. Can be enabled/disabled past initial world generation! Can be configured with a custom value in modoverrides.lua as well.

New Enable/Disable Protection Settings:
These allow you to enable/disable groups of protections settings to your own taste! All are enabled by default and must be manually disabled for the following:
Structure Protection: Determines whether structures are protected from hammering, lighting, fires, explosions, etc.
Base Protection: Determines whether or not the base itself/plants are protected from digging, chopping, returfing, flower picking, etc.
Companion Protection: Determines whether or not companions and beefalo are protected against other players attacking or trying to harm them (note some do not apply in PVP)
Beefalo Protection: Determines whether or not beefalo can be ridden, unsaddled or shaved by nonowners.
Spellcast Protection: Determines whether or not spellcasting is restricted against griefing, like using On Tentacles near spawn points.
Boat Protection: Determines whether or not boats will be protected against nonowners moving, piloting or otherwise using owned boats.
Anti-Griefer Protection: Determines whether or not miscellaneous actions to harm other players like throwing water balloons, extinguishing firepits at night, or planting spider nests near spawn points is prohibited.
Popular Discussions View All (2)
28
4 Mar @ 9:26am
Bug Tracking
thegreatmanagement
0
17 Jan, 2022 @ 10:11pm
Suggestions
thegreatmanagement
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!