Skip to content

Commit ce4fbb2

Browse files
committed
Multi Theft Auto: San Andreas: tweak httpserver setting
1 parent 30409ac commit ce4fbb2

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

mta-sa.kvp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Meta.Prerequisites=[]
2121
Meta.ExtraContainerPackages=["libncursesw6"]
2222
Meta.ConfigReleaseState=NotSpecified
2323
Meta.NoCommercialUsage=False
24-
Meta.ConfigVersion=2
24+
Meta.ConfigVersion=3
2525
Meta.ReleaseNotes=
2626
Meta.BreakingReleaseNotes=
2727
Meta.AppConfigId=d8cf52eb-32a0-4cca-9b2f-af2d87888fe4
@@ -35,7 +35,7 @@ App.ExecutableLinux=server/mta-server64
3535
App.WorkingDir=server
3636
App.LinuxCommandLineArgs=
3737
App.WindowsCommandLineArgs=
38-
App.CommandLineArgs={{$PlatformArgs}} -u -n --port {{$ServerPort}} --httpport {{$ServerPort}} --maxplayers {{$MaxUsers}} {{$FormattedArgs}}
38+
App.CommandLineArgs={{$PlatformArgs}} -u -n --port {{$ServerPort}} --httpport {{$ServerPort}} --httpserver {{httpserver}} --maxplayers {{$MaxUsers}} {{$FormattedArgs}}
3939
App.UseLinuxIOREDIR=False
4040
App.AppSettings={}
4141
App.EnvironmentVariables={"SteamAppId":"12120"}

mta-saconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@
231231
"DisplayName": "Enable HTTP Server",
232232
"Category": "Multi Theft Auto:stadia_controller",
233233
"Subcategory": "Server:dns:1",
234-
"Description": "If set, the built-in [HTTP server](https://wiki.multitheftauto.com/wiki/Server_Manual#Using_the_web_interface) will be enabled",
234+
"Description": "If set, the built-in [HTTP server](https://wiki.multitheftauto.com/wiki/Server_Manual#Using_the_web_interface) will be enabled. Note that only [administrators](https://wiki.multitheftauto.com/wiki/Server_Manual#Adding_administrators) can access the HTTP server",
235235
"Keywords": "http,server,httpserver",
236236
"FieldName": "httpserver",
237237
"InputType": "checkbox",

0 commit comments

Comments
 (0)