Codename Eagle Nation

Hosting

Overview

If you want to host a regular game where you can play and others can join, all you need to do is make sure the appropriate ports are open and use the ingame menu to host.

Dedicated server

Hosting a dedicated server for Codename Eagle is fairly simple:

"C:\Games\CE\ce.exe" +host +dedicated +hostname "<Game Name>" +maxplayers <num> +map "<Map Name>" +game "<GameType>"

Obviously, use your Codename Eagle installation directory.

Example

"C:\Games\CE\ce.exe" +host +dedicated +hostname "my server" +maxplayers 17 +map "no mans land" +game "ctf"

The "maxplayers" option must be set to the maximum number of players you want to be able to join + 1 (the server itself counts as one), so for an 8-player server, use 9.

The "game" option can be either "ctf", "deathmatch" or "teamplay" (CTF meaning "Capture The Flag").

Docker

If you would rather not maintain a Windows box, there is a Docker image that runs the dedicated server under Wine:

docker pull ghcr.io/rexxars/codename-eagle-dedicated:1.50

The available versions are listed on GitHub.

Ports

Codename Eagle uses the following ports:

  • 24711 (UDP) - For actual gameplay.
  • 4711 (UDP) - Query port for game information (required for us (and CEServers.net) to list your server).

You can change the game port by providing the +host argument with a port number, eg +host 23456. The query port unfortunately cannot be changed, and must be open for your server to be listed on this website.