Skip to content

Instantly share code, notes, and snippets.

@Dids
Last active April 16, 2023 12:28
Show Gist options
  • Star 11 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Dids/9564a693bb5b40cc0773cf8a5f07b4c1 to your computer and use it in GitHub Desktop.
Save Dids/9564a693bb5b40cc0773cf8a5f07b4c1 to your computer and use it in GitHub Desktop.
Conan Exiles dedicated server configuration

For a simple, default server setup, open ports 7777/UDP, and 27015/UDP in your firewall.

  • Port=7777 (game data)
  • QueryPort=27015 (Steam queries)

Be sure to run the server (StartServer.bat) once, so it can generate the initial config files!


It is best to combine this configuration with the batch file setup here (so add the ConanSandboxServer.exe params to a new start.bat file instead)!


StartServer.bat

Single server (simple)

ConanSandboxServer.exe -log

Multiple servers (advanced)

ConanSandboxServer.exe -log -MaxPlayers=50 -Port=7777 -QueryPort=27015 -usedir=SERVER1
ConanSandboxServer.exe -log -MaxPlayers=50 -Port=7779 -QueryPort=27017 -usedir=SERVER2
ConanSandboxServer.exe -log -MaxPlayers=50 -Port=7781 -QueryPort=27019 -usedir=SERVER3

IMPORTANT: When you assign the Port or QueryPort parameter, notice that the server uses/reserves the next available port, which we can't use. This means that for multiple servers, we need to skip N+1 ports for each new server running on the same machine. Also note that ports 27025, 27026 and 27027 seem to cause issues and should be avoided.

Finally note that you can also set these ports in the config files below and remove them from the command completely.

By using -usedir=SERVER, you can run multiple servers on a single installation, separating each server to their own configuration. (thanks to Xerrion for pointing this out)

You can also use -Multihome=IP.GOES.RIGHT.HERE if you want to bind to a specific IP address, but it shouldn't be necessary, as by default Conan binds to all available IP addresses.

--

ConanSandbox\Saved\Config\WindowsServer\Engine.ini

Add these new sections:

[URL]
Port=7777

[OnlineSubsystemSteam]
ServerQueryPort=27015
ServerName=Your awesome server name
ServerPassword=

NOTE: Note that Port and ServerQueryPort can be removed if you set these from the command line.

QueryPort in the command line is the same exact thing as ServerQueryPort in the config files.

--

ConanSandbox\Saved\Config\WindowsServer\ServerSettings.ini

Update (or add if missing) these if you want:

MaxAggroRange=1000
MaxNudity=2
ServerCommunity=2
IsBattlEyeEnabled=False
LogoutCharactersRemainInTheWorld=False
serverRegion=0
PVPEnabled=False
AdminPassword=YourAwesomePassword

Notes:

  • If any of the values or sections disappear from your config files, that means that they were set to the default values anyway, so it's still actually using them
  • MaxNudity=2 means full nudity
  • ServerCommunity=2 means "relaxed" (0 and 1 is "purity" etc.)
  • MaxAggroRange=1000 reduces NPC aggro from 9000 to 1000, which greatly improves performance
  • serverRegion=0 means Europe (0 and 1 is Europe, 2 is America and 3 is Asia) NOTE: This needs confirmation, getting conflicting reports
@Xerrion
Copy link

Xerrion commented Feb 14, 2017

When running multiple servers.
do this

ConanSandboxServer.exe -log -MaxPlayers=50 -Port=7777 -QueryPort=27015 -Multihome=YOUR.1ST.IP.HERE -usedir=SERVER1
ConanSandboxServer.exe -log -MaxPlayers=50 -Port=7779 -QueryPort=27017 -Multihome=YOUR.2ND.IP.HERE -usedir=SERVER2
ConanSandboxServer.exe -log -MaxPlayers=50 -Port=7781 -QueryPort=27019 -Multihome=YOUR.3RD.IP.HERE -usedir=SERVER3

By doing this you'll get 3 seperate server configurations on one server. Just be careful that you don't run out of RAM as the server eats around 3G of RAM each.
Also using -MultiHome is only need if you want to connect from LAN, the server automatically binds on 0.0.0.0 (all available IP's), which is often sufficient enough.

@Dids
Copy link
Author

Dids commented Feb 16, 2017

@Xerrion Thank you, I'll add that to the gist. :)

@cgarnier
Copy link

@Dids do you know how to make appears the server inside the server list ?

@lindsm
Copy link

lindsm commented Jun 25, 2017

Just set up a dedicated server using this. The ServerRegion 's were 0 EU, 1 America, 2, Oceania, 3 Asia. (I might have those last 2 reversed, will check later).

@Bigtimbers
Copy link

Hey Dids, thanks for all this great stuff.

I'm looking for a way to download and update mods for Conan Exiles.

Currently I know we can have SteamCMD download mods from the workshop using +workshop_download_item
but what i can't figure out is if it is possible to have steamCMD download a Workshop Collection. The previous command doesn't seem to want to work with downloading a workshop collection. Any idea if this is possible?
I could have sworn i saw a command to do it on some guide a while back but i haven't been able to find it for the life of me.
Thanks

@KP0H
Copy link

KP0H commented May 13, 2018

Do you know how to use query (api)? For example, I want to show status on my website.

@nzkfc
Copy link

nzkfc commented May 16, 2018

So I searched high and dam low all over the net for this info and could not find it, however I have validated on my server the following for severRegion=

0 = Europe
2 = Asia
3 = Oceania

I assume the follow but have not tested it:
NA and east/west europe as well as africa have their codes but cannot confirm these.

@Linearburn
Copy link

usedir=SERVER1<<< does this need to be a path Like usedir=D:\Conan\thisfolder?

@nurdism
Copy link

nurdism commented Jul 1, 2018

+1 on what -usedir=foo does, seems the arg isn't doing anything.

@lwt-pressy
Copy link

thx, for the info, but -usedir is false. The correct parameter ist -userdir (the "r" is missing). It requires a string for the directory name not the full path.

@irusski
Copy link

irusski commented Jul 21, 2021

is any option to put the map of isle of siptah? anybody knows how to do it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment