FormatException at GetLangNot An Issue
Failed to call hook 'OnUserRespawn' on plugin 'MoneyTime v2.0.1' (FormatException: Input string was not in a correct format.)
at System.Text.StringBuilder.AppendFormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x000ae] in <437ba245d8404784b9fbab9b439ac908>:0
at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x00023] in <437ba245d8404784b9fbab9b439ac908>:0
at System.String.Format (System.String format, System.Object[] args) [0x00020] in <437ba245d8404784b9fbab9b439ac908>:0
at Oxide.Plugins.MoneyTime.GetLang (System.String langKey, System.String playerId, System.Object[] args) [0x0000e] in <a1d4941a453844a48a71a5053708a441>:0
at Oxide.Plugins.MoneyTime.OnUserRespawn (Oxide.Core.Libraries.Covalence.IPlayer player) [0x000c8] in <a1d4941a453844a48a71a5053708a441>:0
at Oxide.Plugins.MoneyTime.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00229] in <a1d4941a453844a48a71a5053708a441>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <3e46d2a997e94a3cb08cf065508cd483>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <1fe782f4b27a43ae85d29ebb2d56c007>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <1fe782f4b27a43ae85d29ebb2d56c007>:0
Could you provide me with your oxide/lang MoneyTime.json please?
{
  "ReceivedForPlaying": "Recibiste <color=#45b572>$$payout.amount pesos</color> por estar jugando en <color=#ff6303>Nestoria Gaming</color>!",
  "ReceivedForTimeAlive": "Recibiste <color=#45b572>$$payout.amount pesos</color> por sobrevivir en <color=#ff6303>Nestoria Gaming</color> durante {time}!",
  "ReceivedWelcomeBonus": "Recibiste <color=#45b572>$$payout.amount pesos</color> como bienvenida a <color=#ff6303>Nestoria Gaming</color>!",
}
The {time} needs to be replaced with $time.alive.
Thanks for the help
Failed to run a 60.00 timer in 'MoneyTime v2.0.1' (FormatException: Input string was not in a correct format.)
at System.Text.StringBuilder.AppendFormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x000ae] in <437ba245d8404784b9fbab9b439ac908>:0
at System.String.FormatHelper (System.IFormatProvider provider, System.String format, System.ParamsArray args) [0x00023] in <437ba245d8404784b9fbab9b439ac908>:0
at System.String.Format (System.String format, System.Object[] args) [0x00020] in <437ba245d8404784b9fbab9b439ac908>:0
at Oxide.Plugins.MoneyTime.GetLang (System.String langKey, System.String playerId, System.Object[] args) [0x0000e] in <acdfa405ebc444a7b362d608afce6a20>:0
at Oxide.Plugins.MoneyTime+<OnServerInitialized>c__AnonStorey0.<>m__0 () [0x00033] in <acdfa405ebc444a7b362d608afce6a20>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <1fe782f4b27a43ae85d29ebb2d56c007>:0
Please check your oxide/lang for invalid placeholders.
5e13a8d5b2bc5.jpg Wulf
Please check your oxide/lang for invalid placeholders.
you mean deleting the old lang config?
Tino
you mean deleting the old lang config?

It didn't have one before the update today, but customizations would need to follow the default.

5e13a8d5b2bc5.jpg Wulf

It didn't have one before the update today, but customizations would need to follow the default.

sy my fail its done !it works fine. thx

Locked automatically