So I changed the name in the config file
{
"Give default items upon respawn if the players is having items restored": false,
"Can drop active item on death": false,
"Percentage of total items lost (Permission Name | Percentage (0 - 100))": {
"restoreupondeath.default": {
"Belt": 75,
"Wear": 75,
"Main": 75
},
"restoreupondeath.beltonly": {
"Belt": 100,
"Wear": 0,
"Main": 0
},
"restoreupondeath.admin": {
"Belt": 0,
"Wear": 0,
"Main": 0
}
},
"Version": {
"Major": 0,
"Minor": 3,
"Patch": 0
}
}
and I got this what am I doing wrong ?
Unloaded plugin RestoreUponDeath v0.3.1 by k1lly0u
(16:39:56) | Failed to call hook 'OnServerInitialized' on plugin 'RestoreUponDeath v0.3.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.RestoreUponDeath.OnServerInitialized () [0x0004c] in <e6a37797c94f49da92c043129a6d9458>:0
at Oxide.Plugins.RestoreUponDeath.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00100] in <e6a37797c94f49da92c043129a6d9458>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <efb9a8684e344ecfa065c7b416e6d2fd>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <b0a93b504f034a0db8b1c3d2503c0987>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <b0a93b504f034a0db8b1c3d2503c0987>:0
(16:39:56) | Loaded plugin RestoreUponDeath v0.3.1 by k1lly0u