NullReferenceException at IsOnCooldown/ResetCooldownsSolved
I have two servers up atm, it works on server #1 as I have not updated it to the latest version, however my server #2 with latest update get tons of red error text "Failed to call to hook" etc everytime I try to use a command.
Could you provide the full error please? This plugin is universal and wouldn't be affected by any recent Oxide or game updates.

I get this

16d1fd651ebaaa5879a7ca371b864a91.png



Merged post

I have copied over the .cs and .json from server #1 over to my other server, so the plugin and settings are identical. so nothing that I have fucked up in the config, atleast it shouldnt.
Looks like an error due to data settings with the plugin related to cool down per player. So likely something corrupt with your oxide/data for the plugin.

Hmm odd, as I have tried to reset the data before by deleting the .json in /data before you replied. It's only generating a .json with NULL in it, while the working server has (look below)

{
"Cooldowns": {},
"MaxUses": {}
}

I also did the " ccc.resetcooldowns " command in console and recieved this.6a695128a240c20bd4ffb176d9d89204.png



Merged post

Same goes when I do
ccc.resetmaxuses

But then it shows resetmaxuses instead of CCCResetCooldowns error in the console. no matter what command I do I get error.

 

EDIT: I tried deleting all the configs and data and reloaded the plugin making everything fresh, still errors :/

If you just cleared the file and didn't actually delete the .json, that would likely be why you see the above error. The data file can only be deleted while the plugin is unloaded or server is shutdown as well.
I got it working now, thanks for the help and quick reponse. It was the data and I deleted the data now while server was offline and it works flawless now.
I have fat fingers.
Cheers!
Locked automatically