-
Notifications
You must be signed in to change notification settings - Fork 7
Server Port Offset
Aleksandar Ovcharov edited this page Jun 2, 2024
·
2 revisions
The Server Port Offset allows you to configure servers with specific port increments above a standard port number. This is useful for games or applications with unique networking needs.
-
Enter a Numeric Value: Input a number to set the offset. For example:
-
1
increments the server port by one above the base SERVER_PORT. -
0
disables this feature.
Example: With
SERVER_PORT
set to 3000 and the Server Port Offset as 1, the resulting port will be 3001. -
In addition to static values, you can reference other variables in your offset configuration for dynamic calculations based on other settings.
To set the QUERY_PORT
based on the SERVER_PORT_OFFSET
, add the following JSON configuration in the Default Variables fields:
{
"QUERY_PORT": "SERVER_PORT_OFFSET"
}