Skip to content

Day of Defeat: Source: Become an Admin

Find out how to grant admin privileges, take full control of your server, and manage in-game features effectively → Learn more

10 November 20262 min read1 Views0 helpful

Introduction

Granting administrator privileges makes it easy to manage your server and gives you full control. As an admin, you can use all the options and features available in the game directly in-game. The steps you need to follow to grant admin privileges on your server are described below.

Configuration

To register yourself as an admin, you must install SourceMod or MetaMod. You also need your Steam account's Steam ID. There are several ways to find it: you can use an external website that offers this service, or retrieve it directly from the in-game console.

To get your SteamID from a website, first open your Steam profile and right-click anywhere on the page to copy the profile URL. Then paste the URL into one of the following websites:

The website will show your SteamID along with other account information. You need the SteamID32 to register as an admin:

Code
steamID32: STEAM_0:1:XXXXXX

Alternatively, you can retrieve your SteamID in-game using the console. Start the game, connect to your server, open the console, and enter the command:

Code
status

This displays your connection details, including your SteamID. Then connect to the server via SFTP, or open the file manager under Files, and open the admins.cfg file located at:

Code
.../addons/sourcemod/configs/

The file contains a sample entry that you can copy and customize:

Code
Admins
{
	"Player name"
	{
		"auth" "steam"
		"identity" "STEAM_0:1:XXXXX"
		"flags" "abcdef"
	}
}

The player name does not have to match your Steam account name; it is only used as an internal reference. The auth field defines the authentication method, which should remain set to steam. Enter your SteamID32 in identity. The flags determine the permissions assigned to the admin:

PermissionFlagDescription
reservationaSlot reservation
genericbBasic permissions (required)
kickcKick players
bandBan players
unbaneUnban players
slayfKill or slap players
changemapgChange the map
cvarhChange server values
configiExecute server configurations
chatjAdvanced chat permissions
votekStart admin votes
passwordlSet the server password
rconmRun RCON commands
cheatsnEnable sv_cheats
rootzFull access

You can combine multiple flags (e.g., bc for kick permissions). To grant full access, use only z. Open the admin menu by entering admin in chat or sm_admin in the console.

Admin Commands

Here is a list of common admin commands you can use as an admin on your server.

CommandDescription
sm_kick <player>Kicks a player
sm_ban <player> <time> [reason]Bans a player for X minutes (0 = permanent)
sm_unban <SteamID/IP>Unbans a player
sm_slay <player>Instantly kills the player
sm_slap <player> [damage]Slaps the player (optionally with damage)
sm_map <mapname>Changes to the specified map
sm_cvar <cvar> <value>Sets a server configuration variable at runtime
sm_vote <topic>Starts a simple vote
sm_restartgame <seconds>Restarts the game after a countdown
sm_say <message>Sends a message to global chat

FAQ

Frequently asked questions

You need to install SourceMod or MetaMod and have your SteamID32. Find it on a site such as steamrep.com, steamidfinder.com, or steamid.io, or enter the status command in the in-game console.
Add them in admins.cfg, located at .../addons/sourcemod/configs/. The file uses the auth (steam), identity (SteamID32), and flags (permissions) fields.
The z flag (root) grants full access.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 0 Users found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.