Sven Co-Op: Add maxplayers (#293)

* Sven Co-Op: Add maxplayers, borrow credit

* Update sven-co-opconfig.json

* Update sven-co-opmetaconfig.json

* Update sven-co-opconfig.json

---------

Co-authored-by: Greelan <53196309+Greelan@users.noreply.github.com>
This commit is contained in:
clay 2023-03-25 11:42:19 -04:00 committed by GitHub
parent b8497bfb9b
commit 827dee2570
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 2 deletions

View File

@ -24,7 +24,7 @@ Console.ThrowawayMessageRegex=
Console.UserChatRegex=^"(?<username>.+?)<.*" say "(?<message>.+)"$
Console.UserJoinRegex=^"(?<username>.+?)<.*(entered|connected)$
Console.UserLeaveRegex=^"(?<username>.+?)<.*disconnected$
Meta.Author=IceOfWraith
Meta.Author=IceOfWraith, UVClay
Meta.ConfigManifest=sven-co-opconfig.json
Meta.MetaConfigManifest=sven-co-opmetaconfig.json
Meta.ConfigRoot=sven-co-op.kvp

View File

@ -12,6 +12,22 @@
"DefaultValue": "AMP Powered Sven Server",
"EnumValues": {}
},
{
"DisplayName": "Max Players",
"Category": "Server Settings",
"Description": "maxplayers",
"Keywords": "maxplayers,limit",
"FieldName": "$MaxUsers",
"InputType": "number",
"MinValue": "2",
"MaxValue": "32",
"IsFlagArgument": false,
"ParamFieldName": "maxplayers",
"IncludeInCommandLine": true,
"DefaultValue": "12",
"Suffix": "players",
"EnumValues": {}
},
{
"DisplayName": "Map",
"Category": "Server Settings",
@ -1882,4 +1898,4 @@
"DefaultValue": "20",
"EnumValues": {}
}
]
]

View File

@ -10,6 +10,7 @@
"hostname": "hostname",
"log": "log",
"rcon_password": "$RemoteAdminPassword",
"maxplayers": "$MaxUsers",
"servercfgfile": "servercfgfile",
"lservercfgfile": "lservercfgfile",
"mapvotecfgfile": "mapvotecfgfile",