Not an Issue Plugin JSON keeps changing

Discussion in 'Rust Discussion' started by EnvyTheNoob, Jan 17, 2015.

  1. My JSON file gets rewritten when I run the plugin. This does not just happen with the auto broadcaster plugin. For Example from
    Code:
    {
      "ChatName": "Info",
      "Messages": {
        "Message3": "This is an example global broadcast",
        "Message2": "New plugins are added all the time. type /help for info",
        "Message1": "Please do not grief other players"
      },
      "BroadCastInterval": 600
    }
    To This
    Code:
    {
      "ChatName": "Info",
      "Messages": {
        "Message3": "This is an example global broadcast",
        "Message2": "New plugins are added all the time. type /help for info,
        "Message1": "Please do not grief other players"
      },
      "BroadCastInterval": 600
    }CastInterval": 600
    }
     
    Last edited by a moderator: Jan 17, 2015
  2. Wulf

    Wulf Community Admin

    The second example isn't valid JSON, so I doubt the plugin is writing that. If you are using a host, I'd suggest looking into if they add config files.
     
  3. What do you mean. I'm saying that once I save the correct JSON writing using a JSON validator and successful replace the incorrect coding and run the server it get rewritten. My hosting has config files because that how I got that coding.
     
  4. Wulf

    Wulf Community Admin

    There is no way the plugin nor Oxide is writing the second example you gave. I reviewed the plugin, and it generates a valid config. If there was an error in the generating of the .json file, the config file wouldn't be created at all by the plugin nor Oxide. The only way you'd have that, is if your host or you are replacing it. To me, it looks like someone typoed the config or tried adding it manually.