ArgumentOutOfRangeException when using server.TimeFixed
2022-05-05T22:19:59 296.053 ERR Failed to call hook 'OnPlaceholderAPIReady' on plugin 'DiscordServerStats v2.1.0' (ArgumentOutOfRangeException: Year, Month, and Day parameters describe an un-representable DateTime.)
at System.DateTime.DateToTicks (System.Int32 year, System.Int32 month, System.Int32 day) [0x00077] in <695d1cc93cca45069c528c15c9fdd749>:0

at System.DateTime..ctor (System.Int32 year, System.Int32 month, System.Int32 day, System.Int32 hour, System.Int32 minute, System.Int32 second) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0

at Oxide.Game.SevenDays.SevenDaysServer.get_Time () [0x0003d] in <ca9f9680ac7846be9d1ecd2f3ee214bc>:0

at Oxide.Plugins.PlaceholderAPI.<RegisterInbuiltPlaceholders>m__13 (Oxide.Core.Libraries.Covalence.IPlayer p, System.String o) [0x00000] in <406533be550e415881f42c60a284927f>:0

at Oxide.Plugins.PlaceholderAPI+Placeholder.Evaluate (System.Int64 timestamp, Oxide.Core.Libraries.Covalence.IPlayer player, System.String option, System.Boolean ignoreCache) [0x00096] in <406533be550e415881f42c60a284927f>:0

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

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

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

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

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

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

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

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

at Oxide.Plugins.DiscordServerStats.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x002c5] in <406533be550e415881f42c60a284927f>: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 <50629aa0e75d4126b345d8d9d64da28d>:0

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

This is actually an issue with Oxide, not the plugin. I'm looking into it.

We wrote on discord at that time 😂 Thanks for your help <3

for the time being remove any kind of date/time from your DiscordServerStats ocnfiguration

Locked automatically