7 Days to Die

7 Days to Die

View Stats:
Wygos Dec 2, 2017 @ 11:46am
Denying Command (Dedicated server) [SOLVED] [FIXED]
Cant use admin premisiion Server is denying command.

p.s.
No page can find my steam account can it be realated?
Valve console showing one steam id while Login to pages shows completely difrent
What am i missing?

[EDITED]

Why starting a server (or a game) rewrites my serveradmin.xml steam ID to 76561198021925107

[EDITED]
[SOLUTION] [FIX]

- hold windows + R (or press start and find RUN )
- %APPDATA% hit enter
- Roaming\7DaysToDie\saves\serveradmin.xml
- edit file with notepad or what not

So i left original line
<!-- <admin steamID="76561198021925107" permission_level="0" /> -->
Because every time i change it or rewrite it comes back when i start server and underneath that line i added my own but without the explanation thingies. Basicaly looks like that:

<adminTools>
<admins>
<!-- <admin steamID="76561198021925107" permission_level="0" /> -->
<admin steamID="76561198051674390" permission_level="0" />
</admins>

76561198051674390 - instead of this fill your steam id 64
And it works flawlessly......

thx again Shurenai u da man.
Last edited by Wygos; Dec 4, 2017 @ 5:34am
< >
Showing 1-15 of 23 comments
Wygos Dec 2, 2017 @ 11:47am 
<adminTools>
<admins>
<!-- <admin steamID="76561197960280000" permission_level="0" /> -->
</admins>

<permissions>
<!-- <permission cmd="dm" permission_level="0" /> -->
<!-- <permission cmd="kick" permission_level="0" /> -->
<!-- <permission cmd="say" permission_level="0" /> -->
<permission cmd="chunkcache" permission_level="0" />
<permission cmd="debugweather" permission_level="0" />
<permission cmd="getgamepref" permission_level="0" />
<permission cmd="getgamestat" permission_level="0" />
<permission cmd="gettime" permission_level="0" />
<permission cmd="help" permission_level="0" />
<permission cmd="listplayerids" permission_level="0" />
<permission cmd="listthreads" permission_level="0" />
<permission cmd="memcl" permission_level="0" />
<permission cmd="settempunit" permission_level="0" />
</permissions>
Last edited by Wygos; Dec 2, 2017 @ 11:48am
Patouski Dec 2, 2017 @ 11:51am 
Your SteamID 64 is: 76561198051674390

This line:

<!-- <admin steamID="76561197960280000" permission_level="0" /> -->

Has to be like this:

<admin steamID="76561198051674390" permission_level="0" />

And voilà!

Also, make sure the server is shut down before making and saving the changes.
Wygos Dec 2, 2017 @ 11:53am 
Yes i know
76561198051674390
Still

[Edied]
No wait mine says It was sent by steam support
76561197960287930

Were do u check my steam id?
Last edited by Wygos; Dec 2, 2017 @ 11:55am
Nobody Dec 2, 2017 @ 11:57am 
Its in your profile URL
http://steamcommunity.com/profiles/76561198051674390

Steam had 4 Different kind of ID´s
This is the one 7Days use
Last edited by Nobody; Dec 2, 2017 @ 11:58am
Patouski Dec 2, 2017 @ 11:59am 
Originally posted by Purple Chapter:
Yes i know
76561198051674390
Still

If the admin line is edited properly, the server should not deny you any of the LISTED commands. It has to be offline when making changes to this file, for them to be reloaded properly.

If you attempt to use "dm" or "cm" and they are not listed in the commands above, they will not work.

Here's a copy of mine - on a rented server, but the whole idea is the same.

<adminTools> <admins> <!-- <admin steamID="76561198021925107" permission_level="0" /> --> <admin steamID="76561198031654264" permission_level="0" /> <--me <admin steamID="76561198040xxxxxx" permission_level="0" /> <admin steamID="76561198082xxxxxx" permission_level="0" /> <admin steamID="76561198006xxxxxx" permission_level="0" /> </admins> <permissions> <!-- <permission cmd="dm" permission_level="0" /> --> <!-- <permission cmd="kick" permission_level="1" /> --> <!-- <permission cmd="say" permission_level="1000" /> --> <permission cmd="rlp" permission_level="0" /> <permission cmd="giveselfxp" permission_level="0" /> <permission cmd="listplayers" permission_level="0" /> <permission cmd="ban" permission_level="1" /> <permission cmd="se" permission_level="0" /> <permission cmd="mem" permission_level="0" /> <permission cmd="admin" permission_level="0" /> <permission cmd="mod" permission_level="0" /> <permission cmd="spawnairdrop" permission_level="0" /> <permission cmd="spawnsupplycrate" permission_level="0" /> <permission cmd="saveworld" permission_level="0" /> <permission cmd="aiddebug" permission_level="0" /> <permission cmd="settime" permission_level="0" /> <permission cmd="cp" permission_level="0" /> <permission cmd="shutdown" permission_level="0" /> <permission cmd="st" permission_level="0" /> <permission cmd="le" permission_level="0" /> <permission cmd="cc" permission_level="0" /> <permission cmd="lp" permission_level="1" /> <permission cmd="weather rain 0" permission_level="1" /> <permission cmd="admin add" permission_level="1" /> <permission cmd="admin update" permission_level="1" /> <permission cmd="cm" permission_level="0" /> <permission cmd="dm" permission_level="0" /> <permission cmd="kick" permission_level="1" /> <permission cmd="say" permission_level="1000" /> <permission cmd="debugweather" permission_level="1" /> <permission cmd="getgamepref" permission_level="1000" /> <permission cmd="getgamestat" permission_level="1000" /> <permission cmd="gettime" permission_level="1000" /> <permission cmd="help" permission_level="1000" /> <permission cmd="listplayerids" permission_level="1000" /> <permission cmd="listthreads" permission_level="1000" /> <permission cmd="memcl" permission_level="1" /> <permission cmd="gamestage" permission_level="1" /> <permission cmd="settempunit" permission_level="1000" />

Yes, there's a crapload of commands - and it's fine. I simply used the whole serveradmin.xml file from my previous server and it still runs fine. The xxxx'd ID's are friends of mine, who can all use the commands in case ♥♥♥♥ happens - or if we get bored. ;)
Patouski Dec 2, 2017 @ 12:00pm 
Originally posted by Purple Chapter:
Yes i know
76561198051674390
Still

[Edied]
No wait mine says It was sent by steam support
76561197960287930

Were do u check my steam id?

It's in the URL line of your Steam profile. You can look it up on a SteamID finding website quite easily - and they often list all Steam ID's related to your account, but as Nobody said - your ID used by 7 Days, is the SteamID 64.
Wygos Dec 2, 2017 @ 12:02pm 
Ok so steam support suck ball like always.....

But still with this:
76561198051674390
Premision denied
Nobody Dec 2, 2017 @ 12:02pm 
i set it so
1000 = normal users
999 = Thrusted users
666 = Lucifer only^^
333 = Mods
1 = Admins
0= Head admin

Most i never used, but it make sense. As example Really thrusted users can command a shutdown and a kick
Patouski Dec 2, 2017 @ 12:04pm 
Shut the server down. Locate the serveradmin.xml file (either root folder or data/world folder), edit them both. If attempting to use "dm" or "cm", make sure to include them in the serveradmin.xml file under the commands section. Save the file. Reload the server, enter and test again. If still denied - something is not edited properly.

If all else fails - get a server manager program like 7 DTD Rat - add your Dedicated Server info to its config and add yourself through the server manager panel.
Wygos Dec 2, 2017 @ 12:11pm 
Ok So i edit serveradmin.xml
change my ID to 76561198051674390 > save>run server

Edit serveradmin.xml WHILE SERVER IS RUNNING
it says ID 76561198021925107

I shutdown server (END TASK)
edit serveradmin.xml it says ID 76561198051674390

SO WTF?

p.s.
serveradmin.xml from %appdata% directory right?
i'm running server using default startdedicated.bat is that ok?
Last edited by Wygos; Dec 2, 2017 @ 12:18pm
Wygos Dec 2, 2017 @ 12:31pm 
Hello :) ?
Why starting a server (or a game) rewrites my serveradmin.xml steam ID to 76561198021925107

Wtf?
Last edited by Wygos; Dec 2, 2017 @ 12:32pm
Nobody Dec 2, 2017 @ 2:13pm 
Install RAT and use it.
Much easyer

No idea why this happens
Wygos Dec 3, 2017 @ 10:05am 
Well i'm still waiting for suggestions....seems like hundreds have this problems and noone hs solution. Would be fun to solve it.
Nobody Dec 3, 2017 @ 2:42pm 
i had that too, but i never cared, instead i went to the external console my Server renter offers and typed. (Thought its serverspecific)

admin add 76561198321326453 0.
And done.

If you have no such console, use Rat.


Here for Paste n copy into a external console (where you allready have Admin access because you used the Telnet password)

admin add 76561198051674390 0

--------------------------------
maybe you need to start a new game.
Or your game was running during the edit.
Or you have a serverrenter that overwrite all XMLS at gamestart
...

no idea can be much
Last edited by Nobody; Dec 3, 2017 @ 2:55pm
Patouski Dec 3, 2017 @ 8:08pm 
If you edited both possible serveradmin.xml files, while the game / server is offline and yet it keeps being overwritten back to default, something in your .bat file is asking it to verify files is what I can only think of.

As others mentioned, get 7 Days to Die RAT server manager. I use it for my rented server and it's how I fixed the same issue as you since loading up the experimental branch, as my hoster and the experimental branch of A16, had changed the actual root folder to an external location on the node my server is located, which meant - whatever changes were made to either the serveradmin.xml or serverconfig.xml, wasn't saved - *edit* and that was while using the server's control panel links mind you.

It's been fine ever since I've switched to stable A16 builds, but I keep RAT going in case of strange issues, since RAT will access the server's TELNET console directly and overwrite the proper file 99.9% of the time.
Last edited by Patouski; Dec 3, 2017 @ 8:09pm
< >
Showing 1-15 of 23 comments
Per page: 1530 50

Date Posted: Dec 2, 2017 @ 11:46am
Posts: 23