Kits: Can't use kits from console

  • Describe your problem (simple and short): When I try to use the comand "kits" in console returns 3 hook errors.
  • Plugin version: Kits v1.2.12
  • Oxide Log (if its needed)
Code:
02/10 22:41:14 | Failed to call hook 'API_GetPlayerUIKits' on plugin 'Kits v1.2.12' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Kits.GetPlayerKitsForUI (BasePlayer player) [0x00033] in <09b52e1a7f0046f6815a66cbe168cf9f>:0
at Oxide.Plugins.Kits.API_GetPlayerUIKits (BasePlayer player) [0x00000] in <09b52e1a7f0046f6815a66cbe168cf9f>:0
at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x01009] in <09b52e1a7f0046f6815a66cbe168cf9f>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <dfcb48ea05694263bbc08e62a39c274c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <dfcb48ea05694263bbc08e62a39c274c>:0

02/10 22:41:14 | Failed to call hook 'CanSeeKits' on plugin 'KitsGraphical1 v1.2.5' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.KitsGraphical1.CreateKitsUI (BasePlayer player, System.Int32 currentPage) [0x0008f] in <09b52e1a7f0046f6815a66cbe168cf9f>:0
at Oxide.Plugins.KitsGraphical1.CanSeeKits (BasePlayer player) [0x00000] in <09b52e1a7f0046f6815a66cbe168cf9f>:0
at Oxide.Plugins.KitsGraphical1.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00132] in <09b52e1a7f0046f6815a66cbe168cf9f>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <dfcb48ea05694263bbc08e62a39c274c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <dfcb48ea05694263bbc08e62a39c274c>:0

02/10 22:41:14 | Failed to call hook 'cmdControlConsole' on plugin 'Kits v1.2.12' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.Kits.GetAvailableKits (BasePlayer player) [0x0005d] in <09b52e1a7f0046f6815a66cbe168cf9f>:0
at Oxide.Plugins.Kits.SendKitsInChat (BasePlayer player) [0x00006] in <09b52e1a7f0046f6815a66cbe168cf9f>:0
at Oxide.Plugins.Kits.SendKits (BasePlayer player) [0x0002d] in <09b52e1a7f0046f6815a66cbe168cf9f>:0
at Oxide.Plugins.Kits.cmdControlChat (BasePlayer player, System.String command, System.String[] args) [0x00190] in <09b52e1a7f0046f6815a66cbe168cf9f>:0
at Oxide.Plugins.Kits.cmdControlConsole (ConsoleSystem+Arg arg) [0x00196] in <09b52e1a7f0046f6815a66cbe168cf9f>:0
at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00200] in <09b52e1a7f0046f6815a66cbe168cf9f>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <dfcb48ea05694263bbc08e62a39c274c>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <dfcb48ea05694263bbc08e62a39c274c>:0
 

Orange

Administrator
I was trying to put "kits" directly in server console to see the commands available from console. I'm using rustadmin online to manage de servers.
You can't use that command from server console. If you want to use it from server console you can take a look on commands list on plugin page (like kits.give)
 
You can't use that command from server console. If you want to use it from server console you can take a look on commands list on plugin page (like kits.give)
Okay, I'm sorry the. I thought it could be used to see the commands available from the server console.
 
Top