Jump to content

WelcomePanel Error

Not a Bug 3.0.7

MxWaRLorD
MxWaRLorD

Posted

Failed to call hook on player connected? Please advise... Ty!

image.png

David

Posted

It can be two things, you didnt setup your template or you made some mistake in config file. Cant help you more without seeing those two files.

  • Like 1
David

Posted

Changed Status from Pending to Not a Bug

BippyMiester

Posted

I'm also getting this error as well. Specifically this is what the error is in console:

(08:11:24) | Failed to call hook 'OnPlayerConnected' on plugin 'WelcomePanel v3.0.7' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.WelcomePanel.OnPlayerConnected (BasePlayer player) [0x00032] in <e7d4d00f6088428481848eb36383ed18>:0 
  at Oxide.Plugins.WelcomePanel.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00453] in <e7d4d00f6088428481848eb36383ed18>: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 <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

I think this was cause by me trying to import the config files while the plugin was still loaded...

@MxWaRLorDI would suggest that you zip up the following files (as a backup), delete the files, load the plugin, choose your template, then unload your plugin (including any addons such as WPVipRanks, etc.), and grab those files out of the ZIP folder, and throw them back into your server files. Then reload your WelcomePanel and it SHOULD work out just fine.

config/WelcomePanel.json

config/WPAddons.json (zip up all of them if you have them all installed. I only have the WPVipRanks.json installed)

data/WelcomePanel/*.json

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.5k

Files Sold

Total number of files sold.

2.1m

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.