Instruction for Connecting Analytics and Installing the Agent for Lynal BDS Analytics

1. Registration and Server Creation on the Lynal BDS Analytics Service

  1. Service Registration Follow the link) to the Lynal BDS Analytics registration page and create an account.

    Lynal BDS Analytics website registration form with fields for email and password

  2. Creating a New Server In the control panel, click the button to add a game server:

    Control panel interface featuring a button to create a new serve

  3. Filling in Server Details Specify your server name, IP address or host, port, and time zone. This data is required for the service to correctly query and retrieve the accurate number of real-time players:

    Data entry window: name, IP, port, and time zone selection

  4. Selecting the Serve Find and select your newly created server from the list:

    List of connected servers inside the Lynal control panel

  5. Obtaining Agent Credentials Go to the server settings section. Keep this page open and note the block containing the agent data (X_AGENT_TOKEN and SERVER_ID) — you will need them in the next step.

    Server settings page displaying the agent token and server ID

2. Выбор типа установки агента

2. Installing the Agent on the Game Server

For users on the Windows OS, please follow this guide.

  1. Downloading Required Files Download the agent script and the static binary curl file to your computer:

  2. Editing the Script Open the downloaded bedrock_server.sh file in a text editor (e.g., Notepad, Notepad++, or VS Code).

    Process of opening the script file in a text editor

  3. Configuring Variables Go back to the open server settings browser page. Copy the values and paste them into the script inside the empty quotes for the X_AGENT_TOKEN and SERVER_ID variables, then save the changes.

    Adding the token and server ID into the script configuration lines

  4. Stopping the Server Completely stop your Minecraft Bedrock game server before continuing with the tasks.

  5. Creating a Backup ⚠️ Make sure to create a backup of all your game server files before making any modifications

  6. Connecting to the Server Connect to your game server's file system using FTP or SFTP protocol (WinSCP or any other convenient FTP/SFTP client is recommended).

  7. Locating the Executable File Find the original server executable file in the root directory. It is typically named bedrock_server (on Linux) or server.

  8. Preparing the Agent File Rename the modified bedrock_server.sh file on your computer so that its name matches the exact name of your server's original executable file.

    • Example: bedrock_server.sh ➡️ bedrock_server
  9. Renaming the Original File On the game server itself, rename the original file exactly to bedrock_server_original. The name must be exactly as follows:

    • Example: bedrock_server ➡️ bedrock_server_original
  10. Uploading Files to Hosting Upload the prepared bedrock_server file (which is the renamed agent script) and the curl-amd64 file into the root directory of your game server.

  11. Opening File Properties In WinSCP, right-click the uploaded bedrock_server file and select "Properties":

    WinSCP window with context menu and file properties window open

  12. Granting Execution Permissions (Crucial!) In the properties window, check the launch/execute permissions (X) for the bedrock_server file. Click "OK" to save. Repeat the exact same action for the curl-amd64 file:

    Setting execution checkmarks (Execute / X) inside the file permissions settings

  13. Verifying File Structure Make sure that the following files are now present in the root folder of your game server:

    • bedrock_server — agent-wrapper (our configured shell script)
    • bedrock_server_original — the original Minecraft game server executable file
    • curl-amd64 — compiled static curl binary used to transmit data to the analytics backend

    File list in the server root verifying correct naming conventions and the presence of curl

  14. Startup and Verification You're all set! Start your game server using your usual startup command. It will now automatically begin collecting and passing connection logs to the Lynal BDS Analytics service.