From 160db833ff7bd1b98cb4a13a92585db6414b3ef7 Mon Sep 17 00:00:00 2001 From: Mathieu <41872826+CosmicServal@users.noreply.github.com> Date: Thu, 16 Aug 2018 00:52:04 +0200 Subject: [PATCH] Fix port used for startup. Replace {{DEFAULT_PORT}} by {{SERVER_PORT}} --- xonotic/xonotic/egg-xonotic.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xonotic/xonotic/egg-xonotic.json b/xonotic/xonotic/egg-xonotic.json index 342d473a..82892145 100644 --- a/xonotic/xonotic/egg-xonotic.json +++ b/xonotic/xonotic/egg-xonotic.json @@ -8,7 +8,7 @@ "author": "parker@parkervcp.com", "description": "This is for the default xonotic setup.", "image": "quay.io\/pterodactyl\/core:source", - "startup": ".\/xonotic-linux64-dedicated +log_file latest.log +net_address 0.0.0.0 +port {{DEFAULT_PORT}} +maxplayers {{MAX_PLAYERS}}", + "startup": ".\/xonotic-linux64-dedicated +log_file latest.log +net_address 0.0.0.0 +port {{SERVER_PORT}} +maxplayers {{MAX_PLAYERS}}", "config": { "files": "{\r\n \"tshock\/config.json\": {\r\n \"parser\": \"json\",\r\n \"find\": {}\r\n }\r\n}", "startup": "{\r\n \"done\": \"Server listening on address 0.0.0.0:\",\r\n \"userInteraction\": []\r\n}", @@ -33,4 +33,4 @@ "rules": "required|numeric|digits_between:1,3" } ] -} \ No newline at end of file +}