Don't Starve Together

Don't Starve Together

Modify Ownership
57 Comments
GrandTickler 7 Aug, 2022 @ 8:38pm 
seems to work just fine still
H♡RR♡R 5 Aug, 2022 @ 4:29am 
How do you get rid of the lil' window that pops up when you go to "modify ownership" it just stays up forever until i restart the lobby. :( if anyone can help, plz do <3
thegreatmanagement 15 Jan, 2022 @ 1:53pm 
Hello is this mod still supported? I have a change/optimization of this mod that allows players to modify ownership for backpacks, which I found was curiously excluded from the current build of this mod. Please let me know, I would like to publish my change your permission!
Raiden_Sola 28 Jan, 2020 @ 8:22pm 
Think this mod is now broken. I've got this one and Ownership as the only running mods, and I still can't get it to do anything. Tried remapping the hotkeys and still can't get anything to work.
cudiPeter 22 Mar, 2019 @ 8:39pm 
thats nor running
More_urgent_jest 6 Mar, 2019 @ 10:29pm 
meh
RoMp 11 Oct, 2018 @ 10:03am 
My problem is that I use a controller to play. When I go up to a crockpot I can put items in but I have to use button 2 to cook and the mod uses the same button to change permissions. So I can't use it unless I press esc, go to settings, change to keyboard, press accept, continue, mouse over to close it, and then back to the menu to change back etc.. Which basically means I end up dying during winter because it's too much of a hassle.

Does anyoine have a way to fix this? I don't think it's possible to use the mouse and the controller at the same time but I could be wrong. Maybe I can edit controlls to make the left joystick button where you push down close that menu somehow? Or make that button cook without using the function of button 2?
Ronin 17 Feb, 2018 @ 8:39pm 
This developer hasn't been on in almost a year
NsiBpy 6 Jan, 2018 @ 4:42pm 
Hi!
A function is required for trading in the chest for the guest. For example, there is 1 gold in the chest, not the owner can take it for a certain price in exchange: 20 branches, 10 logs, 5 pieces of meat, etc.

Требуется функция для торговли в сундуке для гостя. Например в сундуке есть 1 золото, не владелец может взять его за определённую цену в обмен: 20 веток, 10 бревна, 5 кусков мяса итд
Ronin 30 Dec, 2017 @ 8:53am 
T-Rection you're supposed to HOLD O and then right click on it
Crowley 30 Nov, 2017 @ 12:09pm 
The mod doesnt seem to be working for me, when i press O nothing happens, i tried reinstalling and messing around with all the settings but nothing works
DaleBall2 3 Nov, 2017 @ 2:38pm 
I don't have a bug to report but more of a request: I was curious as to know if it'd be possible to implement the ownership control of this mod to walls and especially "Super Walls" and "Super Doors" from the Super Wall DST mod. Please let me know I really want my dedicated server to be a success and have rooms to rent out to people who pay with gold nuggets xD
Jarda 1 Jul, 2017 @ 3:17pm 
For some reason nothing happens when I rightclick structures. It used to work like a charm, I am pretty sure.
Fish and Chips 26 Jan, 2017 @ 5:33pm 
I am an adimin, and when i make public things, i can't open O or any hotkey for modifyownership sign :( what can i do? plz help me!
HaveAGreatDay 30 Dec, 2016 @ 6:17pm 
Is there a way to modify ownership of other things like tools?
Luis95R 25 Dec, 2016 @ 12:45am 
Moderators can no longer modify ownership of other structures. I have Ownership + Modify Ownership + Moderator Commands [fork] and moderators can't change ownership of things even with the settings turned on. It has been like this for a while. Can you look into it please?
sissi 28 Nov, 2016 @ 5:50am 
How can I make a public building an owned one again if I am the one who built it?
Gho$t 12 Nov, 2016 @ 11:25am 
Please help, this mod install on the server? where to save the server config? And what is the name of the config?
隔壁老司机 2 Aug, 2016 @ 6:20pm 
good
Zendakon 31 Jul, 2016 @ 4:10pm 
So in short the owner can choose who owns it and admin can as well right?
Muche  [author] 31 Jul, 2016 @ 7:26am 
@[BaiSu], 599501490 is the id of Modify Ownership mod .
You'll need to enable Ownership mod as well, that is
[code] ["workshop-404161345"] = { enabled = true }, -- Ownership [/code]
(and [code] ServerModSetup("404161345") [/code] into dedicated_server_mods_setup.lua ).
白叔 BaiSu 31 Jul, 2016 @ 4:27am 
Thanks author reply, but I have the module is enabled ...
http://imgur.com/a/7LDAv

And related settings are kept by default.
But I still have no way normal use modules
Even at the "O" key and there is no menu appears.
Therefore, I would like to ask whether to enable the way is wrong?
Or less I set it?
Muche  [author] 31 Jul, 2016 @ 2:23am 
@[BaiSu], thanks for the logs.

From client_log:
[00:00:52]: [ModifyOwnership|keybind] Sending RPC_ToggleTag.
means the O key press was accepted and sent to the server.

From server_log:
[00:03:10]: [ModifyOwnership] Received RPC_ToggleTag from player 114655 - wickerbottom [BaiSu].
means the O key press was received by the server.

However, the server does not have Ownership mod enabled that is needed, as it marks the built structure as owned in the first place (and handles the actual protection).
Enabling the Ownership mod should fix this. Please note that only newly built structures will be owned (and thus could be interacted with), previously built structures will be left public for anyone to use.
白叔 BaiSu 30 Jul, 2016 @ 9:28pm 
http://pastebin.com/AyEJV86z (Client_log)

http://pastebin.com/HvQuRHwj (Server_log)

I still was no way to use this MOD
I could not find a way to make it work
Muche  [author] 30 Jul, 2016 @ 12:43am 
@[Baisu], Pressing O does not immediately open any window. It just enables/disables you to right click on your structure.
So, build some structure (even a sign would suffice for testing purposes), press O , then move your mouse over the sign, the Modify Ownership prompt should appear. If it does not appear, try pressing O again, in case you toggled it previously.
If the prompt doesn't appear at all (so you are unable to open the ownership window), please upload your (full) client_log.txt and your dedicated server's server_log.txt to e.g. pastebin.com and link it here.
白叔 BaiSu 30 Jul, 2016 @ 12:01am 
On Hello, I would like to ask, I'm using your modules on a dedicated server
And I was the host server, after entering the game, press O menu does not appear.
Contains other players is no menu. Where I would like to ask if set wrong? (Using default settings)
Muche  [author] 17 Jul, 2016 @ 5:04am 
@金正恩, from the description above:
Press O , a Modify Ownership prompt should appear when you move the mouse over your structure, right click on it.
A window should appear with the list of current owners.
Select your friend from the dropdown, or type (part of) their name into the textbox and click appropriate Add button.
Their name should appear in the list of owners.
老人回归点赞必回 16 Jul, 2016 @ 7:33pm 
怎么给队友权限啊
Muche  [author] 16 Jun, 2016 @ 5:33pm 
@Luis95R, no, walls are not protected by Ownership mod, see http://steamproxy.net/workshop/filedetails/discussion/404161345/613957600534111196/ .
Luis95R 16 Jun, 2016 @ 5:06pm 
are walls also included in protection? People always break my walls and get into my base. I've tried using the Breaking Notice mod and walls aren't included on it. :\
CuteGreenBunny 4 May, 2016 @ 2:39pm 
Okay thank you, that'll be a big help. Sorry to bother you over something like this I probably could have found it myself but i had been coding for hours so i was doing a bunch of dumb mistakes that i've only noticed now that i've slept X.x
CuteGreenBunny 3 May, 2016 @ 7:18pm 
"Net array has 38 elements; exceeds maximum size of 31" is a very big annoyance as previously stated by another,

This mod is a sort of most on servers that want to protect their members, so if someone knows a solution to this please let me know, as I will be forced to remove it if there isn't a clear one, I'm no modder and I can barely run a server but people are playing on it and enjoy it so I want to make it better for them, and its hard to do that when my server log is spammed by that warning over and over, thousands of times. If anyone knows a fix to it please let me know, thank you.
Zero Tempest 25 Mar, 2016 @ 8:46pm 
I thank you my good sir for this mod
Jarda 7 Mar, 2016 @ 3:59am 
The interface alone speaks for its own, but the mod as a whole is fantastic!
10/10 :dstools:
Gambit 6 Mar, 2016 @ 5:28am 
The reason is in copy-paste of your commands. Therefore 'Remote:' mode of the console was switching.
Muche  [author] 6 Mar, 2016 @ 3:56am 
@Gambit, fix_permissions function does overwrite the file if verify_permissions fuction determines that the file contents is invalid. This should be noted in the log.

Re: "The sign 'Modify owner' appears, but the window with owners does not." from Ownership mod commends, could you please post what the logs say at that moment of clicking on the building?
Gambit 6 Mar, 2016 @ 3:41am 
The line was added, but when a moderator presses O there is no sign 'Modify ownership'.
It turns out that permissions.txt always returns to the default values.
Muche  [author] 5 Mar, 2016 @ 2:51pm 
@Gambit, add line modifyowner into mod section of permissions.txt .
Gambit 5 Mar, 2016 @ 1:18pm 
How to let a moderator to change ownership?
Shang 25 Feb, 2016 @ 6:24pm 
If only add an owner, then delete him, Warning
Shang 25 Feb, 2016 @ 5:58pm 
[string
"../mods/workshop-599501490/modmain.lua"]:983:
Ownerlist
of
dragonflychest
(-111.03579711914,0,118.76210784912)
has
less
than
2
elements?
How
did
this
even
happen?
LUA ERROR stack traceback:
=[C]:-1 in (upvalue) assert (C) <-1--1>
../mods/workshop-599501490/modmain.lua:983 in () ? (Lua) <907-1046>
=[C]:-1 in (method) CallRPC (C) <-1--1>
scripts/networkclientrpc.lua:516 in (global) HandleRPCQueue (Lua) <507-524>
scripts/update.lua:47 in () ? (Lua) <39-127>
Deja Vu 30 Jan, 2016 @ 6:44am 
star is correct, this causes a lot of problems in my server. Log is spamming:
Net array has 36 elements; exceeds maximum size of 31
Net array has 38 elements; exceeds maximum size of 31
etc...
Apparently this is caused by having too many tags. Even though i have set the limitation to 10 players @ownership, but still the problem arises after server has been running for some time.
star 30 Jan, 2016 @ 6:40am 
It's better to use net_vars instead of tags system.:fix:
Deja Vu 28 Jan, 2016 @ 11:24pm 
@Muche
If it's not too much of a hassle, could you make it configurable to either be enabled or disabled by default, so this way all people are happy? (if they happen to like the Disabled by default option more)
Muche  [author] 28 Jan, 2016 @ 4:46pm 
@Deja Vu, OK, I could make it so that it appears by default and pressing the button disables modifying.
Deja Vu 28 Jan, 2016 @ 3:11pm 
Would it somehow be possible to make the "Modify Ownership" to appear by default on all players without having to press the button? It would be great since it's sort of hard to let people know that they should press a certaint button to modify ownerships.
Muche  [author] 28 Jan, 2016 @ 1:08pm 
@MrMiig, since it is your dedicated server, I'll assume you're the admin.
You can change permissions only if the building is currently owned by someone - it's not public. If someone builds e.g. a chest and then makes it public by removing themselves as an owner, not even an admin can make it private again (using the mod; admin can do almost everything using the debug console).
The only exception I know of are the farms.
What other mods do you have enabled? Is it a building from other mod?

Try this - move the mouse over the building that you want to check, then enter into the debug console:
c_select();c_dump()
In the log there should be:
Selected <number> - <prefabname>
Dumping entity <number> - <prefabname>
GUID:<number> Name: Tags:
and then all tags associated with it. Private building is marked by uid_private tag, if there is one you should be able to change ownerships, if there is none, you should not be able to change them.
Pine.some 28 Jan, 2016 @ 12:22pm 
@Muche Hey!

what happens is that sometimes came to my dedicated server and occasionally I get the option to edit the permissions of chest machines and some other things. but on occasion I do not get anything, just usual and enter new friends if I can not edit the above permissions because it does not leave me the option. :calm_creep:
Muche  [author] 28 Jan, 2016 @ 12:44am 
@MrMiig, I don't think I understand what the issue is. Could you please describe it in more detail?
Also mod prints various messages into the log (search for ModifyOwnership , in both client and server), that should help find out what's happening.