faceofdeath Posted June 30, 2023 Share Posted June 30, 2023 (edited) I'm self-hosting a dedicated server of Alpha 21.0. And I'm new at hosting 7days, and I'm not sure of where and how to set this up. I can't use the recommend command because I'm hosting it in a Linux Container, so, I don't have access to ingame admin privileges. Can someone help me, please? Edited June 30, 2023 by faceofdeath (see edit history) Link to comment Share on other sites More sharing options...
SylenThunder Posted June 30, 2023 Share Posted June 30, 2023 9 minutes ago, faceofdeath said: I'm self-hosting a dedicated server of Alpha 21.0. And I'm new at hosting 7days, and I'm not sure of where and how to set this up. Can someone help me, please? While you are in-game logged into the server, use the console command createwebuser It will prompt you to open the link is a browser, and there you will create your logein. Literally the first line in your image tells you what to do. Link to comment Share on other sites More sharing options...
faceofdeath Posted June 30, 2023 Author Share Posted June 30, 2023 Just now, SylenThunder said: While you are in-game logged into the server, use the console command createwebuser It will prompt you to open the link is a browser, and there you will create your logein. Literally the first line in your image tells you what to do. I was about to edit the topic, to add this information: I can't use the recommend command because I'm hosting it in a Linux Container, so, I don't have access to ingame admin privileges. Where the file with the user contents are stored? I can edit them directly, but I don't know the path, I found the path "/.local/share/7DaysToDie/Saves" and there is a "serveradmin.xml" file, I tried to add by hand editing, this: <apitokens> <!-- <token name="adminuser1" secret="supersecrettoken" permission_level="0" /> --> </apitokens> <webmodules /> <webusers /> But it did not work. Link to comment Share on other sites More sharing options...
faceofdeath Posted June 30, 2023 Author Share Posted June 30, 2023 what I truly want is to create an admin user for dashboard Link to comment Share on other sites More sharing options...
SylenThunder Posted June 30, 2023 Share Posted June 30, 2023 Step 1. Make your user admin. Easiest way is to log into the server, connect to telnet, and then type "admin add YourName 0" Step 2. Follow previous steps. The path for the files will depend on how you configured your server, but you should be able to find it referenced in the logs. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now