Adds HTTP matchmaking to Impostor
- Install Impostor first. You need version 1.8.0 or newer.
- Install ASP.NET Core Runtime 7 as well
- Download Impostor.Http.dll from the GitHub Releases and put it in Impostor's
plugin
folder - In the base Impostor configuration file, add a PluginLoader section to let Impostor find the AspNetCore files:
{
"PluginLoader": {
"LibraryPaths": ["/usr/share/dotnet/shared/Microsoft.AspNetCore.App/7.0.x"]
}
}
Where x
refers to the minor version of ASP.NET Core 7 you have installed.
- Finally, if you want to change the default configuration, you need to create a configuration file for this plugin. See the next section for this.
Configuration is read from the config_http.json
file or from environment variables prefixed with IMPOSTOR_HTTP_
. You can copy over this file for the default settings. These are the possible keys:
Key | Default | Description |
---|---|---|
ListenIp | 127.0.0.1 |
IP address to listen on. Use 127.0.0.1 if using a reverse proxy like nginx (recommended), use 0.0.0.0 if exposed directly (not recommended) |
ListenPort | 22000 | Port the HTTP matchmaking server is running on. |
UseHttps | false |
Set to true if using encrypted communication to your reverse proxy or if you're exposing this server directly to the internet (not recommended) |
CertificatePath | not set | If UseHttps is enable, set this property to the path of your SSL certificate. |