# How to Configure Your Team Fortress Classic Server (/docs/team-fortress-classic/server-config)



import { Step, Steps } from 'fumadocs-ui/components/steps';
import { File, Folder, Files } from 'fumadocs-ui/components/files';

TFC runs on the **GoldSrc engine** (HLDS, SteamCMD App ID 90, launched with `-game tfc`). No GSLT required.

<Files>
  <Folder name="tfc" defaultOpen>
    <File name="server.cfg" />

    <File name="mapcycle.txt" />

    <Folder name="addons">
      <Folder name="amxmodx" />
    </Folder>
  </Folder>
</Files>

Editing server.cfg [#editing-servercfg]

<Steps>
  <Step>
    Open Files [#open-files]

    In the [XGamingServer Panel](https://panel.xgamingserver.com), click **Files** → `tfc/` → open `server.cfg`.
  </Step>

  <Step>
    Save and restart from Console. [#save-and-restart-from-console]
  </Step>
</Steps>

Key Settings [#key-settings]

```
hostname "My TFC Server"
sv_password ""
rcon_password "YourPassword"
sv_lan 0
sv_maxrate 25000
sys_ticrate 100
mp_timelimit 30
mp_friendlyfire 0
```

Classic Maps [#classic-maps]

```
2fort
well
rock2
dustbowl
hunted
avanti
```

Admin — AMX Mod X [#admin--amx-mod-x]

Install **AMX Mod X** for admin. Plugins in `addons/amxmodx/plugins/`.

Ports [#ports]

| Port      | Protocol  | Purpose     |
| --------- | --------- | ----------- |
| **27015** | UDP + TCP | Game + RCON |

Related Guides [#related-guides]

* [How to Connect](/docs/team-fortress-classic/join-server)
