-
Notifications
You must be signed in to change notification settings - Fork 21
Basic Server Configuration
This guide will step you through the process of configuring your Darkest Hour: Europe '44-'45 server.
Most configuration will be done by editing <INSTALL_DIR>\DarkestHour\System\DarkestHour.ini
and can be done in any text editor.
After opening DarkestHour.ini
find [UWeb.WebServer]
and set it to be enabled like so:
[UWeb.WebServer]
Applications[0]=xWebAdmin.UTServerAdmin
ApplicationPaths[0]=/ServerAdmin
Applications[1]=xWebAdmin.UTImageServer
ApplicationPaths[1]=/images
bEnabled=True
ListenPort=8075
After you have set up your WebAdmin, you can use it by navigating to: http://<your_server_ip>:8075
.
To be able to access the WebAdmin panel, you must provide an admin user/password. The admin file is in RO/System it is called xAdmin.ini. The server must not be running for you to edit this file.
In WebAdmin, you can enable the server to use map lists for voting (so players don't vote for undesired maps). You can also do this via the DarkestHour.ini
configuration file, but doing it from WebAdmin is easier. You will find the check box under Defaults > Map Voting
and look for Use MapLists
. To make sure the server properly saves this, shut down the server and restart.
You can edit the default map rotation in WebAdmin by adjusting which maps are on or off the rotation. Once finished click Save
and then Use
at the top. You may also configure multiple lists, if needed.
You'll probably want custom content on your server and therefore you will need a redirect to another host (can be a web host). Players will be redirected to download from this location instead of the server. Make sure the FDL location is accessible and put in the URL RedirectToURL
in DarkestHour.ini
.
Darkest Hour now comes with an admin mutator, which isn't fully supported yet, but can be useful for those that do a lot of in-game administration. There are a few ways to enable a mutator, the best way is as an argument in the launch command line. Enable the admin mutator as a mutator on the command line. For each new argument, you add a ?
to separate the arguments. For example:
ucc server DH-Brecourt.rom?game=DH_Engine.DarkestHourGame?MaxPlayers=64?Mutator=DH_AdminMenuMutator.DHAdminMenuMutator -log=ServerLog.log -mod=DarkestHour -ini=DarkestHour.ini
Next, if you want to enable certain menu options, you will need to add the following to the end of your DarkestHour.ini
file, and change options to True to enable them:
[DH_AdminMenuMutator.DH_AdminMenuMutator]
bParaDropPlayerAllowed=False
bShowRealismMenu=False
bBypassAdminLogin=False
The bParaDropPlayerAllowed option gives extra options to drop any player, including one in a vehicle, at any specified point in the map, including objectives. You may not want this on a public server, although it can be useful for moving a spawncamper who ignores warnings to move back. But it is certainly very useful on a test server for rapidly moving around the map.
The bShowRealismMenu option was originally for helping an admin to run a realism match. But it is probably more useful on a test server. The menu option to slow or speed up the game is especially useful in test. Apart from running a realism match, this option really has no place on a public server.
And you definitely do not want the bBypassAdminLogin option enabled on a public server - otherwise all players can use all thee admin options ! This is purely intended for a test server, to allow easy use of 'admin' options without needing to log in. Note that in single player mode, there is no need for admin login.
We recommend reducing the default map voting time from 70
seconds to 30
seconds. You can do this in WebAdmin under Defaults > Map Voting
and modifying Voting Time Limit
.
This wiki is a work in progress. If you require more in-depth support, please contact us on Discord.
- IMPORTANT: Disclaimer For Server Owners
- Dedicated Server Installation
- Basic Server Configuration
- Server Troubleshooting
- Debug & Admin Commands
- Programming Standards
- WOTgreal Installation
- WOTgreal Debugging
- Creating a Mutator
- Creating Custom Constructions