Solved Usergroup unknown command

Discussion in 'Rust Discussion' started by Vliek [NL], Jun 5, 2016.

  1. Hi there, I can't add users to a group or remove users from a group, it says "Unknown command" when Oxide is installed. Also in my output log I found this: (it is also spammed when I try the /chat command for betterchat to remove/add players from/to a rank)

    Code:
    [Oxide] 22:25 [Error] Failed to initialize plugin 'RustCore v1.0.0' (JsonReaderException: Additional text encountered after finished reading JSON content: t. Path '', line 35, position 2.)(Filename: C:/buildslave/unity/build/artifacts/generated/common/runtime/UnityEngineDebugBindings.gen.cpp Line: 37)[Oxide] 22:25 [Debug]   at Newtonsoft.Json.JsonTextReader.ReadInternal () [0x00000] in <filename unknown>:0 
      at Newtonsoft.Json.JsonTextReader.Read () [0x00000] in <filename unknown>:0 
      at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, Boolean checkAdditionalContent) [0x00000] in <filename unknown>:0 
    
     
  2. Wulf

    Wulf Community Admin

    Did you edit your oxide.root.json file? It appears to be corrupt.
     
  3. Thanks for responding quickly! I never touched that file:
    Code:
    {
        "ExtensionDirectory": "RustDedicated_Data\\Managed",    "PluginDirectory": "plugins",
        "ConfigDirectory": "config",
        "DataDirectory": "data",
        "LangDirectory": "lang",
        "LogDirectory": "logs",    "InstanceCommandLines":
        [
            "{oxide.directory}",
            "server\\{server.identity}\\oxide",
            "server\\my_server_identity\\oxide"
        ]
    }
    
     
  4. Wulf

    Wulf Community Admin

    Did you edit the the RustCore.json or Rust.json file under oxide/lang?
     
  5. I never edited the file but there was something wrong with it :)

    The last line:
    Code:
      "YouAreNotAdmin": "You are not an admin"
    }tAdmin": "You are not an admin"
    }
    Do I have to restart my server once I removed the }tAdmin": "You are not an admin" line?
    [DOUBLEPOST=1465163132][/DOUBLEPOST]Thanks!
     
  6. Might be best to delete the file in your lang folder restart so it can make a new one
     
  7. Last edited by a moderator: Jun 5, 2016
  8. where is oxide.root file ?
     
  9. Wulf

    Wulf Community Admin

    What is oxide.root?
     
  10. oxide.root.json i don't have oxide.root.json

    my server unkown usergroup, reload,load command not working
     
  11. Wulf

    Wulf Community Admin

    Check the announcements section for the commands.

    The config file is oxide.config.json
     
  12. ok thanks