Skip to content
/SLASHPLAY

How to disable random class in Day of Defeat: Source

Add mp_allowrandomclass 0 to dod/cfg/server.cfg.

mp_allowrandomclass

Lets players pick Random in the class menu. On by default.

mp_allowrandomclass <0|1>

Examples

mp_allowrandomclass 0

No random class.

Values

ValueWhat it does
0 Off
1Default On

Arguments

0|1Required
1 turns it on, 0 turns it off.

What it does

Turn it off if you want every player to choose a class themselves.

Good to know

  • To keep it after a restart, add mp_allowrandomclass 0 to dod/cfg/server.cfg in the file manager (Advanced, then Files).

Run it on your server

On a SLASHPLAY server, type it in the Console tab of the server page; the reply shows right under it. A value set there lasts until the server restarts. To keep it, add the line to dod/cfg/server.cfg. New to this? Start a DoD:S server first.

Your own
DoD:S server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.