Skip to content

bot-beep-boop/Impostor.Http

 
 

Repository files navigation

Impostor.Http

Adds HTTP matchmaking to Impostor

Installation

  1. Install Impostor first. You need version 1.8.0 or newer.
  2. Install ASP.NET Core Runtime 7 as well
  3. Download Impostor.Http.dll from the GitHub Releases and put it in Impostor's plugin folder
  4. 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.

  1. 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

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.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C# 100.0%