Server: serveradmin.xml

From 7 Days to Die Wiki
Jump to navigation Jump to search

serveradmin.xml

The serveradmin.xml file holds the settings for who is banned, whitelisted, admins and server command permissions.

Default Settings

Below serverconfig.xml taken from 7 Days to Die version Alpha 20 Stable B238.

<?xml version="1.0" encoding="UTF-8"?>
<!--
   This file holds the settings for who is banned, whitelisted,
   admins and server command permissions. The admin and whitelist sections can contain
   both individual Steam users as well as Steam groups.

   STEAM ID INSTRUCTIONS:
   ===============================================================
   You can find the SteamID64 of any user with one of the following pages:
   https://steamdb.info/calculator/, https://steamid.io/lookup, http://steamid.co/
   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

   STEAM GROUP ID INSTRUCTIONS:
   ===============================================================
   You can find the SteamID64 of any group by taking its address and adding
     /memberslistxml/?xml=1
   to the end. You will get the XML information of the group which should have an entry
   memberList->groupID64.
   Example: The 'Steam Universe' group has the address
     https://steamcommunity.com/groups/steamuniverse
   So you point your browser to
     https://steamcommunity.com/groups/steamuniverse/memberslistxml/?xml=1
   And see that the groupID64 is 103582791434672565.

	  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>
  <!-- Name in any entries is optional for display purposes only -->
  <admins>
    <!-- <user steamID="76561198021925107" name="Hint on who this user is" permission_level="0" /> -->
    <!-- <group steamID="103582791434672565" name="Steam Universe" permission_level_default="1000" permission_level_mod="0" /> -->
  </admins>
  <permissions>
    <!-- <permission cmd="dm" permission_level="0" /> -->
    <!-- <permission cmd="kick" permission_level="1" /> -->
    <!-- <permission cmd="say" permission_level="1000" /> -->
    <permission cmd="chunkcache" permission_level="1000" />
    <permission cmd="debugshot" permission_level="1000" />
    <permission cmd="debugweather" permission_level="1000" />
    <permission cmd="getgamepref" permission_level="1000" />
    <permission cmd="getgamestat" permission_level="1000" />
    <permission cmd="getoptions" permission_level="1000" />
    <permission cmd="gettime" permission_level="1000" />
    <permission cmd="gfx" 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="1000" />
    <permission cmd="settempunit" permission_level="1000" />
  </permissions>
  <whitelist>
    <!-- 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 -->
    <!-- Name is optional for display purposes only -->
    <!-- <user steamID="" name="" /> -->
    <!-- <group steamID="" name="" /> -->
  </whitelist>
  <blacklist>
    <!-- <blacklisted steamID="" name="" unbandate="" reason="" /> -->
  </blacklist>
</adminTools>

Options

Up-to-date as of Alpha 20 Stable B238.

Option Description Default Value
admin Manage user permission levels 0
AdminSpeed as AdminSpeed 0
ai AI commands 0
aiddebug Toggles AIDirector debug output. 0
audio Watch audio stats 0
automove Player auto movement 0
ban Manage ban entries 0
bents Switches block entities on/off 0
buff Applies a buff to the local player 0
buffplayer Apply a buff to a player 0
camera cam Lock/unlock camera movement or load/save a specific camera position 0
chunkcache cc shows all loaded chunks in cache 1000
chunkobserver co Place a chunk observer on a given position. 0
chunkreset cr resets the specified chunks 0
clearJunkDroneData clearjd clears the player junkDrone data. 0
commandpermission cp Manage command permission levels 0
creativemenu cm enables/disables the creativemenu 0
debuff Removes a buff from the local player 0
debuffplayer Remove a buff from a player 0
debugmenu dm enables/disables the debugmenu 0
debugshot dbs Usages: debugshot [save perks] Lets you make a screenshot that will have some generic info on it and a custom text you can enter. Also stores a list of your current perk levels in a CSV file next to it if the optional parameter 'save perks' is set to true 1000
debugweather Dumps internal weather state to the console. 1000
decomgr 0
dms Gives control over Dynamic Music functionality. 0
dof Control DOF 0
Dynamic mesh zz Dynamic mesh 0
Dynamic mesh debug zd Dynamic mesh debug 0
exhausted Makes the player exhausted. 0
exportcurrentconfigs Exports the current game config XMLs 0
exportprefab Exports a prefab from a world area 0
floatingorigin fo 0
fov Camera field of view 0
gamestage Shows the gamestage of the local player 0
getgamepref gg Gets game preferences 1000
getgamestat ggs Gets game stats 1000
getlogpath glp Get the path of the logfile the game currently writes to 0
getoptions Get game options 1000
gettime gt Gets the current game time 1000
gfx Graphics commands 1000
givequest usage: givequest questname 0
giveself usage: giveself itemName [qualityLevel=6] [count=1] [putInventory=false] [spawnWithMods=true] 0
giveselfxp usage: giveselfxp 10000 0
help Help on console and specific commands 1000
kick Kicks user with optional reason. "kick playername reason" 0
kickall Kicks all users with optional reason. "kickall reason" 0
kill Kill a given entity 0
killall Kill all entities 0
lgo listgameobjects List all active game objects 0
lights Light debugging 0
listents le lists all entities 0
listplayerids lp lists all players 1000
listthreads lt lists all threads 1000
loggamestate lgs Log the current state of the game 0
loglevel Telnet/Web only: Select which types of log messages are shown 0
mapdata Writes some map data to an image 0
mem Prints memory information and unloads resources or changes garbage collector 0
memcl Prints memory information on client and calls garbage collector 1000
networkclient netc Client side network commands 0
networkserver nets Server side network commands 0
newave Test new HD stuff. 0
occlusion Control OcclusionManager 0
pirs tbd 0
placeblockrotations pbr Places all rotations of the currently held block 0
placeblockshapes pbs Places all shapes of the currently held variant helper block 0
pois Switch distant POIs on/off 0
prefab Prefab commands 0
prefabupdater 0
profilenetwork Writes network profiling information 0
profiling Enable Unity profiling for 300 frames 0
removequest usage: removequest questname 0
repairchunkdensity rcd check and optionally fix densities of a chunk 0
resetallstats Resets all Steam achievement stats (and achievements when parameter is true) 0
saveworld sa Saves the world manually. 0
say Sends a message to all connected clients 0
ScreenEffect Sets a screen effect 0
setgamepref sg sets a game pref 0
setgamestat sgs sets a game stat 0
settargetfps Set the target FPS the game should run at (upper limit) 0
settempunit stu Set the current temperature units. 1000
settime st Set the current game time 0
show Shows custom layers of rendering. 0
showalbedo albedo enables/disables display of albedo in gBuffer 0
showchunkdata sc shows some date of the current chunk 0
showClouds Artist command to show one layer of clouds. 0
showhits Show hit entity locations 0
shownexthordetime Displays the wandering horde time 0
shownormals norms enables/disables display of normal maps in gBuffer 0
showspecular spec enables/disables display of specular values in gBuffer 0
showswings Show melee swing arc rays 0
showtriggers Sets the visibility of the block triggers. 0
shutdown shuts down the game 0
sleeper Show sleeper info 0
sleeperreset Show sleeper info 0
smoothworldall swa Applies some batched smoothing commands. 0
spawnairdrop Spawns an air drop 0
spawnentity se spawns an entity 0
spawnentityat sea Spawns an entity at a give position 0
spawnscouts Spawns zombie scouts 0
SpawnScreen Display SpawnScreen 0
spawnsupplycrate Spawns a supply crate where the player is 0
spawnwanderinghorde spawnwh Spawns a wandering horde of zombies 0
spectator spectatormode sm enables/disables spectator mode 0
spectrum Force a particular lighting spectrum. 0
stab stability 0
starve hungry food Makes the player starve (optionally specify the amount of food you want to have in percent). 0
switchview sv Switch between fpv and tpv 0
SystemInfo List SystemInfo 0
teleport tp Teleport the local player 0
teleportplayer tele Teleport a given player 0
testDismemberment tds Dismemberment testing toggled. 0
testloop Test code in a loop 0
thirsty Makes the player thirsty (optionally specify the amount of water you want to have in percent). 0
tppoi 0
traderarea ... 0
trees Switches trees on/off 0
twitch usages: twitch <command> <params> 0
updatelighton Commands for UpdateLightOnAllMaterials and UpdateLightOnPlayers 0
version Get the currently running version of the game and loaded mods 0
visitmap Visit an given area of the map. Optionally run the density check on each visited chunk. 0
water Control water settings 0
weather Control weather settings 0
weathersurvival Enables/disables weather survival 0
whitelist Manage whitelist entries 0
wsmats workstationmaterials Set material counts on workstations. 0
xui Execute XUi operations 0

See also