So have been trying to install TShock on my Ubuntu 14.04 Server and when I launch the server it outputs this and crashes:
[Server API] Error Startup aborted due to an exception in the Server API initial ization: System.InvalidOperationException: Plugin "TShock" has thrown an exception during initialization. ---> System.Exception: Fatal TShock initialization exception. S ee inner exception for details. ---> System.NullReferenceException: Object refer ence not set to an instance of an object at TShockAPI.TShock.OnConfigRead (TShockAPI.ConfigFile file) [0x00000] in <fil ename unknown>:0 at TShockAPI.ConfigFile.Read (System.IO.Stream stream) [0x00000] in <filename unknown>:0 at TShockAPI.ConfigFile.Read (System.String path) [0x00000] in <filename unkno wn>:0 at TShockAPI.FileTools.SetupConfig () [0x00000] in <filename unknown>:0 at TShockAPI.TShock.Initialize () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at TShockAPI.TShock.Initialize () [0x00000] in <filename unknown>:0 at TerrariaApi.Server.PluginContainer.Initialize () [0x00000] in <filename unk nown>:0 at TerrariaApi.Server.ServerApi.LoadPlugins () [0x00000] in <filename unknown> :0 --- End of inner exception stack trace --- at TerrariaApi.Server.ServerApi.LoadPlugins () [0x00000] in <filename unknown> :0 at TerrariaApi.Server.ServerApi.Initialize (System.String[] commandLineArgs, T erraria.Main game) [0x00000] in <filename unknown>:0 at Terraria.ProgramServer.InnerStart (System.String[] args) [0x00000] in <file name unknown>:0
I fixed this myself by simply deleting the old config file (it was empty) so the server generated a new one. Sorry!
So have been trying to install TShock on my Ubuntu 14.04 Server and when I launch the server it outputs this and crashes:
[Server API] Error Startup aborted due to an exception in the Server API initial ization: System.InvalidOperationException: Plugin "TShock" has thrown an exception during initialization. ---> System.Exception: Fatal TShock initialization exception. S ee inner exception for details. ---> System.NullReferenceException: Object refer ence not set to an instance of an object at TShockAPI.TShock.OnConfigRead (TShockAPI.ConfigFile file) [0x00000] in <fil ename unknown>:0 at TShockAPI.ConfigFile.Read (System.IO.Stream stream) [0x00000] in <filename unknown>:0 at TShockAPI.ConfigFile.Read (System.String path) [0x00000] in <filename unkno wn>:0 at TShockAPI.FileTools.SetupConfig () [0x00000] in <filename unknown>:0 at TShockAPI.TShock.Initialize () [0x00000] in <filename unknown>:0 --- End of inner exception stack trace --- at TShockAPI.TShock.Initialize () [0x00000] in <filename unknown>:0 at TerrariaApi.Server.PluginContainer.Initialize () [0x00000] in <filename unk nown>:0 at TerrariaApi.Server.ServerApi.LoadPlugins () [0x00000] in <filename unknown> :0 --- End of inner exception stack trace --- at TerrariaApi.Server.ServerApi.LoadPlugins () [0x00000] in <filename unknown> :0 at TerrariaApi.Server.ServerApi.Initialize (System.String[] commandLineArgs, T erraria.Main game) [0x00000] in <filename unknown>:0 at Terraria.ProgramServer.InnerStart (System.String[] args) [0x00000] in <file name unknown>:0
I fixed this myself by simply deleting the old config file (it was empty) so the server generated a new one. Sorry!