Plugins Not Loading

Discussion in 'Rust Discussion' started by mike 7, Dec 2, 2017.

  1. I'm reviving an old rust server. I've updated it through steamcmd, downloaded and installed the latest version of oxide, and all my plugins. When I started it up oxide loaded fine, but I got some errors saying lua, javascript and python weren't being loaded, so I downloaded the files from here, here and here to fix. Now I'm getting the following error and plugins are still failing to load.

    Code:
    21:04 [Info] Loading Oxide Core v2.0.3747...
    21:04 [Info] Loading extensions...
    21:04 [Info] Latest compiler MD5: 5fbca0bf39b1c09ddf2fb3686b869242
    21:04 [Info] Local compiler MD5: 5fbca0bf39b1c09ddf2fb3686b869242
    21:04 [Info] Loaded extension CSharp v2.0.3749 by Oxide and Contributors
    21:04 [Info] Loaded extension JavaScript v2.0.3750 by Oxide and Contributors
    21:04 [Info] Loaded extension Lua v2.0.3750 by Oxide and Contributors
    21:04 [Info] Loaded extension MySql v2.0.3747 by Oxide and Contributors
    21:04 [Info] Loaded extension Python v2.0.3752 by Oxide and Contributors
    21:04 [Info] Loaded extension Rust v2.0.3767 by Oxide and Contributors
    21:04 [Info] Loaded extension SQLite v2.0.3749 by Oxide and Contributors
    21:04 [Info] Loaded extension Unity v2.0.3745 by Oxide and Contributors
    21:04 [Error] Failed OnModLoad extension JavaScript v2.0.3750 (ArgumentNullException: Argument cannot be null.
    Parameter name: stream)
    21:04 [Stacktrace]   at System.IO.StreamReader.Initialize (System.IO.Stream stream, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0
      at System.IO.StreamReader..ctor (System.IO.Stream stream, System.Text.Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize) [0x00000] in <filename unknown>:0
      at System.IO.StreamReader..ctor (System.IO.Stream stream) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.StreamReader:.ctor (System.IO.Stream)
      at Oxide.Core.JavaScript.Plugins.CoffeeScriptPluginLoader..ctor (Jint.Engine engine) [0x00000] in <filename unknown>:0
      at Oxide.Core.JavaScript.JavaScriptExtension.OnModLoad () [0x00000] in <filename unknown>:0
      at Oxide.Core.Extensions.ExtensionManager.LoadAllExtensions (System.String directory) [0x00000] in <filename unknown>:0
    21:04 [Info] Using Covalence provider for game 'Rust'
    21:04 [Info] Loading plugins...
    21:04 [Info] Loaded plugin Rust v2.0.3767 by Oxide and Contributors
    21:04 [Info] Loaded plugin Unity v2.0.3745 by Oxide and Contributors
    Any idea what's going on, and how I can get the addons to load?
     
  2. Wulf

    Wulf Community Admin

    Unless you are using .lua, .py, and .js plugins, you don’t need those extensions so updating them wouldn’t have solved your issue. Your issue sounds like you are putting the plugins in the wrong location.
     
  3. Yeah I just found this thread, I didn't realise you changed where the oxide directory was located D: Is this documented anywhere?
     
  4. Wulf

    Wulf Community Admin

    The default location is right in your main server directory in the oxide folder, and it would be there unless changed.
     
  5. Ah okay, just a lot of the tutorials (probably a bit outdated) show to put it in server/instance/oxide/plugins

    Cheers for pointing that out though.
     
  6. Wulf

    Wulf Community Admin

    That would only be the case from early May 2017 and earlier, but that is still the default location with many hosts where they set +oxide.directory to there.