From 1eaa42f11ddf48554564dce0892d988fc3c34c68 Mon Sep 17 00:00:00 2001 From: IceOfWraith <96364530+IceOfWraith@users.noreply.github.com> Date: Sat, 29 Jan 2022 20:50:06 -0600 Subject: [PATCH] Update Port and MaxUsers Now uses the correct form for MaxUsers and utilizes ApplicationPort1 due to the latest feature. --- craftopia.kvp | 2 +- craftopiaconfig.json | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/craftopia.kvp b/craftopia.kvp index 675e99e..4f3d3f6 100644 --- a/craftopia.kvp +++ b/craftopia.kvp @@ -39,7 +39,7 @@ App.ApplicationPort1=6587 App.ApplicationPort2=0 App.ApplicationPort3=0 App.RemoteAdminPort=0 -App.MaxUsers=20 +App.MaxUsers=7 App.UseRandomAdminPassword=False App.RemoteAdminPassword=Password123 App.AdminMethod=STDIO diff --git a/craftopiaconfig.json b/craftopiaconfig.json index 7186e4c..f9ab5c4 100644 --- a/craftopiaconfig.json +++ b/craftopiaconfig.json @@ -48,12 +48,12 @@ } }, { - "DisplayName": "Port (REQUIRED)", - "Description": "Must match Application Port 1 in the ADS Edit Ports menu.", + "DisplayName": "Port", + "Description": "This setting is managed under the Edit Ports button in ADS.", "Category": "Server Settings", "Keywords": "port", - "FieldName": "port", - "InputType": "number", + "FieldName": "$ApplicationPort1", + "InputType": "hidden", "IsFlagArgument": false, "ParamFieldName": "Host.port", "IncludeInCommandLine": true, @@ -65,7 +65,7 @@ "Description": "Maximum number of player can join into the server.", "Category": "Server Settings", "Keywords": "max players", - "FieldName": "maxPlayerNumber", + "FieldName": "$MaxUsers", "InputType": "number", "IsFlagArgument": false, "ParamFieldName": "Host.maxPlayerNumber",