๐ฎDeploying a Game Server
Last updated
Last updated
Before proceeding further, make sure you have upgraded your PlayFlow plan. โฌUpgrading your existing PlayFlow Plans
When you start a server on PlayFlow, you will receive a response with important information about your server. This documentation will help you understand the response structure and explain the values you receive when your server is running.
Upon starting a server, you will receive the following response:
To find out if your server is in a running state, use the GET Server Status API or the Unity Plugin to get the status of your server. Once your server is running, you should receive the following response:
match_id: A unique identifier for the game match or server instance.
status: The current status of the server, such as "launching" or "running."
region: The geographical region where the server is located, e.g., "us-east."
instance_type: The type or size of the server instance, e.g., "small."
server_arguments: Any additional command-line arguments passed to the server.
ssl_enabled: Indicates whether SSL is enabled (true
) or disabled (false
).
ip: The IP address assigned to the server.
ports: A dictionary containing the server's port mappings, with the key being the original port and the value being the assigned port.
server_url: The server's URL, which can be used to connect to the game.
playflow_api_version: The version of the PlayFlow API in use.
server_tag: A label for the server, such as "production" or "staging."
server_version: The version number of the server software.
If SSL is enabled, the port designated for WebGL clients will be "31722" (consistently corresponding to the port with 443 as its key). Utilize this port for secure WebSockets connections when establishing a connection to the server.
By understanding these response values, you can effectively manage your PlayFlow game servers and ensure a smooth gaming experience for your players. If you need more information or assistance, please refer to our comprehensive documentation and support resources available on our website.