Days to Die Server Commands & Admin Console Guide
This guide explains the full set of Days to Die server commands and how to use the admin console, covering everything from enabling cheats to managing players, items, and world settings. You’ll learn the exact command syntax, how to grant admin rights, and how to troubleshoot common console issues.
What Is the Admin Console?
The admin console in Days to Die is a command-line interface built into both dedicated servers and single-player games. It lets you execute commands to spawn items, teleport, adjust game settings, manage player permissions, and control the world state. In single-player, you can open it by pressing F1 (or the tilde key on some keyboards). On a dedicated server, you access it through the server console window or via a remote tool like Telnet or RCON, depending on your setup.
To use admin commands, you must first have admin privileges. On a dedicated server, you add your Steam ID to the admin.xml file. In single-player, you enable cheats by selecting “Cheats Enabled” in the game options or by adding -cheat to the launch options.
Essential Commands You’ll Use Daily
Here are the most common commands, grouped by function. All commands are typed in the console and are case-insensitive.
- Give / Spawn Items:
give <item name> <count>– e.g.,give wood 500. For quality items, usegivequality <item> <quality> <count>. - Teleport:
teleport <x> <y> <z>orteleport <player name>to teleport to a player. Useteleportplayer <player>to bring a player to you. - Time and Weather:
settime <hour>(0-23),setweather <weather>(e.g., clear, fog, rain). - Player Management:
kick <player> <reason>,ban <player> <days> <reason>,unban <player>,givexp <player> <amount>. - World and Gameplay:
sa(save world),shutdown(stop server),gettime(show current time),listplayers(show online players). - Admin and Debug:
debugmenu(opens debug menu),buff <buff name>(apply a status effect),weathersurvival(toggle weather effects).
For a complete list, type help in the console. It shows all available commands and their syntax.
How to Grant Admin Rights
On a dedicated server, admin rights are granted via the admin.xml file located in the server’s Save folder. The file contains lines like:
<adminTools>
<admins>
<admin steamID="76561198000000000" permission_level="0" />
</admins>
</adminTools>
Replace the Steam ID with the player’s 17-digit Steam ID (find it via websites like steamid.io). Permission level 0 is full admin, 1 is moderator (can kick/ban but not use all commands). After editing, restart the server or use the reloadadmin command in the console to apply changes without a restart.
In single-player, enabling cheats gives you admin rights automatically. You can also add yourself as admin in the same file if you host a dedicated server from your own machine.
Setting Up a Dedicated Server for Admin Use
To run a dedicated server, you can use the dedicated_server tool that comes with the game (in the game’s installation folder). Start it, and it generates a serverconfig.xml file where you set the server name, password, and other settings. Key settings for admin:
AdminFileName– points to your admin.xml file (default is “admin”).TelnetPort– enables remote console access (e.g., 8081). You can connect via Telnet to issue commands.ControlPanelEnabled– enables the web control panel (if you want a GUI).
Once the server is running, you can open the console window directly (if you have physical access) or connect via Telnet using a client like PuTTY. The console accepts the same commands as single-player.
Common Problems and How to Fix Them
Many players run into issues with commands not working. Here are the most frequent ones:
- “Command not found” – You likely mistyped the command or it’s not available in your version. Check the
helplist. - “You don’t have permission” – You’re not in the admin list, or your permission level is too low. Verify your Steam ID in admin.xml and that you’ve reloaded it.
- Item names not working – Use the exact internal name (e.g.,
resourceWood, not “wood”). You can find names in the game’s XML files or use thelistitemscommand to see all item names. - Teleport coordinates off – Coordinates are in meters, and Y is vertical. Use
getpositionto see your current position. - Server console not showing commands – If you’re using Telnet, ensure the port is open and you’re connected properly. Some hosts disable Telnet; use RCON instead.
Safety and Best Practices
Admin commands are powerful and can break your world if misused. Always back up your save files before experimenting. When giving items, be careful with huge counts – they can cause lag or crashes. When using settime, avoid setting extreme values that might break quests. Also, never share your admin password or Steam ID publicly, as that gives others control over your server.
For servers, use a strong password for Telnet/RCON and restrict access to trusted IPs if possible. Regularly update your server to the latest version to avoid bugs.
Frequently Asked Questions
How do I open the console in Days to Die?
Press F1 (or the tilde key ~) on your keyboard. On some keyboards, you may need to press Shift+F1. The console opens at the top of the screen. Type commands and press Enter.
Why can’t I use admin commands on my dedicated server?
You likely haven’t added your Steam ID to the admin.xml file. Find your Steam ID (e.g., via steamid.io), add it with permission_level=”0″, save the file, and run reloadadmin in the console or restart the server.
What is the command to spawn a specific item with quality?
Use givequality <item name> <quality> <count>. For example, givequality gunM60 6 1 gives you a quality 6 M60. Quality ranges from 1 to 6 (or higher with mods).
How do I teleport to my friend’s location?
Use teleport <player name>. If the name has spaces, put it in quotes: teleport "John Doe". You must be an admin to teleport.
Can I use admin commands in multiplayer without being the host?
Only if you are added as an admin in the server’s admin.xml file. The host or server owner must grant you admin rights. Otherwise, commands will be ignored.
What does the “debugmenu” command do?
It opens a debug menu that shows entity info, allows you to spawn entities, and gives access to advanced tools like flying. It’s useful for testing but can be overwhelming. Press F1 again to close it.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.