Plugin no longer working on my server.Solved

Is anyone else having any issues? I am getting this in the console when I try to load it: 

07/09 13:42:59 | Failed to call hook 'OnServerInitialized' on plugin 'DangerousTreasures v2.3.5' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.DangerousTreasures.LoadData () [0x00025] in <43d5353354dd44ef8c48f0882a17c577>:0
at Oxide.Plugins.DangerousTreasures.OnServerInitialized (System.Boolean isStartup) [0x00000] in <43d5353354dd44ef8c48f0882a17c577>:0
at Oxide.Plugins.DangerousTreasures.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0049c] in <43d5353354dd44ef8c48f0882a17c577>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <23ba99f131254889867c71f0bd137b1d>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <157a94ee66ab4a7991faecd1eb84be3b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <157a94ee66ab4a7991faecd1eb84be3b>:0

upload the datafile somewhere and link me it via DM

So I went to look at the data file and it is corrupt somehow. The UI for my Dedicated server host won't even display the file and when I open it in VScode, it will only open as text file that displays a red "null" character. 

Can I just delete this data file and reload to the plugin to create a new one?

Merged post

Update: I deleted the data file and reloaded the plugin and it seem like it fixed everything. Not sure how the file got currupted but it was a solid learning opportunity.

well that's unfortunate.

no json file had one now its gone tried reloading stillnot there

reloading does not save the data file

the data file isn't saved until the plugin has some data to save and then it's saved immediately

im new so what do i do to fix it? commands don't work

if it says unknown command then its not installed or you're using the wrong command. commands are /dtd and /dtevent

ok thx its working now:)

Locked automatically