7 Days to Die

7 Days to Die

View Stats:
K-oz Jun 18, 2015 @ 2:01am
Denying Command
Hi all,

I need help with an issue. Whenever I type a command in the console ingame, it says: Denying command 'examplecommand' from client Mr.Chaos

I tried everything, but can't seem to get it working. Since my server is always restarting the time after shutdown, since I can only shut it down trough taskmanager, I really hope someone could help me out. This is my serveradmin.xml file:

<?xml version="1.0" encoding="UTF-8"?>
<!--
This file holds the settings for who is banned, whitelisted,
admins and server command permissions.
Steam ID can be found using http://steamid.co/

STEAM ID INSTRUCTIONS:
===============================================================
http://steamid.co/ instructions:
Input the player's name in the search field. example: Kinyajuu
If the name doesn't work, you can also use the url of their steam page.
Also you may add/remove admins, mods, whitelist, blacklist using in game commands.
You will want the STEAM64ID. example: 76561198021925107

PERMISSION LEVEL INSTRUCTIONS:
===============================================================
permission level : 0-1000, a user may run any command equal to or above their permission level.
Users not given a permission level in this file will have a default permission level of 1000!

COMMAND PERMISSIONS INSTRUCTIONS:
===============================================================
cmd : This is the command name, any command not in this list will not be usable by anyone but the server.
permission level : 0-1000, a user may run any command equal to or above their permission level.
Commands not specified in this file will have a default permission level of 0!

EVERYTHING BETWEEN <!- - and - -> IS COMMENTED OUT! THE ENTRIES BELOW ARE EXAMPLES THAT ARE NOT ACTIVE!!!
-->

<adminTools>
<admins>
<admin steamID="76561198007091627" permission_level="0" />
</admins>

<permissions>
<permission cmd="admin add <playerID> <permission level>" permission_level="0" />
<permission cmd="lp" permission_level="5" />
<permission cmd="kick" permission_level="5" />
<permission cmd="ban" permission_level="3" />
<permission cmd="sg" permission_level="3" />
<permission cmd="se" permission_level="3" />
<permission cmd="st" permission_level="3" />
<permission cmd="dm" permission_level="2" />
<permission cmd="sa" permission_level="0" />
<permission cmd="admin" permission_level="0" />
</permissions>

<!-- ONLY PUT ITEMS IN WHITELIST IF YOU WANT WHITELIST ONLY ENABLED!!! -->
<!-- If there are any items in the whitelist, the whitelist only mode is enabled -->
<!-- Nobody can join that ISN'T in the whitelist or admins once whitelist only mode is enabled -->

<whitelist>
<!-- <whitelisted steamID="" /> -->
</whitelist>

<blacklist>
<!-- <blacklisted steamID="" unbandate="" /> -->
</blacklist>
</adminTools>

It would be awesome if someone could figure it out...

Cheers!
< >
Showing 1-6 of 6 comments
K-oz Jun 18, 2015 @ 6:59am 
Ok, I tried switching permissions settings and some other things, but it's still not working :'(
Is there a way to host my server (not only LAN) through an server manager or something?
K-oz Jun 20, 2015 @ 6:23am 
Any help, pleeease! :'(
Chris | Ama Jun 20, 2015 @ 6:42am 
Originally posted by Mr.Chaos:
<adminTools>
<admins>
<admin steamID="76561198007091627" permission_level="0" />
</admins>

<permissions>
<permission cmd="admin add <playerID> <permission level>" permission_level="0" />
<permission cmd="lp" permission_level="5" />
<permission cmd="kick" permission_level="5" />
<permission cmd="ban" permission_level="3" />
<permission cmd="sg" permission_level="3" />
<permission cmd="se" permission_level="3" />
<permission cmd="st" permission_level="3" />
<permission cmd="dm" permission_level="2" />
<permission cmd="sa" permission_level="0" />
<permission cmd="admin" permission_level="0" />
</permissions>

Well, hope this will help:
On my server we have 2 admins and we set all permission_levels to "0".

Then I removed one of the admins from the file to see if he could use any command and it was all good.

Also, there is another serveradmin.xml in the savegames folder and as far as I know the game will use that serveradmin.xml file and not the one in the root folder.
K-oz Jun 22, 2015 @ 10:08am 
Still not working... I literally copied your text (and used my own STEAM ID) but it still isnt working and denying my commands -_-
[TRU] mbm Jun 22, 2015 @ 10:25am 
I had the same damn issue. After you create the admin, and set permissions = to your level, sometimes you have to reinstall Alloc's Mod, then reboot the server.

Here is a snip from my hosted game server:

<adminTools>
<admins>
<admin steamID="YOURSTEAMID" permission_level="0" />
</admins>

<moderators>
<moderator steamID="YOURSTEAMID" permission_level="0" />
</moderators>

<permissions>
<permission cmd="dm" permission_level="0" />
<permission cmd="mem" permission_level="0" />
<permission cmd="sounddebug" permission_level="0" />
<permission cmd="admin" permission_level="0" />
<permission cmd="mod" permission_level="0" />
<permission cmd="cp" permission_level="0" />
<permission cmd="whitelist" permission_level="0" />
<permission cmd="kick" permission_level="0" />
<permission cmd="ban" permission_level="0" />
<permission cmd="say" permission_level="0" />
<permission cmd="lt" permission_level="0" />
<permission cmd="es" permission_level="0" />
<permission cmd="go" permission_level="0" />
<permission cmd="sg" permission_level="0" />
<permission cmd="shutdown" permission_level="0" />
<permission cmd="se" permission_level="0" />
<permission cmd="st" permission_level="0" />
<permission cmd="aiddebug" permission_level="0" />
<permission cmd="spawnwanderinghorde" permission_level="0" />
<permission cmd="le" permission_level="0" />
<permission cmd="lp" permission_level="0" />
<permission cmd="cc" permission_level="0" />
<permission cmd="sc" permission_level="0" />
<permission cmd="sa" permission_level="0" />
<permission cmd="saveworld" permission_level="0" />
</permissions>
JackalTech May 1, 2016 @ 8:45pm 
Originally posted by TRU mbm:
I had the same damn issue. After you create the admin, and set permissions = to your level, sometimes you have to reinstall Alloc's Mod, then reboot the server.
This is the key to getting it working on Gameservers xml.

-Stop server.
-Change the config for severadmin.xml(Dropdown menu)
-Edit the xml, UNCHECK "restart server"!!!! <- Important
-Then do the above "Mod" update for Alloc(what its doing is restarting the entire program on server. The server is running it on Windows Server, and it stays open in tray even after "stop" server.
-After this mod is "updated"(already was) , the server should be up and admin will work. Follow his permission in his post. Add and subtract as needed.
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Jun 18, 2015 @ 2:01am
Posts: 6