NEW 📢 Limited launch offer: up to 70% off your first month on every game!See plans

How to use the Console and commands on your DDNet server

DDNet (DDraceNetwork)Updated Oct 23, 20265 min read

Open the Console tab and type a DDNet command, for example status, then press Enter. The panel hands it to the game as an admin command, with no login. The same commands work in the game after an admin login with F2.

Send a command

  1. Open your server in the panel and click the Console tab. The server must be running.
  2. Type the command in the box at the bottom and press Enter.
  3. DDNet's answer appears in the Console, for example the player list after status.
The Console tab of a DDNet server with a typed status command and the command box

If you send a command in the first seconds after a start, the Console may say [PlayNHost] The server is still starting; send that again in a moment. Wait until the start lines are through and send it again.

Lines you will see

LineWhat it means
server name isThe server has loaded. The panel shows Online.
register/6/ipv4: successfully registeredListed in the DDNet server browser. register/7 is the same for Teeworlds 0.7.
[PlayNHost] Updating DDNet toA new DDNet release is being installed before the start.
[PlayNHost] Made 0.7 copies ofMaps prepared for Teeworlds 0.7 players.
[PlayNHost] Server Map ... is not in data/mapsThe start map is missing, so the server starts on Tutorial.
[PlayNHost] Renamed mapA map saved by a DDNet client got its plain name.

Players

CommandWhat it does
statusLists the players, each with an id such as 3.
kick 3Kicks player 3. You can add a reason: kick 3 Please be nice.
ban 3 60Bans player 3's address for 60 minutes.
bansLists the bans, each with a number.
unban 0Lifts ban number 0. unban with an address works too.
muteid 3 300Mutes player 3 in chat for 300 seconds.
mutes and unmuteid 3Lists the mutes, and lifts the mute of player 3.

Steps: How to kick or ban a player on your DDNet server and How to stop chat spam and mute players on your DDNet server.

Maps and votes

CommandWhat it does
change_map "Gold Mine"Switches to that map now. Quotes when the name has spaces.
reloadLoads the current map again.
add_vote "Map: Gold Mine" "change_map \"Gold Mine\""Adds a vote players can call.
remove_vote "Map: Gold Mine"Removes that vote.
votesLists the votes.
vote yes or vote noEnds the running vote with that result.

Right after an upload, wait for the 0.7 badge on the Maps page before you switch to the map: How to let Teeworlds 0.7 players join your DDNet server.

Messages

CommandWhat it does
say Hello everyoneA chat message to everyone.
broadcast The map changes soonA message across every player's screen.
server_alert Restart in 5 minutesAn alert message to every player.

The server

CommandWhat it does
sv_nameA setting without a value shows its current value.
sv_name "Friday race"Changes a setting until the next restart.

Settings you type here last only until the server restarts. To keep one, put it in myServerconfig.cfg: How to add your own settings to your DDNet server. Change the server name, password, start map and staff passwords on Game Settings instead.

Every DDNet setting and command is listed on ddnet.org, on its Settings and Commands page. More about the panel's console in general: How to use the console and run commands.

Commands from Quick Tasks

Quick Tasks in the left menu runs some of these with a click: Change Map, Announce to Players, List Players, Kick Player and Ban Player. See How to run admin commands and moderate players on your DDNet server.

Already hosting it somewhere else? Move your server to us

CREATE YOUR GAME SERVER
READY TO GET STARTED?

Save up to 30% on your new game server.
Premium performance, instant activation, and unbeatable reliability all at a better price.

OUR LATEST BLOGS