Error i get when loading mod HeliControlSolved

I get this error on rcon when loading HeliControl. And the heli is not working correctly in rust. Cant killnaplalm, and have it set to drop 10 crates, but it only spawns 4. Any ideas on how to fix? I have checked permissions. 

HeliControl was compiled successfully in 3406ms

Failed to call hook 'OnServerInitialized' on plugin 'HeliControl v1.4.0' (JsonReaderException: Invalid character after parsing property name. Expected ':' but got: M. Path 'WeaponList['M39 Rifle']', line 13, position 6.) at Newtonsoft.Json.JsonTextReader.ParseProperty () [0x00116] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.JsonTextReader.ParseObject () [0x000d8] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.JsonTextReader.Read () [0x00053] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary (System.Collections.IDictionary dictionary, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonDictionaryContract contract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, System.String id) [0x0028b] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x00316] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00061] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00267] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0015c] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) [0x0006d] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) [0x000d9] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00053] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) [0x00000] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) [0x0002d] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <2ae3f091decd4989b3c4d466e6eb5985>:0
at Oxide.Core.Configuration.DynamicConfigFile.ReadObject[T] (System.String filename) [0x00028] in :0
at Oxide.Core.DataFileSystem.ReadObject[T] (System.String name) [0x00021] in :0
at Oxide.Plugins.HeliControl.LoadWeaponData () [0x00015] in :0
at Oxide.Plugins.HeliControl.OnServerInitialized () [0x0036f] in :0
at Oxide.Plugins.HeliControl.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002e7] in :0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3606d2af539c45e4b5c61658e6a8b307>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in :0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in :0

Calling 'OnServerInitialized' on 'HeliControl v1.4.0' took 1193ms

Loaded plugin HeliControl v1.4.0 by Shady

Calling 'OnEntityKill' on 'HeliControl v1.4.0' took average 1195ms

It sounds like one of your data files is incorrect. You should run the HeliControlData.json file through something like jsonlint.com and try to correct the issue — it's not a problem with the plugin itself. :)

Thank you!

Merged post

you are correct. data file HeliControlWeapons.json  had this.
("M39 Rifle": 1.0,
""
MP5A4 ": 1.0,
"Waterpipe Shotgun": 1.0, )
So I deleted the extra " and works fine now. thank you!!!

Longhornfarm

Thank you!

Merged post

you are correct. data file HeliControlWeapons.json  had this.
("M39 Rifle": 1.0,
""
MP5A4 ": 1.0,
"Waterpipe Shotgun": 1.0, )
So I deleted the extra " and works fine now. thank you!!!

can you change status to solved

Locked automatically