diff --git a/sven-co-op.kvp b/sven-co-op.kvp index 1db93bf..6b4d77c 100644 --- a/sven-co-op.kvp +++ b/sven-co-op.kvp @@ -24,7 +24,7 @@ Console.ThrowawayMessageRegex= Console.UserChatRegex=^"(?.+?)<.*" say "(?.+)"$ Console.UserJoinRegex=^"(?.+?)<.*(entered|connected)$ Console.UserLeaveRegex=^"(?.+?)<.*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 diff --git a/sven-co-opconfig.json b/sven-co-opconfig.json index 84e1b85..c88f438 100644 --- a/sven-co-opconfig.json +++ b/sven-co-opconfig.json @@ -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": {} } -] \ No newline at end of file +] diff --git a/sven-co-opmetaconfig.json b/sven-co-opmetaconfig.json index 97d1458..47f6c62 100644 --- a/sven-co-opmetaconfig.json +++ b/sven-co-opmetaconfig.json @@ -10,6 +10,7 @@ "hostname": "hostname", "log": "log", "rcon_password": "$RemoteAdminPassword", + "maxplayers": "$MaxUsers", "servercfgfile": "servercfgfile", "lservercfgfile": "lservercfgfile", "mapvotecfgfile": "mapvotecfgfile",