Skip to content
In-house anti-DDoS, included on VPS, game servers and web hosting · hosted in France · cancel anytime See our plans
CloudFive
Log in

01

serveradmin.xml and permission levels

The rights file is called serveradmin.xml (the AdminFileName property of the configuration). It is created on first launch in the saves folder, by default ~/.local/share/7DaysToDie/Saves of the user running the server: /opt/7dtd/.local/share/7DaysToDie/Saves/serveradmin.xml with the setup from the guide creating a 7 Days to Die server.

The file holds four lists:

  • users: players who have a permission level. Each line gives the platform (Steam, EOS, XBL or PSN), the player's ID on that platform and the level;
  • whitelist: as soon as it holds one entry, only listed players and admins can join;
  • blacklist: the bans;
  • commands: the level required for each command.

The rule fits in one sentence: a player can run any command whose level is equal to or above their own. Level 0 therefore gives all rights, and 1000 is a normal player's. A player missing from the file is at level 1000; a command missing from the file is at level 0, reserved for full admins.

The shipped file says so in a comment: it is better to change it through console commands (admin, ban, cp…) than in an editor. If you edit it by hand, do it with the server stopped, and keep a copy of the original.

02

Two consoles: F1 in game and telnet on the VPS

In game, the console opens with F1 on most keyboards. An admin types commands there with no prefix; a normal player only sees the commands open to their level work.

On the VPS, the server offers a telnet console, set in your configuration file (here monserveur.xml):

<property name="TelnetEnabled"  value="true"/>
<property name="TelnetPort"     value="8081"/>
<property name="TelnetPassword" value=""/>

According to the file's comments, without a password, telnet only listens on the server's local address. That is the setting to keep: nobody can connect from the Internet, and you reach it over SSH (see connecting to a VPS over SSH):

telnet 127.0.0.1 8081

To leave the session without stopping the server, use the telnet client's escape key, Ctrl+], then type quit. Be careful not to type shutdown out of habit: that command stops the server.

Setting a TelnetPassword makes telnet listen on every address. Telnet encrypts nothing, password included: never open port 8081 in the firewall. The server blocks a client after several wrong passwords (TelnetFailedLoginLimit), which is no substitute for a closed port.

The web dashboard (WebDashboardEnabled, port 8080 by default) is disabled on install. If you enable it, do not expose it either: use an SSH tunnel, for example ssh -L 8080:127.0.0.1:8080 vous@adresse-du-vps, and follow the comments in your configuration file for how to access it, which has changed across game versions.

03

Appoint admins and manage players

  • lp (listplayers): connected players, with their IDs, position and IP address. lpi (listplayerids): the IDs only.
  • admin add followed by the player's name, entity number or ID, then the level: admin add 171 0 gives all rights to the player whose entity number is 171. admin remove 171 removes them.
  • kick followed by the player and, if you like, a reason: kick 171 insultes. kickall kicks everyone.
  • ban add followed by the player, a duration, a unit (minutes, hours, days, weeks, months or years) and an optional reason: ban add 171 10 days triche. ban list shows bans, ban remove lifts one.
  • say "Restart in 10 minutes": a server message to all players.

The entity number changes from one session to the next: read it again with lpi just before using it. The exact syntax of a command is shown by help followed by its name (for example help ban): that is the reference to follow, since some commands change with game versions.

04

The world, the server and command permissions

  • saveworld (sa): saves the world. Run it before any restart or risky operation.
  • shutdown: stops the server. The service from the installation guide sends saveworld then shutdown over telnet on every systemctl stop.
  • gettime (gt): the in-game day and time. settime changes them, but the official wiki warns that it may break everything time-related in the save: back up first.
  • mem: shows the memory used by the server.
  • cp add, cp remove and cp list: manage the level required for each command. For example, cp add gettime 1000 opens gettime to all players.

For messages or saves at fixed times, a scheduled task can send these commands over telnet, as the service does on stop (see scheduled tasks on a VPS). Mods do not change these commands, but some add new ones: see installing mods on a 7 Days to Die server. For the game ports to open, see game server ports.

05

On CloudFive

CloudFive has no ready-made 7 Days to Die plan: the server is installed on a VPS, and managed as described in this guide. The Ryzen VPS, from €5.99 per month, is well suited:

  • an AMD Ryzen 9 9950X, with DDR5 memory and NVMe storage;
  • root access and a dedicated IPv4 address;
  • basic anti-DDoS protection included. The game-specific filter is part of Premium Protection, a paid option (see protecting a game server against DDoS).

The servers are in France, on our own network, monthly with no commitment, with support in French 7 days a week. To choose the VPS size, see which VPS for a game server and the gaming VPS page. Other guides of the same kind: Valheim admin commands and Project Zomboid admin commands.

06

Frequently asked questions

How do I become an admin on a 7 Days to Die server?

Join the game, open the server's telnet console from the VPS (telnet 127.0.0.1 8081), find your number with lpi, then type admin add followed by that number and level 0. The server writes it to serveradmin.xml.

Where is serveradmin.xml on a 7 Days to Die server?

In the saves folder, by default ~/.local/share/7DaysToDie/Saves of the user running the server on Linux. Its name is set by the AdminFileName property of the configuration file.

What do 7 Days to Die permission levels mean?

They range from 0, all rights, to 1000, a normal player. A player can run any command whose level is equal to or above their own; a command missing from serveradmin.xml is at level 0.

Do I need a telnet password on a 7 Days to Die server?

No, if you manage it from the VPS: without TelnetPassword, telnet only listens on the local address, which shields it from the Internet. With a password, it listens everywhere and without encryption; never open port 8081 in the firewall.

How do I ban a player on 7 Days to Die?

Type ban add followed by the player's name or number, a duration, a unit such as hours or days and an optional reason, for example ban add 171 10 days triche. ban list shows bans and ban remove lifts one.

Support CloudFive AI

An answer right away, a real team behind it.

CloudFive AI answers you at any hour, in seconds. When it doesn’t know, or as soon as you ask, the team that runs the machines takes over. No offshore call centre.

  • TicketThe team replies in under 2 hours, 7 days a week.
  • CloudFive AIAt any hour, on ia.cloudfive.fr, Discord and in your customer area.
  • DiscordThe team, the AI and other customers, in the help channel.
  • Your data stays with usAI runs on our servers in France; e-mails, IPs and passwords are masked.
A ticket in the customer area: a customer’s question about a Minecraft plugin, and the CloudFive team’s reply
A real ticket in the customer area, answered by the team (demo account; shown in French).
CUSTOMER AREA · APP

Your servers.
At your fingertips.

Restart a server, watch its resources live, pay an invoice or open a ticket — and get an alert when something goes wrong.

  • The status of all your services at a glance
  • Blocked attacks, filtered traffic, monthly peak
  • A notification when a server goes down or an invoice is due

App coming soon · in the meantime, everything works in your browser at manager.cloudfive.fr

The CloudFive app: the list of your services, with their status
The CloudFive app: the home screen, your services’ status, blocked attacks and an invoice to pay