Source Query - Alderon-Games/pot-community-servers GitHub Wiki

Important Note: SourceQuery is only implemented in Patch 17051 or higher.

You can use Source Query protocol to fetch additional information about your server like how many players are online.

Important Note: The server must be stopped / restarted for these changes to take effect.

  1. Inside the WindowsServer folder, edit the Game.ini file. Path: /Config/WindowsServer/Game.ini
  2. Underneath the [SourceQuery] header, create the entries specified in the below example.

Example Game.ini

[SourceQuery]
bEnabled=true
Port=0
IP="0.0.0.0"

Config Information

  • When IP is set to 0.0.0.0 will bind to all local addresses, if you want it to only bind to one adapter please insert that local address there instead.
  • A default port of 0 will auto determine the port which will be Game Server Port + 4.
7777 = Default Game Port
7778 = (Reserved) + 1
7779 = Default Source Rcon Port + 2
7780 = Default Stats Port + 3
7781 = Default Source Query Port + 4

Options via Command Line

You can also specify the IP and Port via command line. -QueryPort=7778 -QueryIP=0.0.0.0