Jump to content

Shop and Kits not available in the Welcome Panel

Not a Bug 4.3.5

TheHackPig
TheHackPig

Posted

Since the update the kits and shop are not populated in the welcome panel. I have the welcome panel add-on installed. The sections in the welcomepanel.json look to be correct, but still nothing appears after relloading the plugin. I even tried the import command for kits, but still nothing.

Here is shop in the welcome panel config:
    {
      "Name": "             <size=13>Shop</size>",
      "Icon": "https://rustplugins.net/products/welcomepanellite/2/shop_button.png",
      "Font Size": 12,
      "Font Color": "1 1 1 1",
      "Font Outline Color": "0 0 0 1",
      "Font Outline Thickness": "0.5",
      "Font": "robotocondensed-regular.ttf",
      "Text Background Image": "",
      "Text Alignment": 0,
      "ScrollView Height": 0,
      "Text Lines": [
        [
          "This text won't be displayed because",
          "addon is assigned to this tab."
        ]
      ],
      "Addon (plugin name)": "shop"
    },
Here is kits in the welcome panel config:
    {
      "Name": "             <size=13>Kits</size>",
      "Icon": "https://rustplugins.net/products/welcomepanellite/2/kits_button.png",
      "Font Size": 12,
      "Font Color": "1 1 1 1",
      "Font Outline Color": "0 0 0 1",
      "Font Outline Thickness": "0.5",
      "Font": "robotocondensed-regular.ttf",
      "Text Background Image": "",
      "Text Alignment": 0,
      "ScrollView Height": 0,
      "Text Lines": [
        [
          "This text won't be displayed because",
          "addon is assigned to this tab."
        ]
      ],
      "Addon (plugin name)": "kits"
    },
 

Also of note, now getting this error that was not there before:
 

(16:07:08) | Failed to call hook 'OnWelcomePanelPageOpen' on plugin 'WPKits v1.3.0' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.WPKits.ShowKits (BasePlayer player, System.Int32 page) [0x001e4] in <b5f3de9ccb2546459b7df3b6893fc538>:0

at Oxide.Plugins.WPKits.OnWelcomePanelPageOpen (BasePlayer player, System.Int32 tab, System.Int32 page, System.String addon) [0x00017] in <b5f3de9ccb2546459b7df3b6893fc538>:0

at Oxide.Plugins.WPKits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0006a] in <b5f3de9ccb2546459b7df3b6893fc538>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <795304323ac74a298b8ed190a1dfa739>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0

 

 

I can type in /shop and it comes up, as well as /kits

Is there something that needs to be updated for the new version of Rust that was released? Any ideas?

David

Posted

Changed Status from Pending to Not a Bug

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.4k

Files Sold

Total number of files sold.

2m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.