7 Days to Die

7 Days to Die

52 ratings
Server Admin File Setup
By Corrosion
This guide will help you set up your serveradmin.xml.

YOU CANNOT COPY AND PASTE YOUR ID, YOU MUST TYPE IT!!!!!
THE SERVER MUST BE CLOSED WHILE YOU'RE EDITING THE ADMIN FILE IN ORDER FOR IT TO WORK AND SAVE!!!!!

THIS WILL NO LONGER BE UPDATED DUE TO ME WORKING ON MY OWN PROJECTS.
 
Rate  
Favorite
Favorited
Unfavorite
Your ServerAdmin.xml File
Your file should look something like this:

<?xml version="1.0" encoding="UTF-8"?>
<!--
This file holds the settings for who is banned, whitelisted,
admins, moderators, 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.

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.
-->

<adminTools>
<admins>
<admin steamID="76561198033982035" permission_level="1" />
</admins>

<moderators>
<moderator steamID="76561198120787862" permission_level="5" />
<moderator steamID="76561197977063744" permission_level="5" />
<moderator steamID="76561197984168833" permission_level="5" />
<moderator steamID="76561198037120471" permission_level="5" />
</moderators>

<permissions>
<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" />
</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 once whitelist only mode is enabled -->

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

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

Make sure you replace all of the steam ids within the lines to your steam id and the ids of your moderators.
Permission System Explained
PERMISSION LEVEL INSTRUCTIONS:
===============================================================
permission level : 0-1000, a user may run any command equal to or above their permission level.

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.
-->

This basically means that on your server, your permission level should be equal to or less than anything you want to be able to do in the console in game. So you should probably set it to a "1".
From there, set up your commands you wish others to have with a certain permission. As you can see above, some commands are available to me + my moderators, where others are only available to me.In order to add yourself and your moderators to their positions, use the link above and use the steam64 id.
Common Commands
se: Spawn Entity, a list will appear of connected players and all the entities you can spawn
Example: se 172 35 (spawn entity @ Corrosion Crate)
kick: Kicks target player
Example: kick Corrosion
ban: Bans target player
Example: Ban Corrosion
st: Set Time
Example: st 1000

A large list can be found here.
http://7daystodie.gamepedia.com/Command_Console
< >
71 Comments
Doublee (EE) May 15, 2017 @ 9:44am 
Propazition sounds like might be a good thing :)
Doublee (EE) May 15, 2017 @ 9:43am 
I just realized i put "can" and not "cant". Lol. No problem. I did find the issue. If you have your Save Game folder changed, you cant use "spaces" in the filename. Otherwise the serveradmin.xml won't read :) Thanks.
Corrosion  [author] May 15, 2017 @ 8:36am 
Ummm... okay?
Fatal_Pyro May 15, 2017 @ 1:54am 
add me i have a propazition for you if you do ik you are interested send me a message so ik for sure thanks
Corrosion  [author] Dec 8, 2016 @ 3:00pm 
Some of the commands are extremely buggy. Also, I just got a new pc and don't have any of the 7dtd stuff on here so I am unable to do that right now, sorry. I only have a few games installed.
Doublee (EE) Dec 8, 2016 @ 2:38pm 
@Corrosion - Can you please help me with my admin file? My admins cant use the "admin" command. I have them in the SteamIDs as you can see but it doesn't seem to work. Can you please post and example of yours in a pastebin? Here is mine: http://pastebin.com/eVuhNbJE
Sylvester the puddy tat Nov 11, 2016 @ 12:10pm 
i fixed it its all good now
Mr. n Nov 11, 2016 @ 6:19am 
I asked where is his file, also at my Windows build it is NOT at the server setup folder (which is the Game's main directory under \Steam\steamapps\common\7 Days To Die\ , but at %AppData%\7DaysToDie\Saves .
Corrosion  [author] Nov 11, 2016 @ 6:13am 
It needs to be in the same exact place as the server setup one.
Mr. n Nov 11, 2016 @ 1:03am 
Statingthread, it sounds like it's not getting your file at all - where is the XML file you've created placed?