ERR Failed to call hook 'OnPlaceholderAPIReady' on plugin 'DiscordServerStats v2.1.0'
2022-05-17T13:03:04 249.360 ERR Failed to call hook 'OnPlaceholderAPIReady' on plugin 'DiscordServerStats v2.1.0' (FormatException: Input string was not in a correct format.)
at System.Globalization.TimeSpanFormat.FormatCustomized (System.TimeSpan value, System.String format, System.Globalization.DateTimeFormatInfo dtfi) [0x00357] in <695d1cc93cca45069c528c15c9fdd749>:0

at System.Globalization.TimeSpanFormat.Format (System.TimeSpan value, System.String format, System.IFormatProvider formatProvider) [0x00096] in <695d1cc93cca45069c528c15c9fdd749>:0

at System.TimeSpan.ToString (System.String format, System.IFormatProvider formatProvider) [0x00015] in <695d1cc93cca45069c528c15c9fdd749>:0

at Oxide.Plugins.PlaceholderAPI+Placeholder.Format (System.Object value, System.String format, System.String option) [0x000d5] in <e2f9d45a02ba42beb89522b978a5ea1a>:0

at Oxide.Plugins.PlaceholderAPI+Placeholder.Run (Oxide.Core.Libraries.Covalence.IPlayer player, System.Text.StringBuilder builder, System.Boolean ignoreCache) [0x00123] in <e2f9d45a02ba42beb89522b978a5ea1a>:0

at Oxide.Plugins.PlaceholderAPI.ProcessPlaceholders (Oxide.Core.Libraries.Covalence.IPlayer player, System.Text.StringBuilder builder, System.Boolean ignoreCache) [0x00012] in <e2f9d45a02ba42beb89522b978a5ea1a>:0

at Oxide.Plugins.DiscordServerStats.ParseField (System.String field) [0x00023] in <e2f9d45a02ba42beb89522b978a5ea1a>:0

at Oxide.Plugins.DiscordServerStats.ParseMessage (Oxide.Plugins.DiscordServerStats+DiscordMessageConfig config) [0x001b6] in <e2f9d45a02ba42beb89522b978a5ea1a>:0

at Oxide.Plugins.DiscordServerStats+MessageHandler.SendUpdateMessage () [0x00027] in <e2f9d45a02ba42beb89522b978a5ea1a>:0

at Oxide.Plugins.DiscordServerStats+MessageHandler..ctor (Oxide.Plugins.DiscordServerStats+MessageConfig config) [0x00054] in <e2f9d45a02ba42beb89522b978a5ea1a>:0

at Oxide.Plugins.DiscordServerStats.SetupMessaging () [0x00086] in <e2f9d45a02ba42beb89522b978a5ea1a>:0

at Oxide.Plugins.DiscordServerStats.OnPlaceholderAPIReady () [0x00070] in <e2f9d45a02ba42beb89522b978a5ea1a>:0

at Oxide.Plugins.DiscordServerStats.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002c5] in <e2f9d45a02ba42beb89522b978a5ea1a>:0

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

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

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

Looks like one of your time formats was invalid. see your config

Qble9YPyseIOkyH.png misticos

Looks like one of your time formats was invalid. see your config

Only before updating oxide it worked, I got a message from oxide that plugins need to be updated



Merged post

https://imgur.com/7yV3E9L
Qble9YPyseIOkyH.png misticos

Looks like one of your time formats was invalid. see your config

I looked into this. The IServer interface changed recently so IServer.Time used to be a DateTime and is now a Timespan. You would need to update this plugin to support the changes in the IServer interface.

MJSU

I looked into this. The IServer interface changed recently so IServer.Time used to be a DateTime and is now a Timespan. You would need to update this plugin to support the changes in the IServer interface.

Hasn't been uodated for other games yet outside of develop branch for Rust, so would need to be in a branch else conditionals used.