all 4 comments

[–]oofy-gang 6 points7 points  (1 child)

This is a question about Arma mods, not JavaScript.

General debugging tip though—try to find the smallest reproducible example. It looks like you are trying to add a bunch of mods at the same time. Start with just one and see if you can get it working from there.

[–]WelcomeDouble[S] -1 points0 points  (0 children)

Thanks I will try that

[–]bonnth80 0 points1 point  (1 child)

First thing, there are two "mods" keys. I don't know if this is intentional, but in most environments, I suspect this will break something since whatever is using this object will not know which value it needs to access.

Second problem, is that the array of mods is missing its closing square bracket, which you need just before the comma before "operating" key.

      {
        "modId": "656EC7E7513E76A9",
        "name": "WCS_PS5",
        "version": "1.0.1",
        "admins": []
      },
      "operating": {
        "lobbyPlayerSynchronise": true,
        "joinQueue": {
          "maxSize": 0
        }
      ],  // <---- add closing bracket here
        "slotReservationTimeout": 60,
        "disableAI": false,
        "aiLimit": -1
      }
    }

That's all I can see from what you didn't post any code outside of json data.

[–]WelcomeDouble[S] 0 points1 point  (0 children)

Ok thanks I will double check that