1. These forums are being retired. Please ask all questions and help threads and any other type of discussions on GitHub. During this time, new threads and user registrations have been disabled.

"Creative Mode" Server API initialization exception.

Discussion in 'Help and Support' started by BluElephantz, Nov 29, 2019.

  1. BluElephantz

    BluElephantz Level 0

    Joined:
    Nov 29, 2019
    Messages:
    1
    Hi! Recently just made a server and added the Creative Mode plugin. Unfortunately there is an error during startup.

    Code:
    [11/29/19 09:41:35] [Server API] Verbose: TerrariaApi - Server v2.1.0.0 started.
    [11/29/19 09:41:35] [Server API] Verbose:     Command line: "C:\Users\Anthony Ignacio\Downloads\tshock_4.3.26\TerrariaServer.exe"
    [11/29/19 09:41:35] [Server API] Verbose:     OS: Microsoft Windows NT 6.2.9200.0 (64bit: True)
    [11/29/19 09:41:35] [Server API] Verbose:     Mono: False
    [11/29/19 09:41:35] [Server API] Info: Plugin TShock v4.3.26.0 (by The TShock Team) initiated.
    [11/29/19 09:41:35] [Server API] Error: Startup aborted due to an exception in the Server API initialization:
    System.InvalidOperationException: Plugin "Creative Mode" has thrown an exception during initialization. ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
       at CreativeMode.Config.ReadConfig()
       at CreativeMode.CreativeMode.Initialize()
       at TerrariaApi.Server.ServerApi.LoadPlugins()
       --- End of inner exception stack trace ---
       at TerrariaApi.Server.ServerApi.LoadPlugins()
       at TerrariaApi.Server.ServerApi.Initialize(String[] commandLineArgs, Main game)
       at TerrariaApi.Server.HookManager.InitialiseAPI()
    
    Any and all help will be greatly appreciated. Thanks!