BMan142 Posted December 21, 2014 Share Posted December 21, 2014 hi. so i have a server and i want to make my friend admin (we relay suck so we cheat a lot.) but i don't know how. please help!!! Link to comment Share on other sites More sharing options...
Pyromailmann Posted December 21, 2014 Share Posted December 21, 2014 You can't. Also, don't triple thread post. I don't think Seth or anyone at Klei confirmed it as a feature but I do agree, I think making someone an admin would be a nice feature. Also, if you need help, there's some threads that can be helpful for surviving in DST. Link to comment Share on other sites More sharing options...
Developer Diabu Posted December 21, 2014 Developer Share Posted December 21, 2014 It's already possible on dedicated server using the adminlist.txt file located near the settings.txt. I don't know if it works on Hosted game.You need to find the user ID of the player (Something like KU_?????) : (Code is Case Sensitive)for k,v in pairs(AllPlayers) do print(v.name .. ": " .. v.userid) endThen you add it at the end of the file and restart the server. Edit: Thanks @rezecib Link to comment Share on other sites More sharing options...
rezecib Posted December 21, 2014 Share Posted December 21, 2014 One little error in the console command he gave, fixed:for k,v in pairs(AllPlayers) do print(v.name .. ": " .. v.userid) endAlso, adminlist.txt should be here:Documents/Klei/DoNotStarveTogether/save/adminlist.txtYou will have to create the file, though. Link to comment Share on other sites More sharing options...
F1sh Posted December 21, 2014 Share Posted December 21, 2014 Or, instead of cheating, you can change the world settings, like turn down hounds, shorten winter, turn up food. Link to comment Share on other sites More sharing options...
BMan142 Posted December 21, 2014 Author Share Posted December 21, 2014 Ok thank you Ok thank you Link to comment Share on other sites More sharing options...
xReZo Posted January 23, 2015 Share Posted January 23, 2015 Just wanted to pop in and add confirmation to info that seems to be unknown for sure at this time. First Off: Admin on Non-Dedicated Server works 100%, just tested it with my friend, I was the client. So if you are the host of the server, you can have your friend join, go to your documents/klei/dontstarvetogether folder and open up your log after your friend joins.. Scroll to the bottom, you will see his user ID near the bottom of the log assuming you open the log AFTER he joins. the user ID will be something like KU_slkdjfLIJF Once you find this, the host of the server will simply copy it inside of the log Now you go to documents/klei/dontstarvetogether/save Here you will right click>New>Text document (Not Rich Text) Name it adminlist then just hit enter and open up the adminlist.txt file you just created paste the KU_lkajsdfoiHJDLKFJ and then file>save close out the game completely and reopen it, now go check your log again after the game has opened. Near the top you should see admin.txt loaded... (Success) if you see this, then you know it will work. Now just go reopen the same server, have your friend join and as long as he hits CTRL after he opens the console with "~" (You will see "Remote:" pop up when you hit ctrl Now just type in any commands like normal. Confirmed commands that work for client: c_godmode()c_give("prefab") most likely everything works, just make sure remote is on everytime you type a command as the client Thanks for all the info everyone else, glad this works for non-dedicated servers Link to comment Share on other sites More sharing options...
jrose78 Posted February 11, 2015 Share Posted February 11, 2015 Question. If I want to add more than one admin name to the admin list file do I hit enter after the first name or comma/space between admin names? Thanks Link to comment Share on other sites More sharing options...
rezecib Posted February 11, 2015 Share Posted February 11, 2015 @jrose78, They should be on separate lines, but I believe there is a bug right now (might've just been fixed) with dedicated servers not registering more than one admin. Link to comment Share on other sites More sharing options...
afakpinar Posted August 8, 2015 Share Posted August 8, 2015 it will be like? 1 for k,v in pairs(AllPlayers) do print(v.name .. ": " .. KU_asdasfas) end Link to comment Share on other sites More sharing options...
Pyromailmann Posted August 8, 2015 Share Posted August 8, 2015 Necro. Link to comment Share on other sites More sharing options...
Flare2V Posted August 9, 2015 Share Posted August 9, 2015 Necro. Aw, he's just trying to help. Maybe let him know what he did wrong and show him the ways of the Klei Forums? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.