When loading the newest version of firearm modifier and doing a new config it works fine.
After editing infinite reloading it works fine.
But when you go to edit the infinitite conditons of the firearms it starts throwing an error.
Here is the error.
Failed to call hook 'OnServerInitialized' on plugin 'FirearmModifier
v1.5.5' (ArgumentException: An item with the same key has already been
added. Key: 1103488722)
at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert
(TKey key, TValue value, System.Collections.Generic.InsertionBehavior
behavior) [0x000c1] in :0
at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in :0
at Oxide.Plugins.Hash`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <09575a60985045248bcb43b20faeeb99>:0
at Oxide.Plugins.FirearmModifier.OnServerInitialized () [0x004d3] in :0
at Oxide.Plugins.FirearmModifier.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0006a] in :0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>: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
Tried from a downloading and reuploading state , and also tried on server control panel.
I edited all the strings from infinite condition and infinite reload to true.
That is when it messed up.
Did not try in game commands , this was all through config.
P.S
Tried the current errored config in game and seems that the ammo works but condition does not.
P.S.S
This also throws off permsissions, so only admin shows up and other permissions do not.