Plugin not working until reloadedSolved
(22:45:06) | EnhancedHammer was compiled successfully in 2652ms
(22:45:06) | Unloaded plugin Enhanced Hammer v2.0.6 by Iv Misticos
(22:45:06) | Loaded plugin Enhanced Hammer v2.0.6 by Iv Misticos
So this is what it looks like when we reload the plugin after restart. No errors. Loads successfully. Grant permissions works fine in the F1 Console.
.JSON:
{
"Commands": [
"eh",
"hammer",
"up",
"grade",
"upgrade"
],
"Distance From Entity": 5.0,
"Allow Auto Grade": true,
"Send Downgrade Disabled Message": true,
"Cancel Default Hammer Hit Behavior": true,
"Default Preferences": {
"DisableIn": 60.0,
"AutoGrade": true
}
}
I was able to grant permissions after loading the plugin.
https://monosnap.com/file/QH9BYWsdKGrdV1Nz3DaYiVj5qv6B2n
Link shows after I reloaded it after another restart. Shows "already has permission"
Says same thing before reloading. The server restarted, I granted permission, said it already was. Reloaded plugin, granted again, same message.
Merged post
Check this out, just saw this tonight for the very first time!
Failed to call hook 'OnPlayerDisconnected' on plugin 'EnhancedHammer v2.0.6' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.EnhancedHammer+PluginData+Preference.UpdateGradeTimer () [0x00027] in <2a85203e54c04fc293b153ef2900bcf2>:0
at Oxide.Plugins.EnhancedHammer+PluginData+Preference.SetGrade (BuildingGrade+Enum grade) [0x0010e] in <2a85203e54c04fc293b153ef2900bcf2>:0
at Oxide.Plugins.EnhancedHammer.OnPlayerDisconnected (BasePlayer player) [0x0000b] in <2a85203e54c04fc293b153ef2900bcf2>:0
at Oxide.Plugins.EnhancedHammer.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002d6] in <2a85203e54c04fc293b153ef2900bcf2>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <d09a1f46ca2f4432811bcfe45ad13c7b>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <cf88a28c7fb44d36890d85a78331cc9d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <cf88a28c7fb44d36890d85a78331cc9d>:0 misticos
Do commands respond with any text after restart before reload? The hammer commands like /grade.
Hey! So I'm sorry this is from 2 years ago, but I'm still having issues! lol
https://umod.org/community/enhanced-hammer/24969-plugin-not-working-until-reloaded
Any thoughts? Thanks a million!

Pouncer012Hey! So I'm sorry this is from 2 years ago, but I'm still having issues! lol
https://umod.org/community/enhanced-hammer/24969-plugin-not-working-until-reloaded
Any thoughts? Thanks a million!
Anyone else having this issue? I'm getting this red error code stuff in console when people are using Enhanced Hammer, or when people disconnect from the server. Still trying to get support on this for a good plugin! :)
im also having the same issue. plugin has to be reloaded to work. commands respond but the features dont such as swinging the hammer, placeing with grade selected. plugin is up to date and i get the same error as above when ever i or someone else trys to do anything.